From ce60f29a96f8aaddb7caf8faacb0154747c2b44a Mon Sep 17 00:00:00 2001 From: Ryonez Coruscare Date: Tue, 28 May 2019 04:52:07 +1200 Subject: [PATCH] Lsar now sorts the roles. --- lsar/lsar.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lsar/lsar.py b/lsar/lsar.py index c5c927d..b00c8dc 100644 --- a/lsar/lsar.py +++ b/lsar/lsar.py @@ -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)