diff --git a/rengobot.py b/rengobot.py index e6548f8..0310aba 100644 --- a/rengobot.py +++ b/rengobot.py @@ -101,6 +101,11 @@ async def edit(ctx, arg): user = ctx.author 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"): await ctx.send("No active game in this channel!") return