-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.ts
24 lines (22 loc) · 819 Bytes
/
index.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
import "colors";
import { IntentsBitField } from "discord.js";
import dotenv from "dotenv";
dotenv.config();
import { AxerBot } from "./models/core/AxerBot";
const axer = new AxerBot({
intents: [
IntentsBitField.Flags.Guilds,
IntentsBitField.Flags.GuildMembers,
IntentsBitField.Flags.GuildMessages,
IntentsBitField.Flags.MessageContent,
IntentsBitField.Flags.GuildMessageReactions,
IntentsBitField.Flags.GuildMessageTyping,
IntentsBitField.Flags.DirectMessageTyping,
IntentsBitField.Flags.DirectMessages,
IntentsBitField.Flags.DirectMessageReactions,
IntentsBitField.Flags.DirectMessageTyping,
IntentsBitField.Flags.GuildVoiceStates,
IntentsBitField.Flags.GuildModeration,
],
}).start();
export const bot = axer;