TechBuzzPro

Discord Bot Slash Command Not Showing Up? Fix It

· 5 min read · Discord

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

If your Discord bot's slash commands aren't showing up, the quickest fix is to re-invite the bot with the applications.commands scope, then restart your Discord client. This usually resolves 90% of cases. Below is the full step-by-step guide.

What You'll Need

  • Access to the Discord server where the bot is (or should be) added.
  • Manage Server permission on that server (to re-invite the bot).
  • The bot's invite link (from the Discord Developer Portal or the bot's website).
  • The bot's code or a way to edit its commands (if you're the developer).

Step-by-Step

  1. Check if the bot is online. Look at the member list in your server. If the bot shows as offline, it won't respond to slash commands. Restart the bot if you have access to its hosting.
  2. Verify the bot has the applications.commands scope. Open the Discord Developer Portal (discord.com/developers), select your bot, go to the OAuth2 > URL Generator. Check that applications.commands is ticked, along with bot if it needs to read messages. Copy the generated URL and re-invite the bot to your server using that link.
  3. Re-invite the bot. Use the invite link from step 2. When the authorization screen appears, make sure the server is correct and click "Authorize." This updates the bot's permissions and scopes.
  4. Restart Discord. Close Discord completely (right-click the tray icon on Windows and select "Quit Discord," or swipe up on mobile). Then reopen it. This forces Discord to re-fetch the command list.
  5. Type / in the chat. After restarting, type a forward slash in any text channel. If the bot's commands appear, you're done. If not, continue.
  6. Check if the bot uses global or guild commands. If you're the developer, know that global commands can take up to an hour to propagate. Guild commands (server-specific) appear instantly. If you used global commands, wait a while and then re-test.
  7. Ensure the command is registered correctly. In your bot code, check that you've actually registered the slash command (e.g., using client.on('ready') with applicationCommands.bulkOverwrite or a similar method). If you're using a library like discord.js or Pycord, follow their official docs for slash command registration.
  8. Check for command name conflicts. If another bot in the server has a command with the exact same name, Discord may hide one of them. Try renaming your command to something unique.
  9. Check bot permissions. The bot needs the Use Slash Commands permission in the channel (this is usually enabled by default, but check channel-specific permission overrides). Go to channel settings > Permissions, and ensure the bot's role has that permission.
  10. Remove and re-add the bot. As a last resort, kick the bot from the server, then re-invite it using the correct invite link. This resets all local data.

Common Mistakes

  • Forgetting the applications.commands scope. The most common cause. The bot can be in the server but not have the ability to register slash commands.
  • Using global commands and expecting instant results. Global commands can take up to an hour to appear. Use guild commands for testing.
  • Not restarting Discord. Discord caches the command list; a restart is often required.
  • Command name too long or with invalid characters. Slash command names must be lowercase, no spaces, and under 32 characters.
  • Bot is offline. No commands will show if the bot isn't running.

Tips

  • For development, always use guild commands (server-specific) so they update instantly.
  • If you're using discord.js v14+, make sure you're using the REST and Routes modules correctly to register commands.
  • Check the bot's console/terminal for any errors during command registration.
  • If you have multiple bots, give each a unique command prefix (e.g., music-play instead of play).
  • After making changes to your bot's code, restart the bot and then restart Discord client.

Troubleshooting

If the commands still don't show up after following all steps:

  1. Wait 1-2 hours. Global commands can be delayed. Check back later.
  2. Check Discord's status page. Visit discordstatus.com to see if there's an ongoing API outage affecting slash commands.
  3. Try in a different server. If commands work in another server, the issue is specific to your server's settings or permissions.
  4. Check if the bot is rate-limited. If you registered commands too many times, Discord may temporarily block the bot. Wait a few minutes.
  5. Re-create the bot application. If nothing works, create a new bot application in the Developer Portal, copy the token, and update your code. This is a nuclear option but often resolves hidden issues.

Frequently Asked Questions

Why do my slash commands show up for me but not for other users?

This usually happens if the command is set to be restricted to specific users (e.g., owner-only). Check your code for permission checks. Also, if you're testing with a global command, it may take time to propagate to all users.

How long do global slash commands take to appear?

Global commands can take up to an hour to appear after registration. Guild commands appear instantly.

Do I need to re-invite the bot every time I add a new command?

No, you only need to re-invite the bot if you're changing the scopes (e.g., adding applications.commands). For new commands, just register them in code and restart the bot.

My bot is in the server but slash commands don't show up at all. What's the first thing to check?

Check that the bot has the applications.commands scope. Go to the Developer Portal, generate an invite link with that scope, and re-invite the bot.

Can I use slash commands in DM with a bot?

Yes, but the bot must be explicitly enabled for DMs. In the Developer Portal, under your bot's settings, enable "Public Bot" and "Allow Direct Messages." Then the bot must also have a command that works in DMs.

Why does the bot show "Application did not respond" when I use a slash command?

This means the bot received the command but failed to respond within 3 seconds. Check your bot's code for errors, and make sure you're using interaction.reply() or deferReply() properly.