Skip to content

Commit

Permalink
Update etuutt_bot/commands/role.py
Browse files Browse the repository at this point in the history
Co-authored-by: Zalko <[email protected]>
  • Loading branch information
imperosol and Zalk0 authored May 7, 2024
1 parent 5eb1b65 commit 7dfc6b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etuutt_bot/commands/role.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ async def get_roles_with_framed_number_of_members(
"""
await interaction.response.defer(thinking=True)
if nb_min > nb_max:
await interaction.followup.send("Erreur : nb_min doit être inférieur à nb_max")
await interaction.followup.send("Erreur : nb_min doit être inférieur ou égal à nb_max")
return
roles = [r for r in interaction.guild.roles if nb_min <= len(r.members) <= nb_max]
if len(roles) == 0:
Expand Down

0 comments on commit 7dfc6b0

Please sign in to comment.