=> Create folders named plugins, addons, assistant and resources.
=> Add your plugins in the plugins folder and others accordingly.
=> Create a .env file with API_ID, API_HASH, SESSION,
BOT_TOKEN, BOT_USERNAME as mandatory environment variables. Check
.env.sample for more details.
=> Run python -m Extre to start the bot.
To work everywhere
@Andencento.on(
pattern="start",
)
async def _(e):
await eor(e, "Andencento Started") To work only in groups
@Andencento.on(
pattern="start",
groups_only=True,
)
async def _(e):
await eor(e, "Andencento Started") Assistant Plugins 👇
@asstcmd.on("start")
async def _(e):
await e.reply("Assistant Started")