1
0

myanimebot.example.conf 1.2 KB

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