twilight
twilight copied to clipboard
refactor(model)!: cleanup and document `voice`
Documents all public items in the voice
module. Removes CloseCodeConversionError
and the undocumented VoiceState::token
field.
Should we apply the unknown variant changes to
CloseCode
? I think so, if a new one is added then users can use an unknown variant as a shim
I've tried my best to mirror gateway::CloseCode
, and since that does not have it, I don't think this should either.
Just the conflicts need to be resolved, then this PR is good to go.