forked from MTSR/telegram
Мод для телеграм бота
499967bf52
- руссификация; - привязка отправки сообщения в конкретный топик. |
||
---|---|---|
locale | ||
.gitignore | ||
commands.lua | ||
depends.txt | ||
init.lua | ||
JSON.lua | ||
LICENSE | ||
mod.conf | ||
README.md |
= Available configurations (add to minetest.conf) =
- telegram.token -- requred, bot token aquired for your bot in telegram
- telegram.chatid -- id of the chat you will relay messages to. You can start the bot without it and send groupid command to get it later.
- telegram.timeout -- update periodicity. The bot does check for the new messages with this timeout, but the in-game messages are sent to telegram immediately. Increase for better performance.
- telegram.announce_mode -- announce player joining or leaving. Available options: none, privileged, all. Priviliged means interact for now. Player deaths may be announced in the future, but not yet.
- telegram.message_color -- color of the telegram messages in the in-game chat
- telegram.message_thread_id - unique identifier (Integer) of a message thread to which the message belongs; for supergroups only