fixed a small bug in edit in teachers mode

This commit is contained in:
ReneCareenium 2021-10-17 23:02:25 +02:00
parent 29d152b939
commit f31ac862dd

View File

@ -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)