I don't know how to register commands

A while ago i created a discord bot with only one command, and i think i lost some files. The only command that works is ping, do i have to register the cother commands in some way? And if so, how?
Here's the source code. https://github.com/Aryxst/efestus-bot
GitHub
GitHub - Aryxst/efestus-bot
Contribute to Aryxst/efestus-bot development by creating an account on GitHub.
3 Replies
d.js toolkit
d.js toolkit10mo 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! - Marked as resolved by OP
Aryxst
AryxstOP10mo ago
I remember of some rest registration back when i was looking at djs, but i dont know how to do that
d.js docs
d.js docs10mo ago
:guide: Creating Your Bot: Registering slash commands read more
Want results from more Discord servers?
Add your server