Dad hotfix. Don't listen to bots
This commit is contained in:
parent
5940ab1af9
commit
596865e49d
@ -85,6 +85,8 @@ class Dad(Cog):
|
||||
|
||||
@commands.Cog.listener()
|
||||
async def on_message_without_command(self, message: discord.Message):
|
||||
if message.author.bot:
|
||||
return
|
||||
guild: discord.Guild = getattr(message, "guild", None)
|
||||
if guild is None:
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user