1
0
forked from MTSR/telegram
Мод для телеграм бота
Go to file
2019-10-12 20:51:36 +03:00
commands.lua If no players are on server, show a separate message instead of reporting an empty list 2019-01-26 21:04:48 +02:00
depends.txt Initial commit 2019-01-15 22:32:03 +02:00
init.lua Don't print update id each time, we don't debug anymore 2019-10-12 20:51:36 +03:00
JSON.lua Initial commit 2019-01-15 22:32:03 +02:00
LICENSE Initial commit 2019-01-15 22:33:01 +02:00
README.md Removed name suffixes, allow changing color for TG messages in-game 2019-02-17 11:23:42 +02:00

= 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