-
Notifications
You must be signed in to change notification settings - Fork 4
Configuration
DISCORD_TOKEN: string, discord bot token
GEMINI_API_KEY: string, gemini api key
GEMINI_MODEL: string, gemini model id
ALIASES: array of strings, list of the aliases for the bot (like names)
CHANNELS: array of strings, list of channel ids
PROMPT_PATHS: object, see example
"PROMPT_PATHS": {
"channelId": "promptName.md"
}LOCALE: string, see: https://simplelocalize.io/data/locales/
WIKI_URLS: object, see example
"WIKI_URLS": {
"channelId": ["url1", "url2"]
}WEBUI_PORT: integer, port number of the webui
OWNERS: array of strings, "owner" user ids
TIMINGS: object, see configuration below (uses seconds)
"TIMINGS": {
"saveReps": 60, // reputation file saving interval
"resetPrompt": 600 // prompt refresh job interval
}SEARX_BASE_URL: string, base url of a searx instance (recommended to run your own, since most public instances doesn't allow json format querying)
EMOJIS: object, see configuration (uses emoji ids)
"EMOJIS": {
"uploaded": "", // file upload indicator
"upvote": "", // +rep indicator
"downvote": "", // -rep indicator
"search": "", // search indicator
"mute": "", // timeout indicator
"uploading": "" // file upload indicator
}MAX_MESSAGES: integer, number of history objects before old ones getting deleted
SLEEPINGRANGE: string, range when the bot "sleeps" (example: 20:00-10:00 from 20:00 to 10:00)
PROXIES: array of objects, see example
"PROXIES": [
{
"host": "", // host ip/hostname
"port": "", // port
"protocol": "http", // protokoll (http, https)
"auth": { // authentikáció (opcionális)
"username": "", // felhasználónév
"password": "" // jelszó
}
}
]REMOTE_LISTS: array of urls, plaintext domain list to be blocked when getting context from searches (Big lists = more ram usage)
Lists should use the following format:
example.com
baddomain.com
# szia albert
*albert.lol
localhost.local
Domain