Skip to main content
JoBot exposes several AI-related settings that let you balance response quality, creativity, and Anthropic API cost. Some settings are global and controlled by environment variables; others can be overridden per-server by guild admins using slash commands.

Global AI settings

These settings are configured as environment variables in your docker-compose.yml or .env file. They apply to all guilds unless a per-guild override is in place.
Higher values for Ai__MaxTokens and Ai__MaxToolIterations directly increase per-message Anthropic API costs. Start with the defaults and adjust based on observed usage.

Per-guild overrides

Guild admins can override temperature, history length, and music volume for their specific server using /settings slash commands — without touching environment variables or restarting the bot. The overridable settings are:
  • AI temperature/settings set temperature <value>
  • Max history messages/settings set max-history <number>
  • Music volume/settings set volume <number>
See Per-server settings for the full list of commands and required permissions.
Per-guild overrides take effect immediately and do not require a bot restart. The global environment variable value acts as the default for any guild that has not set its own override.

Custom system prompt

The system prompt is the foundational instruction set passed to Claude at the start of every conversation. It controls JoBot’s persona, tone, memory behavior, and any hard rules you want it to follow.

Default JoMusic prompt

Out of the box, JoBot ships with the JoMusic persona:

Customizing the prompt

Each guild can replace this prompt entirely. Use /settings set prompt to open a modal editor pre-filled with the current prompt. The custom prompt can be up to 4,000 characters. To restore the default JoMusic prompt, run /settings reset SystemPrompt.

Choosing a Claude model

The Ai__Model environment variable accepts any Anthropic model slug. The default claude-sonnet-4-6 is a balanced choice that offers strong reasoning and tool use at moderate cost. To change the model, update the variable in your .env file and restart the bot:
Refer to the Anthropic model documentation for the full list of available models and their capabilities.