Skip to content

bobu4/manage_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

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

image

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

image

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

image

We got output to our bot. That's all.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages