Trooper
Trooper
DIAdiscord.js - Imagine an app
Created by Trooper on 1/23/2025 in #djs-questions
Slash commands not being created
Sorry I know this has been posted multiple times before and it must be getting old by now, but I read many posts and none of the answers I found worked for me. I am using the latest version of D.JS and Node. I have followed the tutorial to create a bot, but the slash commands simply don't show up at all. I tried restarting my Discord client several times, restarting the bot, removing the app, adding it back, etc. it just won't do anything. I am not sure what am I missing. When I run the deploy-commands.js file it says it worked successfully. I am, however, using a .env file, whereas the tutorial uses a .json file. But still I don't see how this changes anything. Let me know if you want any specific code or anything. Thanks for reading! Sorry again for the inconvenience.
20 replies