Owner Commands
hey , how is everyone doin , i dont have a code with issue atm since idk if what i wanna is even possible.
i got some commands which are owner only which like (/reload /turnof )
which only works for me , ( turn of command will make the bot go under maintenance and will not answer to any command except to my call , in case i wanna have an update for it ).
what is on my mind is i wanna make those commands be able to be ran with another bot? or i just have those commands in private server and not all servers.
since i dont want users even see those two commands or any commands i add later
5 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.bots can't use interactions (including commands), so that's not an option
you should just add them to a private server
how do i add those commands to a private server and still make them work and not to the public servers
i was thinking how to seperate the commands as owner ones
and i found it
if its true then it will add to another array to register them in the guildi want
bet it work