Error Handling, Online Util

This commit is contained in:
Adriene Hutchins 2020-03-02 18:37:34 -05:00
parent 8adc005f50
commit 830adece17
4 changed files with 97 additions and 54 deletions

View file

@ -67,7 +67,7 @@ class Search(commands.Cog):
)
# Create the URL to make an API call to
call = f'{instance}/search?q={query}&format=json&language=en-US'
call = f'{instance}search?q={query}&format=json&language=en-US'
# If a type is provided, add that type to the call URL
if category: