RAH3RI
RAH3RI
DIAdiscord.js - Imagine an app
Created by RAH3RI on 10/12/2023 in #djs-questions
Cannot run deployment scripts
Hi, I'm feeling really dumb right now. I haven't touched my code in a couple months and I'm finally back at it but I'm facing some issue. I'm using VSCode and used to be able to simply press F5 while editing a file (for example : deploy-commands.js) to run it. Now it automatically runs the index.js of my project... I need to deploy my commands though. How come? Am I tweaking?
12 replies
DIAdiscord.js - Imagine an app
Created by RAH3RI on 4/2/2023 in #djs-questions
Best approach for this ?
Hello there, so I wanna make a little game where the goal is simple : count. So, in a dedicated channel, people would send numbers one by one and if they miss one they lose etc. The question is : should I simply handle it in an Event file, which would be triggered every time a message is created then check for the channel etc ? Or is there a better way to handle that ?
7 replies
DIAdiscord.js - Imagine an app
Created by RAH3RI on 3/27/2023 in #djs-questions
Receiving button interactions
Hello there, I'd like some help regarding button interactions. I know how to build a button row and send it (see code below) But I don't know how to receive interactions from it... I've read this page : https://discordjs.guide/interactions/buttons.html#receiving-button-interactions But still. So if someone can help a bit with that, it'd be appreciated ! :)
19 replies
DIAdiscord.js - Imagine an app
Created by RAH3RI on 3/23/2023 in #djs-questions
Manually runnable scripts
Is there a way to simply make a script which does not correspond to a command nor an event, which you just run manually ? (For example if I just want to send a special message manually once)
12 replies
DIAdiscord.js - Imagine an app
Created by RAH3RI on 3/21/2023 in #djs-questions
Coding in Intellij
11 replies