import { isBotInVoiceChannel } from "https://deno.land/x/harmony@v2.9.0/src/interactions/mod.ts";
The command can only be called if the bot is currently in a voice channel.
GatewayIntents.GUILD_VOICE_STATES
needs to be set.
x/harmony/src/interactions/mod.ts>isBotInVoiceChannel
import { isBotInVoiceChannel } from "https://deno.land/x/harmony@v2.9.0/src/interactions/mod.ts";
The command can only be called if the bot is currently in a voice channel.
GatewayIntents.GUILD_VOICE_STATES
needs to be set.