From 7cc86c9177fd3aa2f25171fb8b1fe2db027d02cf Mon Sep 17 00:00:00 2001 From: ajax146 <31014239+ajax146@users.noreply.github.com> Date: Fri, 5 Jun 2026 12:00:31 -0700 Subject: [PATCH] This prevents bots from interacting with ducks --- techsupport_bot/commands/duck.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/techsupport_bot/commands/duck.py b/techsupport_bot/commands/duck.py index 6c41724b1..6deed351e 100644 --- a/techsupport_bot/commands/duck.py +++ b/techsupport_bot/commands/duck.py @@ -361,6 +361,9 @@ def message_check( if not message.content.lower() in ["bef", "bang"]: return False + if message.author.bot: + return False + if banned_user and message.author == banned_user: embed = auxiliary.prepare_deny_embed("You cannot hunt a duck you released") asyncio.create_task(channel.send(content=banned_user.mention, embed=embed))