swapped to a new db locally hosted

This commit is contained in:
2025-10-06 00:25:29 -04:00
parent 097583ca0a
commit ca23c0ab8c
40 changed files with 2244 additions and 556 deletions

View File

@@ -23,16 +23,17 @@ const rest = new REST({ version: '10' }).setToken(process.env.DISCORD_BOT_TOKEN)
const deployCommands = async (guildId) => {
try {
console.log(`Started refreshing application (/) commands for guild ${guildId}.`);
// Minimal logging: indicate a refresh is happening (no per-guild spam)
console.log('🔁 Refreshing application commands...');
await rest.put(
Routes.applicationGuildCommands(process.env.DISCORD_CLIENT_ID, guildId),
{ body: commands },
);
console.log(`Successfully reloaded application (/) commands for guild ${guildId}.`);
console.log(`✅ Reloaded application commands (${commands.length} commands)`);
} catch (error) {
console.error(error);
console.error('Failed to deploy commands:', error && error.message ? error.message : error);
}
};