diff options
-rw-r--r-- | bot/exts/moderation/modpings.py | 3 |
1 files changed, 1 insertions, 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.") |