Learn
Migrating to Slash Commands
This tutorial is only relevant for existing servers that are not already using slash commands. This does not apply to servers that added Atlas after April 1st, 2022.
Atlas only supports slash commands. Prefixed message commands (such as a!help) are no longer supported, as Discord no longer allows bots to offer them.
To setup slash commands in your server:
- Go to the guild overview in your server
- Hit "Sync Now"
Once it finishes loading, slash commands should be working in your server. Type / to view them.
Toggling plugins, commands or creating actions will automatically sync slash commands - there is no need to manually sync them after the initial sync.
# Resources
# Troubleshooting
# "Missing Access" errors
Because slash commands did not exist until recently, so in some older servers Atlas does not have permission to register slash commands. To give Atlas the right permissions, you'll have to re-authorise it.
You do not have to kick the bot before re-authorising it.
- Go to atlas.bot/get
- Select the server with the error
- Click "Continue"
- Click "Authorise"
- Back on atlas.bot, click "Complete Setup"
- Click "Sync Now" under "Force Sync" in the "Danger Zone" section on the guild overview page.
It can take up to a few minutes to finish syncing slash commands.
# "Invalid Form Body" errors
When Atlas syncs slash commands in your server, it also includes actions from that server in the sync. Sometimes, actions can be setup incorrectly and can cause issues when syncing.
The most common cause is actions with uppercase or special characters in the command names. To fix this, update the command name and make sure it strictly uses characters a-z.
# Something else
Still having issues? Feel free to join our support server and ask for help.