Event Properties missing?

Hello, I have gotten essentially all the base components of my bot to work at this point, but when booting up the only thing that runs into trouble now is the event I have. The loader says that it is missing a property from the template, but from what I can tell there does not seem to be anything missing, have I written something incorrectly in the template or event? The event is intended to detect when a user completes the Discord Onboarding and then give them a basic role if they have not already been given another one of the main roles.
No description
7 Replies
d.js toolkit
d.js toolkit3mo 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
Du
Du3mo ago
Template:
No description
Du
Du3mo ago
Loader:
No description
Danial
Danial3mo ago
It's Events.GuildMemberUpdate
Du
Du3mo ago
A capital G fixed it, though why does the documentation use a lowercase g?
Danial
Danial3mo ago
Enum members are always PascalCase, and the event name is guildMemberUpdate
d.js docs
d.js docs3mo ago
:interface: Events