A anime themef stable pluggable Telegram bot, based on Telethon.
More Info
Documentation soon..
- Get your
API_ID
andAPI_HASH
from here and click the below button!
- Get your
API_ID
andAPI_HASH
from here - Get your
REDIS_URI
andREDIS_PASSWORD
from here, tutorial here. - Clone the repository:
git clone https://github.com/ToxygenX/Megatron.git
- Go to the cloned folder:
cd Megatron
- Create a virtual env:
virtualenv -p /usr/bin/python3 venv
. ./venv/bin/activate
- Install the requirements:
pip install -r requirements.txt
- Generate your
SESSION
:
bash sessiongen
- Fill your details in a
.env
file, as given in.env.sample
.
(You can either edit and rename the file or make a new file.) - Run the bot:
bash resources/startup/startup.sh