fix repeat cmd
This commit is contained in:
parent
089818e48c
commit
6aa7ed372d
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue