Kode
Kode
DIAdiscord.js - Imagine an app
Created by Sythan on 3/11/2024 in #djs-questions
Issues with channel ID fetched from MySQL database.
They can be integers, save the channel I'd as BigInt. Ensure supportBigNumbers=true Console out the returned details from the DB ensure your calling it correctly.
7 replies
DIAdiscord.js - Imagine an app
Created by Penitent on 3/12/2024 in #djs-questions
Creating an embed for polling
34 replies
DIAdiscord.js - Imagine an app
Created by Penitent on 3/12/2024 in #djs-questions
Creating an embed for polling
Interactions are much more reliable imo. Buttons don't have some of the limitations that reactions do.
34 replies
DIAdiscord.js - Imagine an app
Created by sa'd on 2/7/2024 in #djs-questions
Formatting text inside embeds
Yeah concat all the strings together and put in one
code block
like this
code block
like this
12 replies
DIAdiscord.js - Imagine an app
Created by sa'd on 2/7/2024 in #djs-questions
Formatting text inside embeds
Can check string length and add spaces based on the structure "Universal" is 9 chars+2spaces would be a total length of 11. Ensure all stings below are 11 in length before adding the |
12 replies
DIAdiscord.js - Imagine an app
Created by Kode on 2/6/2023 in #djs-questions
Onboarding Event?
Answered my question about rules screening.. Member.pending endpoint is set when new member hasn't completed rules. Still looking for the On-Boarding event if there is one.
3 replies
DIAdiscord.js - Imagine an app
Created by Torrino on 9/13/2022 in #djs-questions
Any tips for optimizing work on converting all bot commands to slash commmands.
In my experience it was more of building a structure that you can take the bulk of your existing code. Most of the changes for me were changing from MessageCreate Event to the interaction event. Also I built a general response function that takes in the interaction event to respond to the user or log an activity.
13 replies