From d5b4bb4c871bf530fcdcbea589ab3302f669a1c1 Mon Sep 17 00:00:00 2001 From: Simon Junod Date: Fri, 28 Jul 2023 11:02:55 +0200 Subject: [PATCH] no longer using discriminators --- run.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/run.py b/run.py index 50067e1..d2579c4 100755 --- a/run.py +++ b/run.py @@ -65,7 +65,8 @@ async def on_message(message): games_entered = [codenames_game for codenames_game in codenames_games.values() if codenames_game.get_player(message.author)] # Admin commands - if message.author.name == "Biganon" and message.author.discriminator == "0001": + print(message.author.name) + if message.author.name == "biganon": if regex := re.search(r"^[sS]ay ([0-9]+) (.*)$", content): channel_id = int(regex.group(1)) to_say = regex.group(2)