- a running Lighter node.
- we use Zbar to work with qr codes. The Debian package is
libzbar0, and the Arch Linux one iszbar - other requirements are specified into the
requirements.txtfile
contact the @BotFather on Telegram.
use the command
→ /newbot
set a name
→ a name
set a username (must match /^[\w_]*(B|b)(O|o)(T|t)$/)
→ a_username_for_the_bot
copy the provided API token (e.g. 1136891621:AABLkgdThOneiNwfBNX95_X5x3vXUVF0KnJ)
configure the lighter section of config file. An example can be found in config.sample.
save the file as config.
start nodebot
→ $ ./bot.py
provide the API token
→ > 1136891621:AABLkgdThOneiNwfBNX95_X5x3vXUVF0KnJ
contact the registered telegram bot, it will answer a message with a five digits number. Copy the nuber into the shell to complete the pairing.
start with the command help.