mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 09:44:50 +00:00
Update dev.py
This commit is contained in:
parent
a84ba48dfe
commit
c9890b63e3
1 changed files with 4 additions and 0 deletions
|
|
@ -540,6 +540,10 @@ async def update_restart(_, ctx: Message, strings):
|
||||||
os.execvp(sys.executable, [sys.executable, "-m", "misskaty"])
|
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)
|
@app.on_raw_update(group=-99)
|
||||||
async def updtebot(client, update, users, _):
|
async def updtebot(client, update, users, _):
|
||||||
if isinstance(update, UpdateBotStopped):
|
if isinstance(update, UpdateBotStopped):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue