From a14ebfbe8f77228f97c40a9ed875e7175cddd217 Mon Sep 17 00:00:00 2001 From: Georgios Atheridis Date: Wed, 11 May 2022 00:24:59 +0000 Subject: [PATCH] fixed bug in teams --- skgyorugo/commands/teams.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skgyorugo/commands/teams.py b/skgyorugo/commands/teams.py index 1e6f01b..b0f3848 100644 --- a/skgyorugo/commands/teams.py +++ b/skgyorugo/commands/teams.py @@ -63,9 +63,9 @@ def main(bot: Bot, message: Message): blue_team_users = [] red_team_users = [] for twitch_user in twitch: - if twitch_user.user_id in blue_team: + if int(twitch_user.user_id) in blue_team: blue_team_users.append(twitch_user.display_name) - elif twitch_user.user_id in red_team: + elif int( twitch_user.user_id ) in red_team: red_team_users.append(twitch_user.display_name) else: bot.send_privmsg( -- 2.30.2