Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
function editOwnVoiceState
import { editOwnVoiceState } from "https://deno.land/x/discordeno@17.0.0/helpers/guilds/voice/mod.ts";

Edits the voice state of the bot user.

Parameters

bot: Bot
  • The bot instance to use to make the request.
guildId: BigString
  • The ID of the guild in which to edit the voice state of the bot user.
options: EditOwnVoiceState
  • The parameters for the edit of the voice state.

Returns

Promise<void>