chore: auto-commit from dashboard
This commit is contained in:
@@ -936,8 +936,8 @@ def create_bot(config: Config) -> discord.Client:
|
||||
|
||||
@client.event
|
||||
async def on_message(message: discord.Message) -> None:
|
||||
# Ignore bot's own messages
|
||||
if message.author == client.user:
|
||||
# Ignore messages from any bot (including self)
|
||||
if message.author.bot:
|
||||
return
|
||||
|
||||
# DM handling: only process if sender is admin
|
||||
|
||||
Reference in New Issue
Block a user