From 9bfb72e49431955c8b4f3f50aa821ea4b819519c Mon Sep 17 00:00:00 2001 From: Sakimori Date: Fri, 13 Aug 2021 15:00:31 -0400 Subject: [PATCH] added blacklist function to config --- the_prestige.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/the_prestige.py b/the_prestige.py index 7e36131..4faada5 100644 --- a/the_prestige.py +++ b/the_prestige.py @@ -1708,6 +1708,9 @@ def config(): "ea" : [ 0000 ], + "blacklist" : [ + 0000 + ], "prefix" : ["m;", "m!"], "simmadome_url" : "", "soulscream channel id" : 0, @@ -1751,7 +1754,7 @@ async def on_reaction_add(reaction, user): @client.event async def on_message(msg): - if msg.author == client.user or not msg.webhook_id is None: + if msg.author == client.user or not msg.webhook_id is None or msg.author.id in congfig()["blacklist"]: return command_b = False