refactor progress

This commit is contained in:
Hampus Kraft
2026-02-17 12:22:36 +00:00
parent cb31608523
commit d5abd1a7e4
8257 changed files with 1190207 additions and 761040 deletions

View File

@@ -0,0 +1,34 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"name": "VOICE_SERVER_UPDATE",
"description": "Sent when the voice server for a guild or call is updated.",
"scope": "presence",
"dispatchedBy": ["gateway"],
"note": "Sent after joining a voice channel or when the voice server changes. Includes channel_id for both guild voice and DM calls.",
"payload": {
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "Voice connection token for authenticating with the voice server"
},
"endpoint": {
"type": "string",
"description": "Voice server host (hostname:port)"
},
"connection_id": {
"type": "string",
"description": "Connection ID for this voice connection"
},
"guild_id": {
"type": "string",
"description": "Guild ID (present for guild voice channels)"
},
"channel_id": {
"type": "string",
"description": "Channel ID"
}
},
"required": ["token", "endpoint", "connection_id"]
}
}