In Discord
Use @Nairi mention commands to bind an agent to a channel, switch modes, and inspect running tasks.
Discord does not use native slash commands for Nairi. Instead, you mention the bot and prefix the command with -cmd:
@Nairi -cmd <command>Unlike Slack, Discord command responses are posted in the channel (or in the thread, if you ran the command from inside one).
Available commands
| Command | What it does |
|---|---|
@Nairi -cmd help | Print the full command reference. |
@Nairi -cmd agents | List every agent in your org. |
@Nairi -cmd agent | Show which agent is currently the default for this channel. |
@Nairi -cmd agent=<agent-id> | Set the default agent for this channel. |
@Nairi -cmd mode=<ask|execute> | Set the default execution mode for this channel. See Modes. |
@Nairi -cmd ls | List active tasks in this channel. |
@Nairi -cmd lsa | List active tasks across every channel in this Discord server. |
Channel binding
Same model as Slack:
@Nairi -cmd agentsto list available agents.@Nairi -cmd agent=ag_…to bind the channel.@Nairi <prompt>to start using it.
To override the bound agent for one message:
@Nairi [agent=ag_…] <prompt>Modes
ask: confirm before running destructive actions (default).execute: run without asking.
Set with @Nairi -cmd mode=ask or @Nairi -cmd mode=execute.
Inspecting tasks
@Nairi -cmd lsshows tasks created in the current channel.@Nairi -cmd lsashows tasks across the Discord server.
Related
Can't find what you're looking for? Email support@nairi.ai.