This tool is used for manage remote server via telegram. First you need to get api credentials from here: https://my.telegram.org And create new bot here: https://t.me/BotFather Installation
Install package installer for python
apt-get install python3-pip -y
Download libraries for our script
pip3 install telethon
Download python script and make the file executable
wget https://raw.githubusercontent.com/bobu4/manage_bot/main/manage_bot.py ; chmod +x manage_bot.py
Edit script with your credentials
nano manage_bot.py
Save our script by press Ctrl+X then y
Run new tmux session and run our script in new window
tmux python3 manage_bot.py
Detach from our secondary window by pressing Ctrl+b then D
Start our bot by click or type /start
For sending command to the remote server press button Send command and then type command. For example, withdraw rewards from vote account in solana testnet
We got output to our bot. That's all.