diff --git a/redbot/cogs/cleanup/cleanup.py b/redbot/cogs/cleanup/cleanup.py index 63bd76e31..a4fe3dccf 100644 --- a/redbot/cogs/cleanup/cleanup.py +++ b/redbot/cogs/cleanup/cleanup.py @@ -224,6 +224,8 @@ class Cleanup: await tmp.delete() else: return await ctx.send('Cancelled.') + else: + tmp = ctx.message to_delete = []