Upload New File
This commit is contained in:
commit
ed6fb2fbcb
9
index.js
Normal file
9
index.js
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
const { Client, Collection } = require('discord.js');
|
||||||
|
const dotenv = require('dotenv'); dotenv.config();
|
||||||
|
const client = new Client({ intents: 513 });
|
||||||
|
|
||||||
|
client.commands = new Collection();
|
||||||
|
|
||||||
|
['CommandUtil', 'EventUtil'].forEach(handler => { require(`./utils/handlers/${handler}`)(client) });
|
||||||
|
|
||||||
|
client.login(process.env.DISCORD_TOKEN);
|
Loading…
Reference in New Issue
Block a user