mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-02 10:44:50 +00:00
Update dev.py
This commit is contained in:
parent
feb7081bb2
commit
92d0e96008
1 changed files with 1 additions and 2 deletions
|
|
@ -4,7 +4,6 @@ import os
|
|||
import re
|
||||
import sys
|
||||
import html
|
||||
import logging
|
||||
import pickle
|
||||
import json
|
||||
import traceback
|
||||
|
|
@ -301,7 +300,7 @@ async def update_restart(self: Client, ctx: Message, strings) -> "Message":
|
|||
|
||||
|
||||
@app.on_raw_update(group=-99)
|
||||
async def updtebot(client, update, users, chats)
|
||||
async def updtebot(client, update, users, chats):
|
||||
if isinstance(update, UpdateBotStopped):
|
||||
user = users[update.user_id]
|
||||
await client.send_msg(LOG_CHANNEL, f"{user.first_name} ({user.id}) " f"{'BLOCKED' if update.stopped else 'UNBLOCKED'} the bot at " f"{datetime.fromtimestamp(update.date)}")
|
||||
|
|
|
|||
Loading…
Reference in a new issue