1
0

myanimebot.example.conf 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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.schema = public
  26. postgresql.port = 5432
  27. # timezone (should be the same as the DB and your Linux system)
  28. timezone = Europe/Paris
  29. # New feed since this number of minutes will be displayed (useful when the bot crashed for a long period)
  30. secondMax = 7200
  31. # How much time should the bot need to wait between fetches
  32. anilist_seconds_between_fetches = 60
  33. # Delay (in seconds) between each requests on MAL website (increase this value in case of timeout)
  34. myanimelist_seconds_between_requests = 2
  35. # Discord Token
  36. token = $DISCORD_TOKEN
  37. # Prefix used by the bot
  38. prefix = !mab
  39. # Bot icons
  40. iconMAL = https://cdn.myanimelist.net/img/sp/icon/apple-touch-icon-256.png
  41. iconAniList = https://anilist.co/img/icons/android-chrome-512x512.png
  42. iconBot = http://myanimebot.pentou.eu/rsc/bot_avatar.jpg
  43. # Healthcheck web page configuration
  44. healthcheck_enabled = false
  45. healthcheck_port = 15200
  46. healthcheck_ip = 127.0.0.1