add stop command
This commit is contained in:
parent
f5c063a1a8
commit
140f390660
1 changed files with 5 additions and 3 deletions
|
@ -103,9 +103,11 @@ 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='Restart Bot')
|
@commands.command(help='Stop Bot vocal')
|
||||||
async def restart_queue(self, ctx):
|
async def stop(self, ctx):
|
||||||
self.play_next.restart()
|
self.play_next.stop()
|
||||||
|
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