1
0

myanimebot.example.conf 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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 = logs/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. delayMAL = 2
  20. # Discord Token
  21. token = 123456789ABCDEF987654321FEDCBA
  22. # Prefix used by the bot
  23. prefix = !mabbot
  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