-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.ts
32 lines (28 loc) · 889 Bytes
/
config.ts
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
import { dotEnvConfig, Intents } from "./deps.ts";
dotEnvConfig({ export: true });
/*
Get Token and Client ID from https://discord.com/developers/applications/
*/
export const BOT_TOKEN = Deno.env.get("BOT_TOKEN") || "";
export const BOT_ID = Deno.env.get("BOT_ID") || "";
/** The gateway intents you would like to use. */
export const INTENTS: Intents =
Intents.DirectMessageReactions |
Intents.DirectMessageTyping |
Intents.DirectMessages |
Intents.GuildBans |
Intents.GuildEmojis |
Intents.GuildIntegrations |
Intents.GuildInvites |
Intents.GuildMembers |
Intents.GuildMessageReactions |
Intents.GuildMessageTyping |
Intents.GuildMessages |
Intents.GuildPresences |
Intents.GuildVoiceStates |
Intents.GuildWebhooks |
Intents.Guilds;
/*
Check out https://deno.land/x/[email protected]/mod.ts?s=GatewayIntents
If want to add more INTENTS.
*/