add clear command

This commit is contained in:
Milka64 2020-04-29 14:45:12 +02:00
parent 140f390660
commit f68a9f621f

View file

@ -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):