MENIX
MENIX
DIAdiscord.js - Imagine an app
Created by Louis on 6/20/2023 in #djs-questions
How to update a v12 bot to current
Updating your intents and following the guides posted earlier regards to updating from V12 > V13 & then V13 > V14 is very relevant to your bots code. Embeds are changed, How you use the bot is changed (Intents), how you send messages embeds are changed. There is a lot of things, you will need to update code wise. As you say yourself, not everything will apply to your bot - thats fine, however take one step at a time, go through the red [-] & green [+] fields in the update guide. if somethings not relevant for you, move on - but there has to be a lot.
304 replies
DIAdiscord.js - Imagine an app
Created by Unicorn. on 5/1/2023 in #djs-questions
Why add role says invalidtype
Read into how to require and read the data from a json file - that isn’t really DiscordJS related. Pretty sure you cannot do const { something } = require(..json) Const something = require(…json) Would be correct. Then you gotta grab whatever you want from something like Something.CCroleId (CCroelId)
11 replies
DIAdiscord.js - Imagine an app
Created by JollyJohn on 4/3/2023 in #djs-questions
GuildJoinEvent
No code provided, hard to know. Also how you will manage things regards to your data, is most likely not related to DiscordJS anyways. - But as Kinect says, check the guilds on the ready event and do x or y if guild is found or not found in relation to your database data. #useful-servers
9 replies