Added more Commands

This commit is contained in:
Noah Pombas
2025-02-13 04:42:11 +01:00
parent 216e95ee3e
commit 7860aab0e8
21 changed files with 684 additions and 253 deletions

View File

@@ -1,14 +1,19 @@
// =============================================
// = CONSTANTS =
// =============================================
const Discord = require("discord.js");
const client = new Discord.Client({intents: 32767});
const handler = require("./handler/index");
require("dotenv").config()
require("dotenv").config();
client.login(process.env.TOKEN);
module.exports = client;
client.discord = Discord;
client.slash = new Discord.Collection();
handler.loadEvents(client);
handler.loadSlashCommands(client);
client.login(process.env.token);
process.on("uncaughtException", function (err) {
console.log("CRASH", err);
});