Files
AuroraBot-discord/app/src/scripts/deploy.ts

16 lines
350 B
TypeScript

import { KyokoClient } from "@lib/KyokoClient";
console.log("🚀 Starting deployment script...");
// Load all commands first
await KyokoClient.loadCommands(false);
console.log(`📦 Loaded ${KyokoClient.commands.size} commands.`);
// Deploy
await KyokoClient.deployCommands();
console.log("👋 Deployment script finished.");
process.exit(0);