diff --git a/bot/events/on_message.py b/bot/events/on_message.py index 521335b..d59f45a 100644 --- a/bot/events/on_message.py +++ b/bot/events/on_message.py @@ -39,7 +39,7 @@ async def addToRole(message, role_name, role_color): break # Congradulates user :D await message.channel.send( - f"Congratulations {message.author.mention}, you are now {'a' if role_name[0] not in 'aeiou' else 'an'} {role_name}!" + f"Congratulations {message.author.mention}, you are now {'a' if role_name[0].lower() not in 'aeiou' else 'an'} {role_name}!" ) result = await self.db.raw_exec_select(