Skip to content

MemberUpdate returns error when #316

Closed Answered by topi314
tmaffia asked this question in Help
Discussion options

You must be logged in to vote

Discord sends information about who is in which voice channel in so called voice states
To receive those events you need to enable the gateway.IntentVoiceStates
To access them later at any time you should also enable the voice states cache via

client, err := disgo.New(token,	bot.WithGatewayConfigOpts(gateway.WithIntents(other intents, gateway.IntentGuildVoiceStates)),
)

There are also events when someone joins, leaves & moves a voice channel

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tmaffia
Comment options

Answer selected by tmaffia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants