1
0
forked from MTSR/telegram
Мод для телеграм бота
Go to file
Aleksandr Avdeev 499967bf52 Доработать мод:
- руссификация;
- привязка отправки сообщения в конкретный топик.
2024-10-09 16:51:45 +03:00
locale Доработать мод: 2024-10-09 16:51:45 +03:00
.gitignore Доработать мод: 2024-10-09 16:51:45 +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 Доработать мод: 2024-10-09 16:51:45 +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
mod.conf fork 2024-10-09 14:09:19 +05:00
README.md Доработать мод: 2024-10-09 16:51:45 +03: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
  • telegram.message_thread_id - unique identifier (Integer) of a message thread to which the message belongs; for supergroups only