Telegram group chats are authoritarian by default. This Telegram bot enforces group anarchy.

Karam Assany 467911326a Some bug fixes and optimization 4 months ago
app 467911326a Some bug fixes and optimization 4 months ago
LICENSE 75684d0146 Initial commit 4 months ago
Procfile 467911326a Some bug fixes and optimization 4 months ago
README.md 467911326a Some bug fixes and optimization 4 months ago
composer.json 75684d0146 Initial commit 4 months ago

README.md

Group Anarchy Enforcer

Telegram group chats are authoritarian by default; each group has a set of members (so-called "admins") that enjoys unjust power over other members and the group in general. This bot enforces group anarchy by making sure (up to the technical limitation) all members in a group are admins and having the full permissions applicable.

Sample instance: @GroupAnarchy_bot

Please make you own instance instead of using the sample one.

Deploying to Heroku

  1. Create a new bot on Telegram and a new app on Heroku
  2. Clone this repo and add your Heroku app git remote
  3. Set BOT_TOKEN config var to your Telegram bot token
  4. Set USER_NAME config var to your Telegram bot username
  5. Set APP_NAME config var to your Heroku app name
  6. Push the code
  7. Set a webhook by issuing https://APP_NAME.herokuapp.com.com/set_hook.php

Make sure to enable the bot to join groups and add the following command:

enforce - Enforce you or someone is an admin in the group

License

Copyright (C) 2020 Karam Assany. Email: karam.assany@tuta.io

Licensed under the MIT (Expat) license.