Lsar now sorts the roles.

This commit is contained in:
Ryonia Coruscare 2019-05-28 04:52:07 +12:00
parent 9441e9c318
commit ce60f29a96
Signed by: ryonia
GPG Key ID: 5040C0F02BC53C5A
1 changed files with 2 additions and 1 deletions

View File

@ -40,7 +40,8 @@ class lsar:
timestamp = timestamp)
else:
selfroles = self._settable_roles[server.id]
embedmsg = discord.Embed(title="<:res1hellyeah:330424103259340800> Roles are available for you to add:",
selfroles.sort()
embedmsg = discord.Embed(title="<:res1hellyeah:330424103259340800> Roles are available for you to add.",
colour=discord.Colour(0x54d824),
description="You can currently give yourself:\n{}".format("\n".join(selfroles)),
timestamp = timestamp)