docs: Update joining_audio.cs (#1176)
This commit is contained in:
committed by
Christopher F
parent
f3b9f35899
commit
96fbb43f77
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user