Browse Source

docs: Update joining_audio.cs (#1176)

pull/1181/head
Alex Gravely Christopher F 6 years ago
parent
commit
96fbb43f77
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)
{
// Get the audio channel


Loading…
Cancel
Save