Update kabot/kabot/kabot.py #57
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ class Mybot(commands.Cog):
|
|||
api_key = "udhL9Rgdme3HpAoFhWVZoYM0l0XwkzLz"
|
||||
lang = 'fr'
|
||||
try:
|
||||
api_response = api_instance.gifs_search_get(api_key, query, lang=lang, limit=10)
|
||||
api_response = api_instance.gifs_search_get(api_key, query, lang=lang, limit=15)
|
||||
api_response.to_dict()['data'][0]
|
||||
get_url = random.choice(api_response.to_dict()['data'])
|
||||
get_url['url']
|
||||
|
|
Loading…
Reference in a new issue