mirror of
https://github.com/polyjitter/searchbot-discord.git
synced 2024-08-14 22:46:55 +00:00
Error Handling, Online Util
This commit is contained in:
parent
8adc005f50
commit
830adece17
4 changed files with 97 additions and 54 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue