From f9e41031ad6e48f1cd6700a279d95c06bcfe46d6 Mon Sep 17 00:00:00 2001 From: Sakimori Date: Tue, 22 Dec 2020 15:02:28 -0500 Subject: [PATCH] fixed the looping --- the_prestige.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/the_prestige.py b/the_prestige.py index eda5d73..7765157 100644 --- a/the_prestige.py +++ b/the_prestige.py @@ -31,6 +31,11 @@ async def on_ready(): @client.event async def on_message(msg): + + if msg.author == client.user: + return + + command_b = False for prefix in config()["prefix"]: if msg.content.startswith(prefix):