From 86a40fcacc46d63d7706e4eaea9dd513ae24762a Mon Sep 17 00:00:00 2001 From: Siphalor Date: Wed, 27 Jan 2021 16:15:26 +0100 Subject: [PATCH] Fix early statement in quote command --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index a2613da..c9107d4 100644 --- a/bot.py +++ b/bot.py @@ -262,8 +262,8 @@ async def quote_command(ctx: commands.Context, author: Optional[str], *, quote: await ctx.channel.send("No quotes present!") else: author = author.strip().title() - quote = quote.strip() if quote: + quote = quote.strip() if author in quotes: author_quotes: List[str] = quotes[author] regex = re.compile(r'[\W]')