Skip to content

Commit

Permalink
bug fixed #5 🎅
Browse files Browse the repository at this point in the history
  • Loading branch information
RishBroProMax authored Dec 21, 2024
1 parent f80bc05 commit ca4fa32
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ require('dotenv').config();

const client = new Client({
intents: [
GatewayIntentBits.Guilds,
GatewayIntentBits.GuildMessages,
GatewayIntentBits.MessageContent,
GatewayIntentBits.DirectMessages,
GatewayIntentBits.Guilds, // For guild events
GatewayIntentBits.GuildMessages, // For receiving messages in guilds
GatewayIntentBits.MessageContent, // To allow reading message content
GatewayIntentBits.DirectMessages, // For DM messages
],
});

Expand Down

0 comments on commit ca4fa32

Please sign in to comment.