diff --git a/ircbot.json b/config_en.json similarity index 72% rename from ircbot.json rename to config_en.json index c299145..899f182 100644 --- a/ircbot.json +++ b/config_en.json @@ -10,10 +10,10 @@ "handler": { - "help": "available functions: 'search' and 'test'.", + "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.", "logpath": "/var/www/irc-log", - "admin": "acetone", + "admin": "obama", "success": "success :)", "error": "error :(", "trylater": "try later.", diff --git a/config_ru.json b/config_ru.json new file mode 100644 index 0000000..b095f1f --- /dev/null +++ b/config_ru.json @@ -0,0 +1,28 @@ +{ + "socket": + { + "address": "127.0.0.1", + "port": "6667", + "channel": "#ircabot", + "nickname": "ircabot", + "password": "" + }, + + "handler": + { + "help": "доступная команда: 'поиск' (по логу) и 'спасибо'. Чтобы скрыть содержимое сообщения из лога, добавьте точку в начало. Чтобы сообщение вовсе не попало в лог - две точки.", + + "logpath": "/var/www/irc-log", + "admin": "bigboss", + "success": "успешно.", + "error": "ошибка.", + "trylater": "попробуйте позже.", + + "find": "поиск", + "notfound": "ничего не найдено.", + "findzero": "краткий поиск: 'поиск <слово>', расширенный поиск с выдачей результата в ЛС: 'поиск <ГГГГ-ММ-ДД> [слово]'.", + "links": "http://example.domain/irc-log/", + + "спасибо": "не за что, любимый." + } +}