fix repeat cmd

This commit is contained in:
Milka64 2020-03-15 22:21:53 +01:00
parent f9e36be6a6
commit fb6b265d06

View file

@ -51,7 +51,7 @@ class Mybot(commands.Cog):
#if ctx.message.author.name == self.bot.user.name: #if ctx.message.author.name == self.bot.user.name:
# return # return
user = ctx.message.author.name user = ctx.message.author.name
source = ctx.message.content source = self.sounds_history[0]
self.sounds.append((source,ctx)) self.sounds.append((source,ctx))
@commands.command(help='Gif me') @commands.command(help='Gif me')