From a6437ee3228bffbdccae178d4bc4139e062d35ce Mon Sep 17 00:00:00 2001 From: Milka64 Date: Sun, 21 Feb 2021 20:45:28 +0100 Subject: [PATCH] fix joke issue --- kabot/kabot/kabot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index 1906fda..bb60767 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -252,7 +252,7 @@ class Mybot(commands.Cog): ctx.channel.send("%s not found" % folder) else: audio_file = random.choice(audio_file) - self.sounds.append((audio_file, ctx)) + self.sounds.append((audio_file, ctx)) except: e = exc_info()[0] await ctx.channel.send("Exception when calling joke: %s\n" % e)