Merge branch 'master' of http://git.0w.tf/Milka64/kabot
This commit is contained in:
commit
d3bed5b996
1 changed files with 2 additions and 2 deletions
|
@ -65,9 +65,9 @@ class Mybot(commands.Cog):
|
|||
api_response.to_dict()['data'][0]
|
||||
get_url = random.choice(api_response.to_dict()['data'])
|
||||
get_url['url']
|
||||
ctx.channel.send(get_url['url'])
|
||||
await ctx.channel.send(get_url['url'])
|
||||
except ApiException as e:
|
||||
ctx.channel.send("Exception when calling DefaultApi->gifs_search_get: %s\n" % e)
|
||||
await ctx.channel.send("Exception when calling DefaultApi->gifs_search_get: %s\n" % e)
|
||||
|
||||
@commands.command()
|
||||
async def welcome(self, ctx):
|
||||
|
|
Loading…
Reference in a new issue