// Debug const { DebugBuilder } = require("../utilities/debugBuilder.js"); const log = new DebugBuilder("client-bot", "leave"); // Modules const { SlashCommandBuilder } = require('discord.js'); const { leave } = require("../controllers/commandController") module.exports = { data: new SlashCommandBuilder() .setName('leave') .setDescription('Leave a voice channel'), example: "leave", isPrivileged: false, async execute(interaction) { await leave({ interaction: interaction }) } }