how do i make a new command?

I have added it in the app.js command.js and commands.js
19 Replies
d.js toolkit
d.js toolkit3d ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
d.js docs
d.js docs3d ago
:guide: Creating Your Bot: Creating slash commands read more
Unknown User
Unknown User3d ago
Message Not Public
Sign In & Join Server To View
𝖗𝖚𝖒𝖎𝖟
ok i am using the discord template, how would that work?
Unknown User
Unknown User3d ago
Message Not Public
Sign In & Join Server To View
𝖗𝖚𝖒𝖎𝖟
from the start?
Unknown User
Unknown User3d ago
Message Not Public
Sign In & Join Server To View
𝖗𝖚𝖒𝖎𝖟
ok will do thanks i have made it until the part where i deploy my commands but the bot doesnt respond and only says that it took to long
Unknown User
Unknown User3d ago
Message Not Public
Sign In & Join Server To View
𝖗𝖚𝖒𝖎𝖟
no, i dont think so
Unknown User
Unknown User3d ago
Message Not Public
Sign In & Join Server To View
𝖗𝖚𝖒𝖎𝖟
how can i set that up? did i miss it on the docs?
duck
duck3d ago
It's the step after this one and before deploying commands
d.js docs
d.js docs3d ago
:guide: Message Components: Component interactions - The Client#interactionCreate event read more
Unknown User
Unknown User3d ago
Message Not Public
Sign In & Join Server To View
d.js docs
d.js docs3d ago
:guide: Creating Your Bot: Command handling - Receiving command interactions read more
duck
duck3d ago
It's also covered here
Unknown User
Unknown User3d ago
Message Not Public
Sign In & Join Server To View
𝖗𝖚𝖒𝖎𝖟
ok thanks

Did you find this page helpful?