Fix early statement in quote command
This commit is contained in:
2
bot.py
2
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]')
|
||||
|
||||
Reference in New Issue
Block a user