-
Notifications
You must be signed in to change notification settings - Fork 142
/
index.js
34 lines (31 loc) · 1.55 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
const client = require('./main');
require('./bot');
require('./shiva');
const loadEventHandlers = () => {
console.log('\x1b[36m[ WELCOME ]\x1b[0m', '\x1b[32mWelcome System Active ✅\x1b[0m');
const guildMemberAddHandler = require('./events/guildMemberAdd');
guildMemberAddHandler(client);
console.log('\x1b[36m[ TICKET ]\x1b[0m', '\x1b[32mTicket System Active ✅\x1b[0m');
const ticketHandler = require('./events/ticketHandler');
ticketHandler(client);
console.log('\x1b[36m[ VOICE CHANNEL ]\x1b[0m', '\x1b[32mVoice Channel System Active ✅\x1b[0m');
const voiceChannelHandler = require('./events/voiceChannelHandler');
voiceChannelHandler(client);
console.log('\x1b[36m[ GIVEAWAY ]\x1b[0m', '\x1b[32mGiveaway System Active ✅\x1b[0m');
const giveawayHandler = require('./events/giveaway');
giveawayHandler(client);
console.log('\x1b[36m[ AUTOROLE ]\x1b[0m', '\x1b[32mAutorole System Active ✅\x1b[0m');
const autoroleHandler = require('./events/autorole');
autoroleHandler(client);
console.log('\x1b[36m[ REACTION ROLES ]\x1b[0m', '\x1b[32mReaction Roles System Active ✅\x1b[0m');
const reactionRoleHandler = require('./events/reactionroles');
reactionRoleHandler(client);
const nqnHandler = require('./events/nqn');
nqnHandler(client);
const emojiHandler = require('./events/emojiHandler');
console.log('\x1b[36m[ NQN Module ]\x1b[0m', '\x1b[32mEmoji System Active ✅\x1b[0m');
emojiHandler(client);
require('./events/music')(client);
require('./shiva');
};
loadEventHandlers();