From b47228ee03b1f39b91209ed04d39e66c1bee9b54 Mon Sep 17 00:00:00 2001 From: Shivansh-007 Date: Sun, 13 Jun 2021 13:21:38 +0530 Subject: (modpings): Make flake8 happy! --- bot/exts/moderation/modpings.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bot/exts/moderation/modpings.py b/bot/exts/moderation/modpings.py index 207480a68..cf45a2182 100644 --- a/bot/exts/moderation/modpings.py +++ b/bot/exts/moderation/modpings.py @@ -228,13 +228,12 @@ class ModPings(Cog): ) @schedule_modpings.command(name='delete', aliases=('del', 'd')) - async def modpings_schedule_delete(self, ctx: Context): + async def modpings_schedule_delete(self, ctx: Context) -> None: """Delete your modpings schedule.""" self._modpings_scheduler.cancel(ctx.author.id) await self.modpings_schedule.delete(ctx.author.id) await ctx.send(f"{Emojis.ok_hand} {ctx.author.mention} Deleted your modpings schedule!") - def cog_unload(self) -> None: """Cancel role tasks when the cog unloads.""" log.trace("Cog unload: canceling role tasks.") -- cgit v1.2.3