Skip to content

Commit

Permalink
Remove unused intents
Browse files Browse the repository at this point in the history
  • Loading branch information
SSnowly committed Nov 30, 2024
1 parent 802a89d commit fc80785
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/utils/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ export const ocrSpaceUrl = env.OCR_SPACE_URL ?? '';
export const rest = new REST({ version: '10' }).setToken(botToken);
export const gateway = new WebSocketManager({
token: botToken,
intents:
GatewayIntentBits.Guilds |
GatewayIntentBits.GuildMessages |
GatewayIntentBits.MessageContent,
intents: GatewayIntentBits.GuildMessages | GatewayIntentBits.MessageContent,
rest,
});

Expand Down

0 comments on commit fc80785

Please sign in to comment.