Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

This bot will help you to manage your groups and to prevent spam.

License

Notifications You must be signed in to change notification settings

jonatan1609/GroupManagerBot

Repository files navigation

GroupManagerBot

This bot will help you to manage your groups and to avoid spam.

Installation

git clone https://github.com/jonatan1609/GroupManagerBot.git

And then you can run the bot on your python virtual environment (venv) or use docker.

configuration

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.

venv (linux)

sh start.sh

In case you want to skip the process of packages installation/updates you can run it with the flag -s | --skip.

Docker

Use :latest for latest published version, you can specify a release or even a branch and commit. e.g :master-d1dc0d4

  1. Create a config directory, and create a config.toml inside
    mkdir -p ~/group-manager-config
    cp .config.toml.example ~/group-manager-config/config.toml
    # Configure the bot
    nano ~/group-manager-config/config.toml
  2. Run the docker container, add -d to run in the background
    docker run -v ~/group-manager-config:/config \
    ghcr.io/jonatan1609/group-manager-bot:latest

support

You can join our Telegram Group to get live support with either the bot itself or related stuff.