17 lines
487 B
JavaScript
17 lines
487 B
JavaScript
// Debug
|
|
const { DebugBuilder } = require("../utilities/debugBuilder");
|
|
const log = new DebugBuilder("client", "ping");
|
|
// Modules
|
|
const { SlashCommandBuilder } = require('discord.js');
|
|
const { join } = require("../controllers/commandController")
|
|
|
|
module.exports = {
|
|
data: new SlashCommandBuilder()
|
|
.setName('join')
|
|
.setDescription('Join a voice channel'),
|
|
example: "join",
|
|
isPrivileged: false,
|
|
async execute(interaction) {
|
|
await join({ interaction: interaction });
|
|
}
|
|
} |