Development
Slash Command
Also called application command
A command registered with Discord and invoked with a leading slash. Discord provides the autocomplete, argument types and permission checks, replacing the old prefix-parsing approach.
Slash commands are registered either globally or per guild. Global registration can take up to an hour to propagate; guild registration is immediate, which is why a bot may show new commands in one server before another.
A command that does not appear at all usually means the bot was invited without the
applications.commands scope — re-inviting with it fixes it.