> ## Documentation Index
> Fetch the complete documentation index at: https://botmesh.afaya.com.co/llms.txt
> Use this file to discover all available pages before exploring further.

# slashCommandsPlugin

> Variable exported by @botmesh/core.

```ts theme={null}
const slashCommandsPlugin: PluginSpec<SlashCommandsConfig>;
```

Defined in: [plugins/slashCommands.ts:60](https://github.com/andresayac/botmesh/blob/main/packages/core/src/plugins/slashCommands.ts#L60)

Built-in plugin with `/start`, `/help`, `/reset`, `/cancel`, `/id` and `/ping`, plus a
reply to unknown commands. Its texts are localized (`core.commands.*`). Plug it before catch-all
plugins such as `aiPlugin` so its commands win.

## Example

```ts theme={null}
bot.plug(slashCommandsPlugin, { greeting: 'Hi! Type /reset to start over.' })
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.