i have a doubt is the intent fuction update in v14.5.0 ?

const client = new Client({ intents: [ Intents.FLAGS.GUILDS, Intents.FLAGS.GUILD_MESSAGES ] });
9 Replies
d.js toolkit
d.js toolkit8mo 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
Unknown User
Unknown User8mo ago
Message Not Public
Sign In & Join Server To View
theold.kingu
theold.kinguOP8mo ago
is this the right method to initialize the client in v14 ? ooh how do we do it in v14.5.0 ? @rmHawk765
d.js docs
d.js docs8mo ago
Suggestion for @KinGu: :guide: Additional Information: Updating from v13 to v14 read more
Unknown User
Unknown User8mo ago
Message Not Public
Sign In & Join Server To View
theold.kingu
theold.kinguOP8mo ago
ooh well is it same for all v13 ?
Unknown User
Unknown User8mo ago
Message Not Public
Sign In & Join Server To View
theold.kingu
theold.kinguOP8mo ago
ooh thnx ty
d.js docs
d.js docs8mo ago
Tag suggestion for @KinGu: Version 14 has released! Please update at your earliest convenience. - Update: npm rm discord.js npm i discord.js - Update guide (use CTRL + F to search for the old method or property)
Want results from more Discord servers?
Add your server