Skip to content

instant992/ghostguard

Repository files navigation

Anjani

forthebadge made-with-python

DeepSource Codacy Badge

A modular Telegram group management bot running with Python based on Pyrogram.

Can be found on Telegram as Anjani.

Requirements

Set Up

Configuration

Set up your bot configuration variables by renaming config.env_sample to config.env and edit it with your values.

Configuration must be done before running the bot, otherwise it will fail to run.

Dependencies

Install all required dependencies by running

python3 -m pip install -r requirements.txt.

Install the bot along with depencies by running

python3 -m pip install .

Error: Directory '.' is not installable. File 'setup.py' not found.

This common error is caused by an outdated version of pip. This is a relatively new standard, so a newer version of pip is necessary to make it work.

Upgrade to pip 19 to fix this issue: pip3 install -U pip

Run

Once everything set up, start the client by running

python3 -m anjani

Plugin

If you want to make your custom plugins, refer to Anjani's Wiki. It has a lot of important things to read and a plugin example to guide you.

Credits

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages