config_en.json 905 B

123456789101112131415161718192021222324252627282930313233
  1. {
  2. "socket":
  3. {
  4. "address": "127.0.0.1",
  5. "port": "6667",
  6. "channel": "#ircabot",
  7. "nickname": "ircabot",
  8. "password": ""
  9. },
  10. "handler":
  11. {
  12. "help": "available functions: 'search' and 'test'. To hide the contents of a message from the log, add a dot at the beginning. So that the message does not get into the log at all - two dots.",
  13. "minlen": "4",
  14. "logpath": "/var/www/irc-log",
  15. "admin": "obama",
  16. "success": "success :)",
  17. "error": "error :(",
  18. "trylater": "try later.",
  19. "find": "search",
  20. "notfound": "not found.",
  21. "findzero": "quick search: 'search <word>', detailed search with output to PM: 'search <YYYY-MM-DD> [word]'.",
  22. "links": "http://example.domain/irc-log/"
  23. },
  24. "custom":
  25. {
  26. "test": "it's work!"
  27. }
  28. }