diff --git a/bot.py b/bot.py index 950ad92..b55a71b 100644 --- a/bot.py +++ b/bot.py @@ -46,7 +46,7 @@ class Butler(object): if not self.whitelist: return True for id in ids: - if id in self.whitelist: + if str(id) in self.whitelist: return True self.logger.warning("User {} [{}] or chat {} [{}] are not in the whitelist."