Religram is userbot of Telegram, yes userbot which using your main account or your dummy account, as a bot
- First, you need to have Python and Python-pip at least version 3.6 or newer
- Then, run the installation with:
pip3 install -r requirements.txt
- Register your account API here
- Copy api_id and api_hash for config later.
- Go to @EmiliaHikariBot or @MissRose_bot, and type
/id
. Copy your ID account for later.
You can use easily config with config.py file.
- Rename config.example.py to confing.py in religram folder
- And change config like this:
api_id = 12345 # From guide no 2
api_hash = "123456789abcdefghijklmnopqrstuvw" # From guide no 2
BOT_TOKEN = "TOKEN" # Replace TOKEN from guide above (@BotFather)
- To run the bot, do:
python3 -m religram
- Fork this repo
- Create your own plugin on
religram/plugins/
by create a new file with<newplugin>.py
(fillnewplugin
to your desire, recommended to copy paste fromstart.py
) - Make sure your
__MODULE__
has no same to another plugin - And test it by running your bot
- After all ok, you can Pull Request