Update dev.py

This commit is contained in:
Yasir Aris M 2024-07-23 23:15:40 +07:00 committed by GitHub
parent a84ba48dfe
commit c9890b63e3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -540,6 +540,10 @@ async def update_restart(_, ctx: Message, strings):
os.execvp(sys.executable, [sys.executable, "-m", "misskaty"])
@app.on_poll(filters.chat(-1001777794636))
async def tespoll(self, msg):
await ctx.reply(msg)
@app.on_raw_update(group=-99)
async def updtebot(client, update, users, _):
if isinstance(update, UpdateBotStopped):