Changed direction of arrow for roles in serverinfo command

pull/8/head
sgoudham 4 years ago
parent 210e5b6f7f
commit e9e95a4421

@ -218,11 +218,11 @@ class Info(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[1: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
role_string = f"{' **>** '.join(map(str, (role.mention for role in ctx.guild.roles[1:])))}" role_string = f"{' **<** '.join(map(str, (role.mention for role in ctx.guild.roles[1:])))}"
# Check if the list of emojis returned are greater than 20 # Check if the list of emojis returned are greater than 20
if len(ctx.guild.emojis) > 20: if len(ctx.guild.emojis) > 20:

Loading…
Cancel
Save