Skip to content

Telegram bot for searching, linking content and validator state checking in the cyber network

License

Notifications You must be signed in to change notification settings

Snedashkovsky/cyberdBot

Repository files navigation

cyberdBot t.me/cyberdbot

Telegram bot for creation cyberLinks on the cyberd knoledge graph, upload content to IPFS and monitoring cyberd node status data

Install

Install IPFS node
Install cyberd node
Clone repository:

git clone https://github.com/Snedashkovsky/cyberdBot

Install requirements

pip3 install --user -r cyberdBot/requirements.txt
sudo apt-get install expect

Add your Telegram Bot Token, cyberd key name and cyberd passphrase into start_bot.sh

Run

./start_bot.sh  m|main|s|scheduler  [d|dev]

Using:
   m|main - Main Bot
   s|scheduler - Monitoring Scheduler
   [d|dev] - Development Mode

Test

python3 -m pytest -s -v *.py src/*.py

Commands

You can set commands in the @BotFather by /setcommands command. The command list:

search - Search
cyberlink - Create cyberLink  
ipfs - Upload to IPFS  
tweet - Tweet  
check - Jail check  
validators - Validator list  
issue - Create issue or send feedback

Requirements

Python 3.6 or higher

Data for the Bostrom Genesis

Bot user addresses with the number of created cyberlinks as of 10/08/2021.