r/discordbot • u/[deleted] • 7d ago
Help developing Discord Bot
This is my first post ever, my apologies if it's not properly structured.
I've been developing my own bot for a while now, everything has been going smoothly so far, but since a few days ago I've got a problem. In my bot, I made a /setup command, allowing users to designate what role can use moderator commands (besides the owner of course).
The command works smoothly in my support server, with the ID in the .env file and everything properly implemented. However, it does not appear in foreign servers. My tester can't ever find it whenever I try to modify the command for it to appear globally.
At this point I've modified the setup-js, my index.js, deploy-commands.js, and even the startup command. I've even tried asking AI for help, but not even it gives me a satisfactory result. Can someone tell me what am I doing wrong? I don't know what should I do now.