Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions techsupport_bot/commands/duck.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
Loading