From da592bb13988557268727300b9195fda95200646 Mon Sep 17 00:00:00 2001 From: sgoudham Date: Wed, 29 Jul 2020 21:12:02 +0100 Subject: [PATCH] Adding edge case for no emojis --- cogs/info.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cogs/info.py b/cogs/info.py index 07c2b112..a285aaf4 100644 --- a/cogs/info.py +++ b/cogs/info.py @@ -203,6 +203,9 @@ class Info(Cog): # Display all the emojis in the server as it is less than 20 emojis = " ".join(map(str, ctx.guild.emojis)) + if emojis == "": + emojis = "No Emoji's Available" + # Defining a dictionary of the statuses member_status = { "online": 0,