From 6d6da9720285737a53e65cbd776a1c0207d21ebb Mon Sep 17 00:00:00 2001 From: Sakimori Date: Thu, 4 Feb 2021 19:32:02 -0500 Subject: [PATCH] fixes #187: if webhook_id is present, abort message parsing --- the_prestige.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/the_prestige.py b/the_prestige.py index b5fdad4..ba23a2e 100644 --- a/the_prestige.py +++ b/the_prestige.py @@ -1219,7 +1219,7 @@ async def on_reaction_add(reaction, user): @client.event async def on_message(msg): - if msg.author == client.user: + if msg.author == client.user or not msg.webhook_id is None: return command_b = False