Update commands to use the new slash command builder
- Updated app js to remove Emmelia remnants
This commit is contained in:
@@ -4,7 +4,19 @@ const log = new DebugBuilder("client-bot", "status");
|
||||
// Modules
|
||||
const {getVoiceConnection} = require("@discordjs/voice");
|
||||
// Utilities
|
||||
const { replyToInteraction } = require('../utilities/messageHandler.js');
|
||||
const {replyToInteraction} = require("../utilities/messageHandler.js");
|
||||
const { SlashCommandBuilder } = require('discord.js');
|
||||
|
||||
module.exports = {
|
||||
data: new SlashCommandBuilder()
|
||||
.setName('status')
|
||||
.setDescription('Check the status of the bot'),
|
||||
example: "status",
|
||||
isPrivileged: false,
|
||||
async execute(interaction) {
|
||||
await this.status({ interaction: interaction });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
exports.status = async function status({interaction= undefined, guildID= undefined, callback = undefined}) {
|
||||
|
||||
Reference in New Issue
Block a user