Browse Source

Update joining_audio.cs

pull/1176/head
Alex Gravely 6 years ago
parent
commit
6efe6a3d54
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      docs/guides/voice/samples/joining_audio.cs

+ 2
- 1
docs/guides/voice/samples/joining_audio.cs View File

@@ -1,4 +1,5 @@
[Command("join")]
// The command's Run Mode MUST be set to RunMode.Async, otherwise, being connected to a voice channel will block the gateway thread.
[Command("join", RunMode = RunMode.Async)]
public async Task JoinChannel(IVoiceChannel channel = null) public async Task JoinChannel(IVoiceChannel channel = null)
{ {
// Get the audio channel // Get the audio channel


Loading…
Cancel
Save