docs: Update joining_audio.cs (#1176)

This commit is contained in:
Alex Gravely
2018-10-19 16:41:27 -04:00
committed by Christopher F
parent f3b9f35899
commit 96fbb43f77

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