Skip to content

Commit

Permalink
fix: add message for case-insensitive Discord pseudo entry on Hypixel
Browse files Browse the repository at this point in the history
  • Loading branch information
gylfirst committed Nov 24, 2024
1 parent 6835978 commit dd41c09
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions chouette/utils/skyblock.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ async def pseudo_to_profile(
return discord[1]
discord = discord[1]
if discord != discord_pseudo:
if discord.lower() == discord_pseudo:
return "Vous avez entré votre pseudo Discord avec des majuscules sur Hypixel !\n(Ce n'est plus possible depuis les nouvelles règles de pseudonymes de Discord)"
return "Votre pseudo Discord ne correspond pas à celui entré sur le serveur Hypixel"
client.bot_logger.debug("Les pseudos Discord correspondent")

Expand Down

0 comments on commit dd41c09

Please sign in to comment.