Developer
DIAdiscord.js - Imagine an app
•Created by Developer on 9/8/2024 in #djs-questions
Welcome message
So, the client.on of welcome.js should be in a folder called "events" with only the client.on and the imports there?
17 replies
DIAdiscord.js - Imagine an app
•Created by Developer on 9/8/2024 in #djs-questions
Welcome message
yes the client.on is
17 replies
DIAdiscord.js - Imagine an app
•Created by Developer on 9/8/2024 in #djs-questions
Welcome message
wdym
17 replies
DIAdiscord.js - Imagine an app
•Created by Developer on 9/8/2024 in #djs-questions
Welcome message
DiscordJS: 14.15.3
Node: 21.4.0
17 replies
DIAdiscord.js - Imagine an app
•Created by Developer on 9/3/2024 in #djs-questions
Not loading ban command
Resolved ✅
17 replies
DIAdiscord.js - Imagine an app
•Created by Developer on 9/3/2024 in #djs-questions
Not loading ban command
If i create any file with the same configuration as the ping one it works fine, same for the ban command, but the ban command appears only if i delete the .addUserOption
17 replies
DIAdiscord.js - Imagine an app
•Created by Developer on 9/3/2024 in #djs-questions
Not loading ban command
It should be passed as ping command does
17 replies
DIAdiscord.js - Imagine an app
•Created by Developer on 9/3/2024 in #djs-questions
Not loading ban command
17 replies
DIAdiscord.js - Imagine an app
•Created by Developer on 9/3/2024 in #djs-questions
Not loading ban command
?
17 replies
DIAdiscord.js - Imagine an app
•Created by Developer on 9/3/2024 in #djs-questions
Not loading ban command
you mean about the rest.put
17 replies
DIAdiscord.js - Imagine an app
•Created by Developer on 9/3/2024 in #djs-questions
Not loading ban command
nodemon
17 replies
DIAdiscord.js - Imagine an app
•Created by Developer on 9/2/2024 in #djs-questions
Can't use commands of other files
Thanks you!
10 replies
DIAdiscord.js - Imagine an app
•Created by Developer on 9/2/2024 in #djs-questions
Can't use commands of other files
10 replies
DIAdiscord.js - Imagine an app
•Created by Developer on 9/2/2024 in #djs-questions
Can't use commands of other files
https://discordjs.guide/creating-your-bot/command-deployment.html#guild-commands you mean with the rest.put in this part of documentation?
10 replies
DIAdiscord.js - Imagine an app
•Created by Developer on 9/2/2024 in #djs-questions
Can't use commands of other files
I didn't
10 replies
DIAdiscord.js - Imagine an app
•Created by Developer on 9/2/2024 in #djs-questions
Can't use commands of other files
Do you mean doing nodemon ping.js stopping it and then doing nodemon index.js?
10 replies
DIAdiscord.js - Imagine an app
•Created by Developer on 9/2/2024 in #djs-questions
Can't use commands of other files
10 replies
DIAdiscord.js - Imagine an app
•Created by Developer on 9/2/2024 in #djs-questions
Can't use commands of other files
Node Version: 21.4.0
npm list discord.js: [email protected]
The commands don't appear when i write / with the bot + i have the ping command that normally you do in the index.js but i removed it (https://discord.js.org/docs/packages/discord.js/14.15.3) now i have that one /ping command even if i removed it from the code, instead of having the ping command of my ping.js file.
ping.js:
10 replies