-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.js
33 lines (33 loc) · 1.38 KB
/
main.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
const {Client, Partials, GatewayIntentBits} = require('discord.js');
const color = require('./modules/commands/color');
module.exports = {
maindepend: function () {
// ytch = require('yt-channel-info');
global.client = new Client({
intents: [
GatewayIntentBits.Guilds,
GatewayIntentBits.GuildMessages,
GatewayIntentBits.GuildPresences,
GatewayIntentBits.DirectMessages,
GatewayIntentBits.DirectMessageReactions,
GatewayIntentBits.MessageContent,
GatewayIntentBits.GuildMembers,
GatewayIntentBits.GuildMessageReactions,
GatewayIntentBits.GuildWebhooks,
GatewayIntentBits.GuildVoiceStates,
GatewayIntentBits.GuildInvites,
GatewayIntentBits.GuildBans,
], partials: [Partials.Channel]
})
},
modules: function () {
require('./modules/goose').goose()
require('./modules/newmember').new()
global.color = require('./modules/commands/color')
global.help = require('./modules/commands/help')
global.purge = require('./modules/commands/purge')
global.reboot = require('./modules/commands/reboot')
global.flipcoin = require('./modules/commands/flipcoin')
global.intro = require('./modules/commands/intro')
}
}