fix joke issue
This commit is contained in:
parent
5207baf83f
commit
a6437ee322
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue