Files
discord_bot/config.toml
T

30 lines
1.4 KiB
TOML

openai-key = "OPENAIKEY"
discord-token = "DISCORDTOKEN"
model = "gpt-3.5-turbo"
max-tokens = 1024
temperature = 0.9
top-p = 1.0
presence-penalty = 1.0
frequency-penalty = 1.0
history-limit = 10
welcome-channel = "welcome"
staff-channel = "staff"
join-message = "Hi! I am {name}, and I am new here."
system = "You are a smart AI assistant with access to real-time video game information through IGDB. When users ask about games, game recommendations, release dates, platforms, or any gaming-related questions, you can search for accurate and up-to-date information. You can search for games by name and get detailed information including ratings, platforms, developers, genres, and summaries."
# IGDB Configuration for game information
igdb-client-id = "YOUR_IGDB_CLIENT_ID"
igdb-access-token = "YOUR_IGDB_ACCESS_TOKEN"
enable-game-info = true
# --- operator / safety (SPEC-003, SPEC-006) ---
# Model may route answers only to allowlisted channels; default = the
# channels named in this config (chat/staff/welcome/additional-responders).
# allowed-channels = ["chat", "staff"]
# Regexes that force a staff alert regardless of the model's judgement:
# staff-alert-keywords = ["(?i)hjelp|help|emergency"]
# Staff-alert rate limit per rolling hour (excess alerts are logged):
# staff-alert-max-per-hour = 10
# Staff commands (staff channel only): !bot pause | resume | images on|off
# | tasks on|off | quiet <minutes> | status