Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Mirror from Gitlab

License

NotificationsYou must be signed in to change notification settings

DarkSuniuM/ArchieBot

Repository files navigation

A Telegram bot to prevent spamming ads by MTProto (CLI) and API Bots.

Features

  • Kick Bots (Not MTPRoto bots, but the accounts that Telegram identifies as bot)
  • Preventing spammers by showing them a simple math equation as captcha
  • Search in Archlinux's Wiki

Normal Setup

0. Requirements

  • Python 3.6+

1. How to setup

  1. Clone repository.
  2. Create a virtual environment usingvirtualenv venv inside the cloned directory.
  3. Activate the virtual environment usingsource venv/bin/activate.
  4. Install requirements usingpip install -r requirements.txt.
  5. Create a MariaDB/MySQL Database.
  6. Rename.env.example to.env and fill in the data.
  7. Migrate database to the latest version usingalembic upgrade head.

2. Usage

  • Run theapp.py file, you can use something liketmux orscreen to run it in background.

Docker Setup

You can run this bot using Docker too!

1. How to Setup

  1. Clone this repostiry
  2. Go to the project's directory
  3. Create a MariaDB/MySQL Database.
  4. Rename.env.example to.env and fill in the data.
  5. Build the docker image usingdocker build . -t archie_bot

2. Usage

  1. Run the container usingdocker run -d archie_bot

About

Mirror from Gitlab

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors6


[8]ページ先頭

©2009-2025 Movatter.jp