This is a tutorial about creating a telegram bot that is used for the telegram-reply-bot for steem. This idea originally came as questions flooded in about how to setup the telegram reply bot. I want people to know how to use this project successfully, so I created this tutorial that is basically how to use it including setting up your telegram service.
Requirements
- Docker is required to start and run the bot. Please make sure you have installed it. This tutorial does not cover that.
- Telegram Account please make sure you already have one.
Audience
This is intended for anyone interested in running a standalone version of the bot. You do not need to do this to use the bot. Beginners level technical knowledge is all you will need to complete this tutorial.
Here is the Video
Further Instructions
Some additional (really, they're the same) instructions on how to set this up.
Botfather
- Start a conversation in Telegram with Botfather
- Use
/newbotto create your bot - Save your token
telegram-reply-steem-bot
Setting this up is easy
docker run --rm -e STEEM_NAME=$STEEM_NAME -e BOT_TOKEN=$BOT_TOKEN r351574nc3/telegram-reply-steem-bot:latest
Unable to find image 'r351574nc3/telegram-reply-steem-bot:latest' locally
latest: Pulling from r351574nc3/telegram-reply-steem-bot
ff3a5c916c92: Already exists
63a202309518: Already exists
1757900183ba: Pull complete
946ee0e23308: Pull complete
94aecc19b4da: Pull complete
9d9cc6c94c13: Pull complete
41219978b702: Pull complete
a2728d3e09d6: Pull complete
Digest: sha256:cf1220972904f60f304c09c783d63b8587acf1c3238e2564fcdda1a21b4bd6a1
Status: Downloaded newer image for r351574nc3/telegram-reply-steem-bot:latest
> telegram-reply-steem-bot@0.1.0 start /app
> npm run serve
> telegram-reply-steem-bot@0.1.0 serve /app
> node dist/server.js
That is it. You are now running.
Start a Conversation with your Bot
You need to initiate a conversation to get those replies.
- Open a conversation with your bot
- Use
/start <your steem name> <your steem wif>
You will see something like this:
That's it! You will now get replies in telegram.
Contact Me
If you have questions, you can reach me on Telegram
Curriculum
Other steem tutorials in this series:
- Tutorial: Getting Started with git-steem-bot
- Tutorial: Weekly Digest Steembot in a Docker Container
- Tutorial: Viewing Steemit Account History
- Tutorial: OAuth2 Access Tokens and Refresh Tokens with Steemconnect by r351574nc3
Posted on Utopian.io - Rewarding Open Source Contributors