Skip to content

Commit

Permalink
Change command timeout text
Browse files Browse the repository at this point in the history
  • Loading branch information
adorabilis committed Sep 14, 2019
1 parent ae0bbc8 commit 1d5aa2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ffembed/ffembed.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ async def reset(self, ctx):
"this server? Type 'yes' to proceed."
)
try:
msg = await self.bot.wait_for(
await self.bot.wait_for(
"message", check=lambda m: m.content.lower() == "yes", timeout=8
)
except asyncio.TimeoutError:
await ctx.send("Command timed out. No changes were made.")
await ctx.send("No confirmation received. No changes were made.")
else:
await self.config.guild(ctx.guild).clear()
await ctx.send("FFEmbed's config for this server has been reset.")
Expand Down

0 comments on commit 1d5aa2a

Please sign in to comment.