예제 #1
0
 public async Task RemoveCommand(int index)
 => await AudioService.Remove(Context, index).ConfigureAwait(false);
예제 #2
0
 public async Task ResumeCommand()
 => await AudioService.Resume(Context).ConfigureAwait(false);
예제 #3
0
 public async Task PauseCommand()
 => await AudioService.Pause(Context).ConfigureAwait(false);
예제 #4
0
 public async Task SkipCommand()
 => await AudioService.Skip(Context).ConfigureAwait(false);
예제 #5
0
 public async Task PlayCommand([Remainder] string song)
 => await AudioService.Play(Context, song).ConfigureAwait(false);
예제 #6
0
 public async Task JoinCommand()
 => await AudioService.JoinAudio(Context).ConfigureAwait(false);