Skip to content

Commit

Permalink
Buat debug raw update, kalo reply pesan forward channel pasti None
Browse files Browse the repository at this point in the history
Signed-off-by: Yasir Aris M <[email protected]>
  • Loading branch information
yasirarism authored Nov 6, 2023
1 parent 66d3099 commit 9de4012
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions misskaty/plugins/dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,7 @@ async def update_restart(_, ctx: Message, strings):

@app.on_raw_update(group=-99)
async def updtebot(client, update, users, _):
client.log.info(update)
if isinstance(update, UpdateBotStopped):
niuser = users[update.user_id]
if update.stopped and await db.is_user_exist(niuser.id):
Expand Down

0 comments on commit 9de4012

Please sign in to comment.