projects
/
ihaspeks
/
aptbot-ihaspeks.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e596927
)
fixed bug in teams
author
Georgios Atheridis
<atheridis@tutamail.com>
Wed, 11 May 2022 00:24:59 +0000
(
00:24
+0000)
committer
Georgios Atheridis
<atheridis@tutamail.com>
Wed, 11 May 2022 00:24:59 +0000
(
00:24
+0000)
skgyorugo/commands/teams.py
patch
|
blob
|
history
diff --git
a/skgyorugo/commands/teams.py
b/skgyorugo/commands/teams.py
index 1e6f01b5db2d86d66985bde3145d78b44c774255..b0f3848ceb3e80bb7cb539a94faa69ffe4290ae9 100644
(file)
--- 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(