Skip to content

Commit

Permalink
feat(voice): note intent requirement (discordjs#947)
Browse files Browse the repository at this point in the history
  • Loading branch information
Infinixius authored Nov 30, 2021
1 parent 70a60a4 commit ecd614f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions guide/voice/voice-connections.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ if (subscription) {

::: warning
**Voice connections can be subscribed to one audio player at most.** If you try to subscribe to another audio player while already subscribed to one, the current audio player is unsubscribed and replaced with the new one.

It is also worth noting that the **GUILD_VOICE_STATES** [gateway intent](/popular-topics/intents.md#gateway-intents) is required. Without it, the connection will permanently stay in the `signalling` state, and you'll be unable to play audio.
:::

## Life cycle
Expand Down

0 comments on commit ecd614f

Please sign in to comment.