Global Slash Commands won't appear in one guild

Issue - Commands won't show up in one of my guilds - I can invite the bot to different servers and it creates them fine - I removed the bot and added the bot but none of the commands show up for the guild that is having issue's - Using client.application.commands.fetch() all my commands do show up - Using client.guilds.cache the guild in question also shows up - I tried checking Server Settings > Integrations > App it does not show up here actually but if you check audit logs it shows as added - Yes I've restarted my client - Yes I've used a different client (IOS , Web , PTB) - Yes I have perms in the guild
const registerCommandsPromise = (
guildId
? rest.put(Routes.applicationGuildCommands(clientId, guildId), { body: commandData })
: rest.put(Routes.applicationCommands(clientId), { body: commandData })
).then(() => ({ type: 'registerCommands' }))
const timeoutPromise = timeout(
() => ({ type: 'timeout' }),
config.timeouts?.commandRegistration || DEFAULT_CONFIG.timeouts.commandRegistration
)
const registerCommandsPromise = (
guildId
? rest.put(Routes.applicationGuildCommands(clientId, guildId), { body: commandData })
: rest.put(Routes.applicationCommands(clientId), { body: commandData })
).then(() => ({ type: 'registerCommands' }))
const timeoutPromise = timeout(
() => ({ type: 'timeout' }),
config.timeouts?.commandRegistration || DEFAULT_CONFIG.timeouts.commandRegistration
)
No description
3 Replies
d.js toolkit
d.js toolkit13h 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!
ja
jaOP13h ago
discord.js version: [email protected] node version: v20.16.0
Amgelo
Amgelo13h ago
to avoid misunderstandings

Did you find this page helpful?