[PressF] Remove uneeded save (#223)
This commit is contained in:
@@ -23,7 +23,6 @@ class PressF(commands.Cog):
|
|||||||
return await ctx.send(
|
return await ctx.send(
|
||||||
"Oops! I'm still paying respects in this channel, you'll have to wait until I'm done."
|
"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:
|
if user:
|
||||||
answer = user.display_name
|
answer = user.display_name
|
||||||
@@ -36,7 +35,6 @@ class PressF(commands.Cog):
|
|||||||
try:
|
try:
|
||||||
pressf = await ctx.bot.wait_for("message", timeout=120.0, check=check)
|
pressf = await ctx.bot.wait_for("message", timeout=120.0, check=check)
|
||||||
except asyncio.TimeoutError:
|
except asyncio.TimeoutError:
|
||||||
del self.channels[str(ctx.channel.id)]
|
|
||||||
return await ctx.send("You took too long to reply.")
|
return await ctx.send("You took too long to reply.")
|
||||||
|
|
||||||
answer = pressf.content[:1900]
|
answer = pressf.content[:1900]
|
||||||
|
|||||||
Reference in New Issue
Block a user