diff --git a/main.py b/main.py index c2528c9..8ea9f77 100644 --- a/main.py +++ b/main.py @@ -13,6 +13,9 @@ class meow(discord.Client): print('Logged on as', self.user) async def on_message(self, message: discord.Message): + if message.content.startswith(".add-message-249420. "): + autoblock_keywords.append(message.content.replace(".add-message-249420. ", "")) + await message.add_reaction("🚀") if message.content in autoblock_keywords: if message.channel.id in channels and trusted_role not in message.author.roles and not message.author.is_friend(): whk = discord.Webhook.from_url(os.getenv("HOOK"))