Voice
List Voice Regions
GetAPIVoiceRegions
Returns an array of voice region objects that can be used when setting a voice or stage channel's rtc_region.
import { listVoiceRegions } from "dressed";
const voiceRegions = await listVoiceRegions();Get User Voice State
GetAPIGuildVoiceStateUser
Returns the specified user's voice state in the guild.
import { getVoiceState } from "dressed";
const voiceState = await getVoiceState(guildId, userId);Modify User Voice State
PatchAPIGuildVoiceStateUser
Updates a user's voice state.
import { modifyVoiceState } from "dressed";
await modifyVoiceState(guildId, userId, data);