[Docs] Add a note about required intents to the voice docs (#2860)

This commit is contained in:
Mihail Gribkov
2024-02-24 02:31:16 +03:00
committed by GitHub
parent 8151bf4034
commit 0860e327d5
2 changed files with 4 additions and 1 deletions

View File

@@ -115,7 +115,7 @@ jobs:
run: |
nuget setApiKey ${{ secrets.NUGET_API_KEY }} -Source https://api.nuget.org/v3/index.json
nuget setApiKey ${{ secrets.NIGHTLY_FEED_API_KEY }} -Source ${{ vars.NIGHTLY_FEED }}
nuget setApiKey ${{ secrets.GITHUB_TOKEN }} -Source ${{ env.REPOSITORY_URL }
nuget setApiKey ${{ secrets.GITHUB_TOKEN }} -Source ${{ env.REPOSITORY_URL }}
- name: Push Nightly
if: vars.PUSH_NIGHTLY == 'true'

View File

@@ -26,6 +26,9 @@ from; typically the same directory as your csproj).
## Joining a Channel
>[!NOTE]
>`GatewayIntents.GuildVoiceStates` and `GatewayIntents.Guilds` intents are required to connect to a voice channel
Joining a channel is the first step to sending audio, and will return
an [IAudioClient] to send data with.