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