Skip to main content
Module

x/discordeno/mod.ts>updateBotVoiceState

Discord API library for Deno
Extremely Popular
Go to Latest
function updateBotVoiceState
import { updateBotVoiceState } from "https://deno.land/x/discordeno@13.0.0-rc45/mod.ts";

Updates the bot's voice state Caveats:

  • channel_id must currently point to a stage channel.
  • Bot must already have joined channel_id.
  • You must have the MUTE_MEMBERS permission. But can always suppress yourself.
  • You must have the REQUEST_TO_SPEAK permission to request to speak. You can always clear your own request to speak.
  • You are able to set request_to_speak_timestamp to any present or future time.
  • When suppressed, the user will have their request_to_speak_timestamp removed.

Parameters

bot: Bot
guildId: bigint