add clear command
This commit is contained in:
parent
140f390660
commit
f68a9f621f
1 changed files with 2 additions and 4 deletions
|
@ -103,11 +103,9 @@ class Mybot(commands.Cog):
|
||||||
async def restart(self, ctx):
|
async def restart(self, ctx):
|
||||||
await self.bot.logout()
|
await self.bot.logout()
|
||||||
|
|
||||||
@commands.command(help='Stop Bot vocal')
|
@commands.command(help='Clear sound queue')
|
||||||
async def stop(self, ctx):
|
async def clear(self, ctx):
|
||||||
self.play_next.stop()
|
|
||||||
self.sounds = []
|
self.sounds = []
|
||||||
self.play_next.start()
|
|
||||||
|
|
||||||
@commands.command(help='Update local repo')
|
@commands.command(help='Update local repo')
|
||||||
async def update(self, message):
|
async def update(self, message):
|
||||||
|
|
Loading…
Reference in a new issue