change
This commit is contained in:
parent
a4a5749789
commit
8d7bc7e096
@ -101,6 +101,11 @@ async def edit(ctx, arg):
|
|||||||
user = ctx.author
|
user = ctx.author
|
||||||
guild= ctx.guild
|
guild= ctx.guild
|
||||||
|
|
||||||
|
global player_id
|
||||||
|
if (player_id == user.id):
|
||||||
|
await ctx.send("Not the player that made the mistake!")
|
||||||
|
return
|
||||||
|
|
||||||
if not os.path.exists(str(channel_id)+".sgf"):
|
if not os.path.exists(str(channel_id)+".sgf"):
|
||||||
await ctx.send("No active game in this channel!")
|
await ctx.send("No active game in this channel!")
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user