Update 1.0.0
This commit is contained in:
14
index.js
Normal file
14
index.js
Normal file
@@ -0,0 +1,14 @@
|
||||
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);
|
||||
Reference in New Issue
Block a user