Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/discordeno/helpers/mod.ts>editOwnVoiceState

Discord API library for Deno
Latest
function editOwnVoiceState
import { editOwnVoiceState } from "https://deno.land/x/discordeno@18.0.1/helpers/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>