From 8b56942cf37b4ad8e4eeb5b2c1302b7186b5faf3 Mon Sep 17 00:00:00 2001 From: Siphalor Date: Wed, 27 Jan 2021 16:20:28 +0100 Subject: [PATCH] Fix capitalization in quote command --- bot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bot.py b/bot.py index f00f6c9..f58ab2a 100644 --- a/bot.py +++ b/bot.py @@ -263,7 +263,8 @@ async def quote_command(ctx: commands.Context, author: Optional[str], *, quote: else: author = author.strip().title() if quote: - quote = quote.strip().capitalize() + quote = quote.strip() + quote = quote[0].upper() + quote[1::] if author in quotes: author_quotes: List[str] = quotes[author] regex = re.compile(r'[\W]')