From 8d7bc7e0965085e226c9a2b19ff16c6972a8fd29 Mon Sep 17 00:00:00 2001 From: Nikola Petrov Date: Sun, 12 Jan 2025 00:29:49 +0100 Subject: [PATCH] change --- rengobot.py | 5 +++++ 1 file changed, 5 insertions(+) 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