Files
discord-bot/index.js
Noah Pombas 584afd0fe6 Update 1.0.0
2024-04-21 19:07:51 +02:00

14 lines
354 B
JavaScript

const Discord = require("discord.js");
const client = new Discord.Client({intents: 32767});
const handler = require("./handler/index");
require("dotenv").config()
module.exports = client;
client.discord = Discord;
client.slash = new Discord.Collection();
handler.loadEvents(client);
handler.loadSlashCommands(client);
client.login(process.env.TOKEN);