disgo
disgo copied to clipboard
Unknown event received VOICE_CHANNEL_STATUS_UPDATE
Describe the bug
Can't handle undocumented event VOICE_CHANNEL_STATUS_UPDATE
Error
{"time":"2025-02-21T09:31:50.454608+02:00","level":"DEBUG","source":{"function":"github.com/disgoorg/disgo/gateway.(*gatewayImpl).parseMessage","file":"/Users/sealbro/go/pkg/mod/github.com/disgoorg/[email protected]/gateway/gateway_impl.go","line":486},"msg":"received gateway message","name":"gateway","shard_id":0,"shard_count":1,"data":"{\"t\":\"VOICE_CHANNEL_STATUS_UPDATE\",\"s\":3,\"op\":0,\"d\":{\"status\":null,\"id\":\"<voice_channel_id>\",\"guild_id\":\"<guid_id>\"}}"}
{"time":"2025-02-21T09:31:50.454829+02:00","level":"DEBUG","source":{"function":"github.com/disgoorg/disgo/gateway.(*gatewayImpl).listen","file":"/Users/sealbro/go/pkg/mod/github.com/disgoorg/[email protected]/gateway/gateway_impl.go","line":410},"msg":"unknown event received","name":"gateway","shard_id":0,"shard_count":1,"event":"VOICE_CHANNEL_STATUS_UPDATE","data":"{\"status\":null,\"id\":\"<voice_channel_id>\",\"guild_id\":\"<guid_id>\"}"}
To Reproduce
- Connect to Discord gateway
- Enter into a voice channel without any people
- Leave that voice channel
Expected behavior Don't have unhandled log "unknown event received "
Disgo Version(please complete the following information):
- Version [e.g. v0.18.15]
Additional context Discussion in discord topic https://github.com/discord/discord-api-docs/pull/6398
Just turn off debug logs if you don't want to see this
This feature is not officially documented, hence why it's not merged yet