diff --git a/vulkanbot/commands/Phrases.py b/vulkanbot/commands/Phrases.py index fef82f6..4b22281 100644 --- a/vulkanbot/commands/Phrases.py +++ b/vulkanbot/commands/Phrases.py @@ -51,6 +51,9 @@ class Phrases(commands.Cog): phrase = data['quoteText'] author = data['quoteAuthor'] + if phrase == '' or author == '': # Don't accept incomplete phrases + continue + text = f'{phrase} \nBy: {author}' return text