breaking bad
This commit is contained in:
13
src/bot.ts
13
src/bot.ts
@@ -6,8 +6,17 @@ const env: EnvConst = loadConfig()
|
||||
|
||||
const bot = createBot({
|
||||
token: env.BOT_TOKEN,
|
||||
intents: Intents.Guilds | Intents.GuildMessages | Intents.MessageContent |
|
||||
Intents.DirectMessages,
|
||||
desiredProperties: {
|
||||
message: {
|
||||
id: true,
|
||||
author: true,
|
||||
},
|
||||
user: {
|
||||
id: true,
|
||||
toggles: true, // Toggles includes the "bot" flag
|
||||
username: true,
|
||||
},
|
||||
},
|
||||
|
||||
events: {
|
||||
ready() {
|
||||
|
||||
Reference in New Issue
Block a user