Issue registering command on a specific guild using guildIds

Hello, I am having some issues trying to register a slash command to a specific guild. I have this "dev" command that should be registering on one guild (my dev guild), for that im specifying the guild ID in the guildIds array in the registry options. I had an issue before were the command was being registered into both (global and guild) so it was showing duplicated commands. To revert that, I deleted every global slash command aswell as guild commands and let sapphire handle the registration of all of them from scratch, but this "dev" command is registering globally. I have no idea if im doing something wrong or if this is potentially an issue within the library.
No description
1 Reply
ShompiFlen
ShompiFlenOP11mo ago
"dependencies": {
"@sapphire/framework": "^4.8.2",
"@sapphire/plugin-hmr": "^2.0.3",
"@sapphire/plugin-subcommands": "^5.1.0",
"@sapphire/utilities": "^3.13.0",
"discord.js": "^14.14.1",
},
"dependencies": {
"@sapphire/framework": "^4.8.2",
"@sapphire/plugin-hmr": "^2.0.3",
"@sapphire/plugin-subcommands": "^5.1.0",
"@sapphire/utilities": "^3.13.0",
"discord.js": "^14.14.1",
},
Nevermind guys, turns out for some reason the object was on the wrong scope in the registry, too much stuff going on in there and it didn't show any error. As always it gets resolved after you make the forum post. o7
Want results from more Discord servers?
Add your server