-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathastranium.config.js
53 lines (50 loc) · 1.73 KB
/
astranium.config.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
const { GatewayIntentBits, Options, Partials } = require("discord.js");
const { config } = require("dotenv");
const { name, version } = require("./package.json");
config();
/**
* Configuration options for the Astranium client.
* @type {import("./src/lib/Client").AstraniumConfig}
*/
module.exports = {
clientID: process.env.CLIENT_ID,
clientOptions: {
intents: [
GatewayIntentBits.AutoModerationConfiguration,
GatewayIntentBits.AutoModerationExecution,
GatewayIntentBits.DirectMessageReactions,
GatewayIntentBits.DirectMessageTyping,
GatewayIntentBits.DirectMessages,
GatewayIntentBits.GuildBans,
GatewayIntentBits.GuildEmojisAndStickers,
GatewayIntentBits.GuildIntegrations,
GatewayIntentBits.GuildInvites,
GatewayIntentBits.GuildMembers,
GatewayIntentBits.GuildMessageReactions,
GatewayIntentBits.GuildMessageTyping,
GatewayIntentBits.GuildMessages,
GatewayIntentBits.GuildScheduledEvents,
GatewayIntentBits.GuildPresences,
GatewayIntentBits.GuildVoiceStates,
GatewayIntentBits.GuildWebhooks,
GatewayIntentBits.Guilds,
GatewayIntentBits.MessageContent
],
makeCache: Options.cacheEverything(),
partials: [
Partials.Channel,
Partials.GuildMember,
Partials.GuildScheduledEvent,
Partials.Message,
Partials.Reaction
]
},
guildID: process.env.GUILD_ID,
name: name[0].toUpperCase() + name.slice(1),
owners: [
"921906726817644594", // tncz
],
release: "Alpha",
token: process.env.TOKEN,
version
};