randydev commited on
Commit
ea68132
·
verified ·
1 Parent(s): f63fe40

Update chatbot/plugins/autobanch.py

Browse files
Files changed (1) hide show
  1. chatbot/plugins/autobanch.py +1 -1
chatbot/plugins/autobanch.py CHANGED
@@ -73,7 +73,7 @@ async def left_ch(client: Client, message: Message):
73
  [
74
  InlineKeyboardButton(
75
  text="⚠️ Unban",
76
- callback_data=f"unbanch_{user_id}"
77
  )
78
  ]
79
  ]
 
73
  [
74
  InlineKeyboardButton(
75
  text="⚠️ Unban",
76
+ callback_data=f"unbanch_{message.from_user.id}"
77
  )
78
  ]
79
  ]