Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.

Commit

Permalink
ignore webhooks
Browse files Browse the repository at this point in the history
  • Loading branch information
gingershaped committed Nov 27, 2023
1 parent 24e8855 commit 2e5650a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vyxalbot2/services/discord.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ async def startup(self):
self.logger.info(f"Discord connection established! We are {self.client.user}.")

async def on_message(self, message: Message):
if message.author.discriminator == "0000":
return
event = EventInfo(
content=message.content,
userName=message.author.display_name,
Expand Down

0 comments on commit 2e5650a

Please sign in to comment.