Skip to content
a-sync edited this page Apr 18, 2022 · 6 revisions

How to get it

You need a telegram account to acquire one.

  1. talk to @BotFather
  2. use /newbot and follow the instructions
  3. at the end of the process you should see the token

You can use /revoke when talking to @BotFather to invalidate your token at anytime.

Environmental variables

Set your token as the value of TELEGRAM_BOT_TOKEN env var to enable telegram bot features.

Configuration options

Set the telegram.chatIds property for each game server with a list of telegram chat IDs where the telegram bot should post and update the server status message.

The simplest way to get a telegram chat ID is to invite @getidsbot and use /start to make it post (among other data) the chat ID.

Clone this wiki locally