From: Georgios Atheridis Date: Wed, 11 May 2022 00:24:59 +0000 (+0000) Subject: fixed bug in teams X-Git-Url: https://git.atheridis.org/?a=commitdiff_plain;h=a14ebfbe8f77228f97c40a9ed875e7175cddd217;p=ihaspeks%2Faptbot-ihaspeks.git fixed bug in teams --- 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(