This bot will help you to manage your groups and to avoid spam.
git clone https://github.com/jonatan1609/GroupManagerBot.git
And then you can run the bot on your python virtual environment (venv) or use docker.
Copy .config.toml.example
into config.toml
and fill the relevant fields. api_id
and api_hash
which you can obtain from https://my.telegram.org, and bot_token which you can get from https://t.me/botfather.
- You can also choose what Database you want to use. read pony.orm documentation and modify the entire block under bot.database with the relevant fields that pony.orm.Database requires.
sh start.sh
In case you want to skip the process of packages installation/updates you can run it with the flag -s
| --skip
.
Use
:latest
for latest published version, you can specify a release or even a branch and commit. e.g:master-d1dc0d4
- Create a config directory, and create a
config.toml
insidemkdir -p ~/group-manager-config cp .config.toml.example ~/group-manager-config/config.toml # Configure the bot nano ~/group-manager-config/config.toml
- Run the docker container, add
-d
to run in the backgrounddocker run -v ~/group-manager-config:/config \ ghcr.io/jonatan1609/group-manager-bot:latest
You can join our Telegram Group to get live support with either the bot itself or related stuff.