-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.js
61 lines (56 loc) · 1.35 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
const DiscordJS = require('discord.js')
const WOKCommands = require('wokcommands')
require('dotenv').config()
const client = new DiscordJS.Client({
partials: ['MESSAGE', 'REACTION'],
})
client.on('ready', () => {
console.log(`${client.user.tag} is now online >w<`)
new WOKCommands(client, {
commandsDir: 'commands',
featureDir: 'features',
messagesPath: 'messages.json',
showWarns: true,
testServers: [''],
})
.setMongoPath(process.env.MONGO_URI)
.setBotOwner(['450330964481146880'])
.setCategorySettings([
{
name: 'Owner',
emoji: '💻',
hidden: true
},
{
// You can change the default emojis as well
name: 'Configuration',
emoji: '🚧',
// You can also hide a category from the help menu
// Admins bypass this
hidden: true
},
{
name: 'Moderation',
emoji: '🔧',
hidden: false
},
{
name: 'Info',
emoji: '📰',
hidden: false
},
{
name: 'Fun',
emoji: '⚽',
hidden: false
},
{
name: 'Music',
emoji: '🎵',
hidden: false
},
])
.setDefaultPrefix('!')
.setColor('#fff94f')
})
client.login(process.env.TOKEN)