- Create folders named
plugins, addons, assistant and resources.
- Add your plugins in the
plugins folder and others accordingly.
- Create a
.env file with following mandatory Environment Variables
API_ID
API_HASH
SESSION
REDIS_URI
REDIS_PASSWORD
- Check
.env.sample for more details.
- Run
python3 -m pyPuii to 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.")