Refactor codebase to use ES modules, add logger utility, and update package dependencies

This commit is contained in:
2025-02-09 14:58:31 -05:00
parent 55b4111fe3
commit 876c3daa7f
10 changed files with 471 additions and 70 deletions
+3 -5
View File
@@ -6,12 +6,10 @@
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
const { SlashCommandBuilder, EmbedBuilder } = require('discord.js');
import { SlashCommandBuilder, EmbedBuilder } from 'discord.js';
module.exports = {
data: new SlashCommandBuilder()
.setName('help')
.setDescription('Lists all available commands'),
export default {
data: new SlashCommandBuilder().setName('help').setDescription('Lists all available commands'),
async execute(interaction) {
const { commands } = interaction.client;
const helpEmbed = new EmbedBuilder()