From f68a9f621f32b5bd63324a78c2fc1b9945c1575f Mon Sep 17 00:00:00 2001 From: Milka64 Date: Wed, 29 Apr 2020 14:45:12 +0200 Subject: [PATCH] add clear command --- kabot/kabot/kabot.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index 5917803..12df79e 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -103,11 +103,9 @@ class Mybot(commands.Cog): async def restart(self, ctx): await self.bot.logout() - @commands.command(help='Stop Bot vocal') - async def stop(self, ctx): - self.play_next.stop() + @commands.command(help='Clear sound queue') + async def clear(self, ctx): self.sounds = [] - self.play_next.start() @commands.command(help='Update local repo') async def update(self, message):