From bac737378982debf677cd35d5dff5d29ec73b078 Mon Sep 17 00:00:00 2001 From: Guillermo Date: Fri, 13 Sep 2024 05:04:46 +0200 Subject: [PATCH] fixed id check --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."