From 560b4892cb94ea3eb0822fe13c267ab7afbe8535 Mon Sep 17 00:00:00 2001 From: majorbruteforce Date: Sun, 2 Jun 2024 19:10:36 +0530 Subject: [PATCH] ignore Arcane --- main.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/main.py b/main.py index 5a90c75..c3a7915 100644 --- a/main.py +++ b/main.py @@ -34,6 +34,10 @@ async def on_message(message): if message.channel.id != WATCHED_CHANNEL_ID: return + + # ignore arcane + if message.author.id == 437808476106784770: + return discord_user_id = message.author.id discord_message_id = message.id @@ -68,6 +72,10 @@ async def on_message_edit(old_message, new_message): if new_message.channel.id != WATCHED_CHANNEL_ID: return + + # ignore arcane + if new_message.author.id == 437808476106784770: + return discord_user_id = new_message.author.id discord_message_id = new_message.id @@ -93,6 +101,9 @@ async def on_message_delete(message): return if message.channel.id != WATCHED_CHANNEL_ID: return + # ignore arcane + if message.author.id == 437808476106784770: + return discord_message_id = message.id try: delete_log(discord_message_id)