From b7abb6b48e861449ae0f0126eea31e3b4375d03a Mon Sep 17 00:00:00 2001 From: sgoudham Date: Fri, 5 Jun 2020 02:02:36 +0100 Subject: [PATCH] Moved kissing.txt into the right directory --- cogs/WaifuImages.py | 3 +++ venv/kissing.txt => kissing.txt | 0 2 files changed, 3 insertions(+) rename venv/kissing.txt => kissing.txt (100%) diff --git a/cogs/WaifuImages.py b/cogs/WaifuImages.py index 0006747b..af05e435 100644 --- a/cogs/WaifuImages.py +++ b/cogs/WaifuImages.py @@ -35,7 +35,9 @@ class Waifus(commands.Cog): embed.set_image(url=random.choice(kakashi_array)) embed.set_footer(text=f"Requested by {ctx.message.author}", icon_url='{}'.format(userAvatar)) await ctx.send(embed=embed) + else: + message = await ctx.send(error_function()) # Let the user read the message for 2.5 seconds @@ -60,6 +62,7 @@ class Waifus(commands.Cog): embed.set_image(url=random.choice(toga_array)) embed.set_footer(text=f"Requested by {ctx.message.author}", icon_url='{}'.format(userAvatar)) await ctx.send(embed=embed) + else: message = await ctx.send(error_function()) diff --git a/venv/kissing.txt b/kissing.txt similarity index 100% rename from venv/kissing.txt rename to kissing.txt