-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
51 lines (46 loc) · 988 Bytes
/
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
const DiscordJS = require("discord.js");
const WOKCommands = require("wokcommands");
require("dotenv").config();
const mongo = require("./mongo");
const client = new DiscordJS.Client({
partials: ["MESSAGE", "REACTION"],
});
client.on("ready", async () => {
console.log("READY");
await mongo();
new WOKCommands(client, {
commandsDir: "commands",
featureDir: "features",
messagesPath: "messages.json",
showWarns: true,
})
.setMongoPath(process.env.MONGO_URI)
.setBotOwner(["139858712801181697"])
.setCategorySettings([
{
name: "Alliance",
emoji: "🔫",
},
{
name: "Drink",
emoji: "🍺",
},
{
name: "Fun",
emoji: "🎮",
},
{
name: "Util",
emoji: "💻",
},
{
name: "Misc",
emoji: "❓",
},
{
name: "Admin Testing",
hidden: true,
},
]);
});
client.login(process.env.TOKEN);