Removing useless import

This commit is contained in:
Rafael Vargas
2021-12-28 20:40:20 -04:00
parent d768ed810a
commit 2860887e78

View File

@@ -1,6 +1,5 @@
import requests import requests
import json import json
import discord
from config import config from config import config
from discord.ext import commands from discord.ext import commands
from random import random as rand from random import random as rand
@@ -51,7 +50,7 @@ class Phrases(commands.Cog):
phrase = data['quoteText'] phrase = data['quoteText']
author = data['quoteAuthor'] author = data['quoteAuthor']
if phrase == '' or author == '': # Don't accept incomplete phrases if phrase == '' or author == '': # Don't accept incomplete phrases
continue continue
text = f'{phrase} \nBy: {author}' text = f'{phrase} \nBy: {author}'