From 6aa7ed372d76ae345e7a91d3868aa04b225e30e9 Mon Sep 17 00:00:00 2001 From: Milka64 Date: Sun, 15 Mar 2020 21:30:15 +0100 Subject: [PATCH] fix repeat cmd --- kabot/kabot/kabot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index cc1b478..2c4fe1f 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -45,10 +45,11 @@ class Mybot(commands.Cog): self.sounds.append((source,ctx)) @commands.command() - async def repeat(self, ctx, *args): + async def repeat(self, ctx): #if ctx.message.author.name == self.bot.user.name: # return user = ctx.message.author.name + source = ctx.message.content self.sounds.append((source,ctx)) @commands.command()