BoxWithout
BoxWithout
DIAdiscord.js - Imagine an app
Created by BoxWithout on 2/21/2024 in #djs-questions
Help collecting a button component
Now it makes A LOT more sense XD. Thank you.
28 replies
DIAdiscord.js - Imagine an app
Created by BoxWithout on 2/21/2024 in #djs-questions
Help collecting a button component
I understand. I appreciate your time, thanks again!
28 replies
DIAdiscord.js - Imagine an app
Created by BoxWithout on 2/21/2024 in #djs-questions
Help collecting a button component
That makes sense. I appreciate your help!
28 replies
DIAdiscord.js - Imagine an app
Created by BoxWithout on 2/21/2024 in #djs-questions
Help collecting a button component
response belongs to the modal submission.
28 replies
DIAdiscord.js - Imagine an app
Created by BoxWithout on 2/21/2024 in #djs-questions
Help collecting a button component
the interaction type is button, the embed that triggered it was from a modal submission.
28 replies
DIAdiscord.js - Imagine an app
Created by BoxWithout on 2/21/2024 in #djs-questions
Help collecting a button component
Would you happen to know why that isn't included in the tutorial? Is there something specific about my code that requires that?
28 replies
DIAdiscord.js - Imagine an app
Created by BoxWithout on 2/21/2024 in #djs-questions
Help collecting a button component
That was it! Thank you!
28 replies
DIAdiscord.js - Imagine an app
Created by BoxWithout on 2/21/2024 in #djs-questions
Help collecting a button component
with .js syntax highlighting: https://pastebin.com/c6xJQJFN
28 replies
DIAdiscord.js - Imagine an app
Created by BoxWithout on 2/21/2024 in #djs-questions
Help collecting a button component
[email protected] node v20.10.0
28 replies
DIAdiscord.js - Imagine an app
Created by sachoochoo on 2/15/2024 in #djs-questions
How to write a JSON file with a list of discord.js statuses and import it into the main index.js?
They're both valid options. I tend to keep my constants in the file which they are relevant to, and when I need to use them elsewhere I put them in a constants file. I never forget where they are, because if I need to change them the purpose is immediately relevant, but to each their own.
26 replies
DIAdiscord.js - Imagine an app
Created by sachoochoo on 2/15/2024 in #djs-questions
How to write a JSON file with a list of discord.js statuses and import it into the main index.js?
^ This is the best route if you intend to use these variables elsewhere, sachoochoo. If you only intend to use these variables in index.js, just announce them at the top of your index file.
26 replies
DIAdiscord.js - Imagine an app
Created by sachoochoo on 2/15/2024 in #djs-questions
How to write a JSON file with a list of discord.js statuses and import it into the main index.js?
Is this data being read by other files, or only the index file?
26 replies