diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index 190fb82..6c96cd1 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -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.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):