CatalystMoon/index.js

15 lines
359 B
JavaScript
Raw Normal View History

2022-07-22 18:09:13 -04:00
require("dotenv").config();
const { Client, Collection } = require("discord.js");
const client = new Client({ intents: 4097 });
2022-07-22 18:09:13 -04:00
module.exports = client;
// Global Variables
client.commands = new Collection();
client.slashCommands = new Collection();
// Initializing the project
require("./handler")(client);
client.login(process.env.TOKEN);