Discord.js v13 bermaksud
const allIntents = new Intents(32767);
const client = new Client({ allIntents });
// discord.js v13 - start all intents
Pudochu
const allIntents = new Intents(32767);
const client = new Client({ allIntents });
// discord.js v13 - start all intents
const Discord = require("discord.js");
const client = new Discord.Client({
intents: [Discord.Intents.FLAGS.GUILDS, Discord.Intents.FLAGS.GUILD_MEMBERS, Discord.Intents.FLAGS.GUILD_BANS, Discord.Intents.FLAGS.GUILD_MESSAGES, Discord.Intents.FLAGS.DIRECT_MESSAGES]
});