Skip to content

Commit

Permalink
[AFK] fix delete after
Browse files Browse the repository at this point in the history
  • Loading branch information
japandotorg committed Oct 20, 2023
1 parent 159fa2c commit 43582fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions afk/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,7 @@ async def _delete(self, ctx: commands.Context, amount: commands.Range[int, 0, 10
if amount == 0:
await self.config.delete_after.set(None)
await ctx.send(f"Disabled `delete_after`.")
return
await self.config.delete_after.set(amount)
await ctx.send(
f"Changed `delete_after` to {amount}.",
Expand Down

0 comments on commit 43582fd

Please sign in to comment.