From 12b5fff4d8a169b8d4b1c842efb2185b6d3aff2a Mon Sep 17 00:00:00 2001 From: PredaaA <46051820+PredaaA@users.noreply.github.com> Date: Tue, 6 Apr 2021 19:33:40 +0200 Subject: [PATCH] [PressF] Remove uneeded save (#223) --- pressf/pressf.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pressf/pressf.py b/pressf/pressf.py index 585f003..c4f76be 100644 --- a/pressf/pressf.py +++ b/pressf/pressf.py @@ -23,7 +23,6 @@ class PressF(commands.Cog): return await ctx.send( "Oops! I'm still paying respects in this channel, you'll have to wait until I'm done." ) - self.channels[str(ctx.channel.id)] = {} if user: answer = user.display_name @@ -36,7 +35,6 @@ class PressF(commands.Cog): try: pressf = await ctx.bot.wait_for("message", timeout=120.0, check=check) except asyncio.TimeoutError: - del self.channels[str(ctx.channel.id)] return await ctx.send("You took too long to reply.") answer = pressf.content[:1900]