Music Commands

This commit is contained in:
2022-07-09 14:57:49 +03:00
parent aa808e950a
commit 47aae730c7
15 changed files with 259 additions and 159 deletions

View File

@@ -8,7 +8,7 @@ internal class Pause : DBCommand
{
public string Command => "pause";
public string Description => "Pause the music";
public string Description => "Pause/Unpause the music that is currently running";
public string Usage => "pause";
@@ -20,6 +20,6 @@ internal class Pause : DBCommand
public void Execute(SocketCommandContext context, SocketMessage message, DiscordSocketClient client, bool isDM)
{
Data.CurrentlyRunning.Paused = true;
Data.MusicPlayer.isPaused = !Data.MusicPlayer.isPaused;
}
}