Update dad.py
This commit is contained in:
parent
0fd3b8e57d
commit
249f1d6491
@ -76,6 +76,7 @@ class Dad(Cog):
|
||||
await self.config.guild(ctx.guild).cooldown.set(cooldown)
|
||||
await ctx.send("Dad joke cooldown is now set to {}".format(cooldown))
|
||||
|
||||
@commands.Cog.listener()
|
||||
async def on_message(self, message: discord.Message):
|
||||
guild: discord.Guild = message.guild
|
||||
if guild is None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user