1
0
Fork 0

add command

This commit is contained in:
nin0dev 2024-08-05 11:19:43 -04:00
parent c90abeb73f
commit 87b71ad2b3

View file

@ -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"))