Files
discord-bot/index.js
Noah Pombas 33a8ddd796 modified: .env
modified:   README.md
	modified:   commands/moderation/moveuser.js
	modified:   handler/index.js
	modified:   index.js
	modified:   package.json
	commands/moderation/ban.js
	node_modules/
	package-lock.json
2024-09-30 18:39:01 +02:00

15 lines
355 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);