Tim
DIAdiscord.js - Imagine an app
•Created by Tim on 3/28/2024 in #djs-questions
Using intents in V14
I just updated a repo to v14 but cannot figure out how to wrangle intents at all. Can someone show me code that works correctly with the intents?
The latest code that worked was something like
and now it gives TypeError [ClientMissingIntents]: Valid intents must be provided for the Client.
at Client._validateOptions (/home/thetis/coding/SI_Card_Bot/node_modules/discord.js/src/client/Client.js:512:13)
at new Client (/home/thetis/coding/SI_Card_Bot/node_modules/discord.js/src/client/Client.js:80:10)
25 replies