Reverting back to just the lowest 20 roles

Will try to fix it later
pull/8/head
sgoudham 4 years ago
parent 1ffd3c125a
commit 9cc261b018

@ -133,7 +133,7 @@ class Info(commands.Cog):
# Store the first 20 roles in a string called "roles" # Store the first 20 roles in a string called "roles"
# (Skipping the first element as it's always going to be @everyone) # (Skipping the first element as it's always going to be @everyone)
role_string = f"{' **>** '.join(map(str, (role.mention for role in ctx.guild.roles[-20:])))} and **{length}** more" role_string = f"{' **>** '.join(map(str, (role.mention for role in ctx.guild.roles[1:20])))} and **{length}** more"
else: else:
# Display all the roles in the server as it is less than 20 roles # Display all the roles in the server as it is less than 20 roles

Loading…
Cancel
Save