Update dad.py

pull/62/head
Ianardo DiCaprio 6 years ago committed by GitHub
parent 0fd3b8e57d
commit 249f1d6491
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -76,6 +76,7 @@ class Dad(Cog):
await self.config.guild(ctx.guild).cooldown.set(cooldown) await self.config.guild(ctx.guild).cooldown.set(cooldown)
await ctx.send("Dad joke cooldown is now set to {}".format(cooldown)) await ctx.send("Dad joke cooldown is now set to {}".format(cooldown))
@commands.Cog.listener()
async def on_message(self, message: discord.Message): async def on_message(self, message: discord.Message):
guild: discord.Guild = message.guild guild: discord.Guild = message.guild
if guild is None: if guild is None:

Loading…
Cancel
Save