Skip to content

Commit

Permalink
Merge pull request #200 from SocketOfficial/patch-2
Browse files Browse the repository at this point in the history
  • Loading branch information
logicguy1 authored Apr 22, 2024
2 parents a940946 + e657e0f commit d5aa426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/events/on_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -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].lower() not in 'aeiou' else 'an'} {role_name}!"
f"Congratulations {message.author.mention}, you are now {'an' if role_name[0].lower() in 'aeiou' else 'a'} {role_name}!"
)

result = await self.db.raw_exec_select(
Expand Down

0 comments on commit d5aa426

Please sign in to comment.