akme / sonm-community-telegram-bot

Community Operated Telegram Bot for Monitoring SONM Network

Repository from Github https://github.comakme/sonm-community-telegram-botRepository from Github https://github.comakme/sonm-community-telegram-bot

SONM Community Telegram Bot

Installation

Cloning

git clone https://github.com/taskula/sonm-community-telegram-bot.git
cd sonm-community-telegram-bot

Configuration

First, provide your Telegram Bot Token (given by @BotFather) into a terminal window

TELEGRAM_BOT_TOKEN=123456789:ABCDEFhijklmn123OPQRSTUvw4567xyz890

Then, run the following commands

cp config/telegram.json.template config/telegram.json
sed -i "s/ADD_BOT_TOKEN_HERE/$TELEGRAM_BOT_TOKEN/g" config/telegram.json

Dependencies

Now you have your Bot Token in place. Next, it is time to install Python dependencies. (if you don't yet have pipenv, please install it)

pipenv install

Running the bot

Then, simply start the bot

python3 start.py

About

Community Operated Telegram Bot for Monitoring SONM Network

License:GNU General Public License v3.0


Languages

Language:Python 98.1%Language:Shell 1.2%Language:Dockerfile 0.7%