From 1ffd3c125a83a097ae1105e1e12cf28bfd3e7d9d Mon Sep 17 00:00:00 2001 From: sgoudham Date: Sat, 25 Jul 2020 00:44:58 +0100 Subject: [PATCH] Testing if the last 20 roles can be displayed --- cogs/info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/info.py b/cogs/info.py index 5318c971..cdede44b 100644 --- a/cogs/info.py +++ b/cogs/info.py @@ -136,7 +136,7 @@ class Info(commands.Cog): role_string = f"{' **>** '.join(map(str, (role.mention for role in ctx.guild.roles[-20:])))} and **{length}** more" else: - # Display all the roles in the server as it is less than 20a + # 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:])))}" # Check if the list of emojis returned are greater than 20