fix repeat cmd

This commit is contained in:
Milka64 2020-03-15 21:30:15 +01:00
parent 089818e48c
commit 6aa7ed372d

View file

@ -45,10 +45,11 @@ class Mybot(commands.Cog):
self.sounds.append((source,ctx)) self.sounds.append((source,ctx))
@commands.command() @commands.command()
async def repeat(self, ctx, *args): async def repeat(self, ctx):
#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
self.sounds.append((source,ctx)) self.sounds.append((source,ctx))
@commands.command() @commands.command()