diff options
Diffstat (limited to '')
| -rw-r--r-- | bot/cogs/verification.py | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/bot/cogs/verification.py b/bot/cogs/verification.py index 204981d80..74e1b333b 100644 --- a/bot/cogs/verification.py +++ b/bot/cogs/verification.py @@ -184,6 +184,10 @@ class Verification(Cog):          """Only start the loop when the bot is ready."""          await self.bot.wait_until_ready() +    def cog_unload(self) -> None: +        """Cancel the periodic ping task when the cog is unloaded.""" +        self.periodic_ping.cancel() +  def setup(bot: Bot) -> None:      """Verification cog load.""" | 
