2022-09-24 13:06:19 -04:00
|
|
|
require("dotenv").config();
|
|
|
|
const { Client, Collection } = require("discord.js");
|
|
|
|
|
|
|
|
const client = new Client({ intents: 32767 });
|
|
|
|
module.exports = client;
|
|
|
|
|
|
|
|
// Global Variables
|
|
|
|
client.commands = new Collection();
|
|
|
|
client.slashCommands = new Collection();
|
|
|
|
|
|
|
|
// Initializing the project
|
|
|
|
require("./handler")(client);
|
|
|
|
|
2022-11-01 15:08:09 -04:00
|
|
|
client.login(process.env.TOKENRVN);
|