GuildScheduledEvent triggers

Can anyone point me in the right direction? Trying to handle when a user subscribes/unsubscribes from a guild event. discordjs v14.16.2
client.on(Events.GuildScheduledEventUserAdd, async (event, user) => {
console.log(event);
console.log(user);
});

client.on(Events.GuildScheduledEventUserRemove, async (event, user) => {
console.log(event);
console.log(user);
});
client.on(Events.GuildScheduledEventUserAdd, async (event, user) => {
console.log(event);
console.log(user);
});

client.on(Events.GuildScheduledEventUserRemove, async (event, user) => {
console.log(event);
console.log(user);
});
I can't even get the events to log anything. I have GatewayIntentBits.GuildScheduledEvents and Partials.GuildScheduledEvent
2 Replies
d.js toolkit
d.js toolkit5w 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
6xx
6xxOP5w ago
[email protected] node v20.17.0
Want results from more Discord servers?
Add your server