Commit 27136f0b authored by Roman Alifanov's avatar Roman Alifanov

Update Telegram bot example to use env.VAR syntax

parent 573f120a
token = shell.capture ("printenv TELEGRAM_BOT_TOKEN")
token = env.TELEGRAM_BOT_TOKEN
if token == "" {
print ("Set TELEGRAM_BOT_TOKEN environment variable")
exit (1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment