4 Events not firing

Hey any idea why these 4 events not fire? I have 37 other events that work fine
autoModerationRuleDelete, autoModerationRuleCreate, autoModerationRuleUpdate, guildScheduledEventCreate
autoModerationRuleDelete, autoModerationRuleCreate, autoModerationRuleUpdate, guildScheduledEventCreate
const bot = new Client({
intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildModeration, GatewayIntentBits.GuildWebhooks, GatewayIntentBits.GuildInvites, GatewayIntentBits.GuildMessageReactions, GatewayIntentBits.GuildEmojisAndStickers, GatewayIntentBits.DirectMessages, GatewayIntentBits.GuildVoiceStates,GatewayIntentBits.GuildMembers,GatewayIntentBits.GuildIntegrations,GatewayIntentBits.GuildMessages,GatewayIntentBits.MessageContent, GatewayIntentBits.AutoModerationExecution, GatewayIntentBits.GuildModeration],
partials: [Partials.Channel, Partials.GuildMember, Partials.User, Partials.Reaction, Partials.GuildScheduledEvent, Partials.ThreadMember],
restRequestTimeout: 60000,
shards:'auto'
})
const bot = new Client({
intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildModeration, GatewayIntentBits.GuildWebhooks, GatewayIntentBits.GuildInvites, GatewayIntentBits.GuildMessageReactions, GatewayIntentBits.GuildEmojisAndStickers, GatewayIntentBits.DirectMessages, GatewayIntentBits.GuildVoiceStates,GatewayIntentBits.GuildMembers,GatewayIntentBits.GuildIntegrations,GatewayIntentBits.GuildMessages,GatewayIntentBits.MessageContent, GatewayIntentBits.AutoModerationExecution, GatewayIntentBits.GuildModeration],
partials: [Partials.Channel, Partials.GuildMember, Partials.User, Partials.Reaction, Partials.GuildScheduledEvent, Partials.ThreadMember],
restRequestTimeout: 60000,
shards:'auto'
})
Example: all the others are the same way
bot.on('autoModerationRuleCreate', async (autoModerationRule) => {
console.log(autoModerationRule)
})
bot.on('autoModerationRuleCreate', async (autoModerationRule) => {
console.log(autoModerationRule)
})
4 Replies
d.js toolkit
d.js toolkit6mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by OP
apzrn
apzrn6mo ago
Whcih are they?
d.js docs
d.js docs6mo ago
- Websocket intents limit events and decrease memory usage: learn more - See what intents you need here
apzrn
apzrn6mo ago
Fixed thanks
Want results from more Discord servers?
Add your server