diff --git a/cogs/define.py b/cogs/define.py index 1adc440..23eba64 100644 --- a/cogs/define.py +++ b/cogs/define.py @@ -86,6 +86,10 @@ class Define(commands.Cog): """ text = text.replace("[", "") text = text.replace("]", "") + + if not text: + return "N/A" + return text if len(text) < 1024 else text[:1021] + "..." def ratio(self, dic):