Skip to content

Commit

Permalink
ignore Arcane
Browse files Browse the repository at this point in the history
  • Loading branch information
majorbruteforce committed Jun 2, 2024
1 parent 75f1865 commit 560b489
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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)
Expand Down

0 comments on commit 560b489

Please sign in to comment.