mirror of
https://github.com/Nick80835/microbot
synced 2025-09-04 08:25:31 +00:00
fix some shit again
This commit is contained in:
@@ -170,7 +170,7 @@ class CommandHandler():
|
|||||||
else:
|
else:
|
||||||
user_id = event.from_id
|
user_id = event.from_id
|
||||||
|
|
||||||
if user_id in self.settings.get_list("blacklisted_users"):
|
if str(user_id) in self.settings.get_list("blacklisted_users"):
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
return False
|
return False
|
||||||
|
Reference in New Issue
Block a user