myanimebot.example.conf 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. [MYANIMEBOT]
  2. # Level of log, could be DEBUG, INFO, ERROR...
  3. # Only impact the logs in the DB and the logfile, the console stay in INFO
  4. logLevel = INFO
  5. # Path of the log file
  6. logPath = myanimebot.log
  7. # Type of database (mariadb/postgresql)
  8. database.type = mariadb
  9. # Database configuration
  10. mariadb.host = $DB_HOST
  11. mariadb.user = $DB_USER
  12. mariadb.password = $DB_PASSWORD
  13. mariadb.name = $DB_NAME
  14. mariadb.port = 3306
  15. # SSL configuration for MariaDB
  16. mariadb.ssl = false
  17. mariadb.ssl.ca =
  18. mariadb.ssl.cert =
  19. mariadb.ssl.key =
  20. # PostgreSQL Database configuration (can be empty if MariaDB used)
  21. postgresql.host = $DB_HOST
  22. postgresql.user = $DB_USER
  23. postgresql.password = $DB_PASSWORD
  24. postgresql.name = $DB_NAME
  25. postgresql.port = 5432
  26. # timezone (should be the same as the DB and your Linux system)
  27. timezone = Europe/Paris
  28. # New feed since this number of minutes will be displayed (useful when the bot crashed for a long period)
  29. secondMax = 7200
  30. # How much time should the bot need to wait between fetches
  31. anilist_seconds_between_fetches = 60
  32. # Delay (in seconds) between each requests on MAL website (increase this value in case of timeout)
  33. myanimelist_seconds_between_requests = 2
  34. # Discord Token
  35. token = $DISCORD_TOKEN
  36. # Prefix used by the bot
  37. prefix = !mab
  38. # Bot icons
  39. iconMAL = https://cdn.myanimelist.net/img/sp/icon/apple-touch-icon-256.png
  40. iconAniList = https://anilist.co/img/icons/android-chrome-512x512.png
  41. iconBot = http://myanimebot.pentou.eu/rsc/bot_avatar.jpg
  42. # Healthcheck web page configuration
  43. healthcheck_enabled = false
  44. healthcheck_port = 15200
  45. healthcheck_ip = 127.0.0.1