How to use slash commands of my bot on any discord server ?

Hi, my bot is running well but when i add it to another server (with admin perms) i can't see my bot's slash commands : how cani fix it (I'm using a GUILD_ID token but i want to set it "responsive")
5 Replies
d.js toolkit
d.js toolkit6mo 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
treble/luna
treble/luna6mo ago
Deploy globally
d.js docs
d.js docs6mo ago
guide Creating Your Bot: Registering slash commands - Command registration > Global commands read more
Skylife
Skylife6mo ago
if u just have a few server u can run the REST request again with another GUILD_ID
HydrA2F/ミズさん
I'll try tomorrow Thx it works well now ! (I've been searching in index.js but it was in deploy-commands.js)