forgot to await some funcs

This commit is contained in:
Clxud 2021-10-31 13:22:01 -04:00 committed by GitHub
parent c83e59e91f
commit 93653f33ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -56,7 +56,7 @@ class Music(commands.Cog):
player: pomice.Player = ctx.voice_client
player.destroy()
await player.destroy()
await ctx.send("Player has left the channel.")
@ -96,7 +96,7 @@ class Music(commands.Cog):
if player.is_paused:
await ctx.send("Player is already paused!")
player.set_pause(pause=True)
await player.set_pause(pause=True)
await ctx.send("Player has been paused")
@ -111,7 +111,7 @@ class Music(commands.Cog):
if not player.is_paused:
await ctx.send("Player is already playing!")
player.set_pause(pause=False)
await player.set_pause(pause=False)
await ctx.send("Player has been resumed")
@ -126,7 +126,7 @@ class Music(commands.Cog):
if not player.is_playing:
await ctx.send("Player is already stopped!")
player.stop()
await player.stop()
await ctx.send("Player has been stopped")