pip3 install -U py-Puii- Create folders named
plugins,addons,assistantandresources. - Add your plugins in the
pluginsfolder and others accordingly. - Create a
.envfile with following mandatory Environment VariablesAPI_ID API_HASH SESSION REDIS_URI REDIS_PASSWORD - Check
.env.samplefor more details. - Run
python3 -m pyPuiito start the bot.
@puii_cmd(
pattern="start"
)
async def _(e):
await e.eor("Puii Started!") @puii_cmd(
pattern="start",
groups_only=True,
)
async def _(e):
await eor(e, "Puii Started.") @asst_cmd("start")
async def _(e):
await e.reply("Puii Started.")