An Telethon userbot that made to collect samples of spam and automating the process
of triggering /fban
across Telegram for your bot federation.
- Fork the repo to the namespace you have access.
- Sign in to Heroku, create an new app for your fork then generate an new API token (Account Settings -> Applications).
- Open the CI/CD Settings, expand the Variables section, then add your app name as
HEROKU_APP_NAME
and your API key asHEROKU_PRODUCTION_KEY
. - Before deploying to Heroku, see the detailed configuration list below before editing strings or doing some code edits.
WIP.
Requires Python 3.x and Git during the initial setup. For updating, simply git pull
(to pull code changes) and ./spsmcollector-cli install --virtualenv
(to update dependencies).
- Fork the repo to the namespace you have access.
- Clone your fork onto your machine.
- Copy the
config.sample.py
, edit and save asconfig.py
. - Install dependencies with using the
bin/bootstrap
script. - Depending on your operating system, run
start.sh
orstart.bat
.
Environment Variable | Description | Type |
---|---|---|
ENV |
To enable env mode. | Boolean |
API_ID_KEY |
Telegram API app ID, generted from https://my.telegram.org | Interger |
API_HASH_KEY |
Telegram API app hash, generted from https://my.telegram.org | String |
STRING_SESSION |
String session, generated from the spsmcollector-cli generate-string-session . |
String |
BOT_TOKEN |
Bot API token, generated from BotFather, for inline stuff | String |
HEROKU_API_KEY |
Heroku API key, generated from Account Settings -> Applications. | String |
HEROKU_APP_NAME |
Your Heroku app slug. | String |
MONGO_DB_URL |
MongoDB URL, must be the 3.4+ URL format. | String |
Sibyl_logs |
Chat ID where ban requests are sent. | Interger |
Sibyl_approved_logs |
Chat ID where approved requests are being logged. | Interger |
GBAN_MSG_LOGS |
Chat ID where triggeres /fban command. |
Interger |
- Original repo where we forked: https://github.com/AnimeKaizoku/SibylSystem.