Const { Client } = require('discord.js');
Const client = new client ({
Intents: [
// Your intents
"Discord.Intents.FLAGS.GUILD_MESSAGES",
"Discord.Intents.FLAGS.GUILD_MEMBERS"
]
});
Const { Client } = require('discord.js');
Const client = new client ({
Intents: [
// Your intents
"Discord.Intents.FLAGS.GUILD_MESSAGES",
"Discord.Intents.FLAGS.GUILD_MEMBERS"
]
});
Const { Client } = require('discord.js');
Const client = new client ({
Intents: [
// Your intents
"GUILD_MESSAGES",
"GUILD_MEMBERS"
]
});
Const { Client } = require('discord.js');
Const client = new client ({
Intents: [
// Your intents
"GUILD_MESSAGES",
"GUILD_MEMBERS"
]
});
You should check your privileged gateway intents in the discord developer portal and select the intents that are required for your Bot
You should check your privileged gateway intents in the discord developer portal and select the intents that are required for your Bot