Don't want to hold back? Can't help yourself? Need to yell? Want to find limits when the bot bans?
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaaaaaaaaaAAAAAAAAAAAAAAAA
This bot guards a chat and removes non-"AAAaaA" messages. The shout is defined as a text message with "Aa"s in any language or a whitelisted sticker.
Don't want to mess with a Python dependency management? Then use Docker:
docker-compose --build up
.
Otherwise get API_ID
and API_HASH
from https://my.telegram.org/, ask
@BotFather for BOT_TOKEN
, find out
FOREST_CHAT_ID
yourself and follow these steps with Python 3.11 installed:
pip install pip-tools
pip-sync
export API_ID=123 API_HASH=XYZ BOT_TOKEN=XYZ FOREST_CHAT_ID=-123
python -m forest-bot
pip-sync requirements.txt dev-requirements.txt
./codequality
Code is licensed under the Apache License. You may obtain a copy of the license at LICENSE file.