From f31ac862dda38aa0486ab896f1f9820477fc69b4 Mon Sep 17 00:00:00 2001 From: ReneCareenium Date: Sun, 17 Oct 2021 23:02:25 +0200 Subject: [PATCH] fixed a small bug in edit in teachers mode --- rengobot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rengobot.py b/rengobot.py index 5d4e37f..58ea3b9 100644 --- a/rengobot.py +++ b/rengobot.py @@ -139,10 +139,10 @@ async def play(ctx, arg): if state[i][1]=="queue": next_player=(await guild.fetch_member(state[i][4][1-colour][0])) await ctx.send(file=file, content="{}'s turn! ⭐".format(next_player.mention)) - elif state[i][1]=="teachers" and colour==1: + elif state[i][1]=="teachers" and colour==0: next_player=(await guild.fetch_member(state[i][4][1-colour][0])) await ctx.send(file=file, content="{}'s turn! ⭐".format(next_player.mention)) - elif state[i][1]=="teachers" and colour==0: + elif state[i][1]=="teachers" and colour==1: await ctx.send(file=file, content="Teachers' turn! ⭐") else: await ctx.send(file=file)