1
0
Fork 0
hal-9000/config/production.hal.json

49 lines
1.4 KiB
JSON
Raw Permalink Normal View History

{
"prefix": "!",
"nickname": "#{BOT_NICKNAME}#",
"database": {
"host": "#{POSTGRES_HOST}#",
"user": "#{POSTGRES_USER}#",
"pass": "#{POSTGRES_PASSWORD}#",
"database_name": "#{POSTGRES_DATABASE_NAME}#",
"port": 5432
},
"channels": {
"log": "#{LOG_CHANNEL_ID}#"
},
"responses_file_path": "txt/responses.#{BOT_IDENTIFIER}#",
"services": {
"weather": {
"source_uri": "https://api.weatherapi.com/v1",
"cache_mode": "NoCache",
"api_key": "#{WEATHER_API_KEY}#"
},
"frog_tips": {
"source_uri": "https://frog.tips/api/1/tips/",
"cache_name": "frog_tips",
"cache_mode": "Cache"
},
"dog_pics": {
"source_uri": "https://api.thedogapi.com/v1/images/search?limit=100&order=RAND",
"cache_name": "dog_pics",
"cache_mode": "Cache",
"api_key": "#{DOGPICS_API_KEY}#"
},
"cat_pics": {
"source_uri": "https://api.thecatapi.com/v1/images/search?limit=100&order=RAND",
"cache_name": "cat_pics",
"cache_mode": "Cache",
"api_key": "#{CATPICS_API_KEY}#"
},
"dad_jokes": {
"source_uri": "https://icanhazdadjoke.com/search?limit=30",
"cache_name": "dad_jokes",
"cache_mode": "Cache"
},
"nasa_apod": {
"source_uri": "https://api.nasa.gov/planetary/apod?api_key=NZfKclpoaO9HnvfvaCjeJ3csDecvIqNiABVw2YvN",
"cache_name": "nasa_apod",
"cache_mode": "NoCache"
}
}
}