Skip to content
This repository was archived by the owner on Oct 18, 2020. It is now read-only.

Commit 3e1bde1

Browse files
committed
fix purge_roles
1 parent e2d35b7 commit 3e1bde1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bot.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ async def purge_categories():
722722
### Nettoyer les rôles liés aux tournois
723723
async def purge_roles():
724724
guild = bot.get_guild(id=guild_id)
725-
challenger = guild.get_role(id=challenger_id)
725+
challenger = guild.get_role(challenger_id)
726726

727727
for member in challenger.members:
728728
try:
@@ -1169,8 +1169,8 @@ async def add_stream(ctx, *args: int):
11691169
if tournoi["statut"] == "pending":
11701170
for arg in args: stream[ctx.author.id]["queue"].append(arg)
11711171
with open(stream_path, 'w') as f: json.dump(stream, f, indent=4)
1172-
await ctx.message.add_reaction("☑️")
1173-
await ctx.send(f"<@{ctx.author.id}> Sets ajoutés à la stream queue, toutefois ils n'ont pas été vérifiés, le bracket n'ayant pas commencé.")
1172+
await ctx.message.add_reaction("")
1173+
await ctx.send(f"<@{ctx.author.id}> Sets ajoutés à la stream queue : toutefois ils n'ont pas été vérifiés, le bracket n'ayant pas commencé.")
11741174
return
11751175

11761176
# Otherwise we should check if the sets are open

0 commit comments

Comments
 (0)