myanimebot.example.conf 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. # Database configuration
  8. mariadb.host = $DB_HOST
  9. mariadb.user = $DB_USER
  10. mariadb.password = $DB_PASSWORD
  11. mariadb.name = $DB_NAME
  12. # SSL configuration for MariaDB
  13. mariadb.ssl = false
  14. mariadb.ssl.ca =
  15. mariadb.ssl.cert =
  16. mariadb.ssl.key =
  17. # timezone (should be the same as the DB and your Linux system)
  18. timezone = Europe/Paris
  19. # New feed since this number of minutes will be displayed (useful when the bot crashed for a long period)
  20. secondMax = 7200
  21. # How much time should the bot need to wait between fetches
  22. anilist_seconds_between_fetches = 60
  23. # Delay (in seconds) between each requests on MAL website (increase this value in case of timeout)
  24. myanimelist_seconds_between_requests = 2
  25. # Discord Token
  26. token = $DISCORD_TOKEN
  27. # Prefix used by the bot
  28. prefix = !mab
  29. # Bot icons
  30. iconMAL = https://cdn.myanimelist.net/img/sp/icon/apple-touch-icon-256.png
  31. iconAniList = https://anilist.co/img/icons/android-chrome-512x512.png
  32. iconBot = http://myanimebot.pentou.eu/rsc/bot_avatar.jpg
  33. # Healthcheck web page configuration
  34. # TO BE USED FOR INTERNAL USE ONLY, NOT PRODUCTION READY
  35. healthcheck_enabled = false
  36. healthcheck_port = 15200
  37. healthcheck_ip = 127.0.0.1