TheHamkerCat 5 năm trước cách đây
mục cha
commit
1d8c4b9ba9
1 tập tin đã thay đổi với 2 bổ sung và 1 xóa
  1. 2 1
      wbb/modules/global_stats.py

+ 2 - 1
wbb/modules/global_stats.py

@@ -40,7 +40,8 @@ async def global_stats(_, message):
     for chat in chats: served_chats.append(chat["chat_id"])
     for served_chat in served_chats:
         try: await app.get_chat_member(served_chat, BOT_ID)
-        except Exception:
+        except Exception as e:
+            print(e)
             await remove_served_chat(served_chat)
             served_chats.remove(served_chat)
             pass