FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

daScript/examples/telegram at master · WhyNot135/daScript · GitHub

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

daspkg-telegram example

Telegram echo bot using the dasTelegram package installed via daspkg.

Setup

daspkg install

This reads .das_package and installs dasTelegram into modules/.

Or install directly:

daspkg install dasTelegram

Run

Set your bot token (from @BotFather):

export TELEGRAM_BOT_TOKEN="your-token-here"

Or create a .bot_token file in this directory.

Then run:

daslang echo_bot.das --

The bot echoes back any text message you send it.


Back | FazBrowse Home | New Git URL