Update timerole.py

pull/67/head
Ianardo DiCaprio 6 years ago committed by GitHub
parent 4ded676e82
commit cb76df993c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -23,6 +23,9 @@ class Timerole(Cog):
self.config.register_guild(**default_guild)
self.updating = self.bot.loop.create_task(self.check_day())
def cog_unload(self):
self.updating.cancel()
@commands.command()
@checks.guildowner()
@commands.guild_only()

Loading…
Cancel
Save