This bot generates key every 8 hours and send it in telegram channel. you should change 17 and 18 lines with your bot API and your channel Telegram ID.
example:
Bot API :
12345678:yourapiyourapiyourapiyourapiTelegram channel :
@yourchannel
After you build the robot using
@botfather, make that robot on the admin channel and access it to send the message and send/startin your Telegram Bot.
Open your server and upload the code and requirements file and Enter This commands in your directory:
Be sure to create a directory inside the server and run those files inside.
screen -S (optional_name)
cd (your new directory)
pip install -r requirements.txt
python main.py
This github repo is for EDUCATIONAL PURPOSES ONLY. I am NOT under any responsibility if a problem occurs.
If you have any problem with this code; please report to this telegram id: @mehdiasmart