Skip to content

Files

Latest commit

eac4adf · Dec 14, 2024

History

History
34 lines (23 loc) · 1.26 KB

README.md

File metadata and controls

34 lines (23 loc) · 1.26 KB

RudeBot

Karmabot for telegram chat @rude_chat

CircleCI License Tests Tests Tests Tests Tests Tests

Waterfall

Install

Use next environment variables:

  • RUDEBOT_TELEGRAM_TOKEN={YOUR_TOKEN} - telegram token

    (other variables is not necessary and have default values)

  • RUDEBOT_FLOOD_TIMEOUT=10 - cooldown to allow +- karma per chat, default 30 seconds

  • RUDEBOT_DELETE_TIMEOUT=30 - time before bot messages being deleted

  • RUDEBOT_ALLOWED_CHATS=-10010101,-10000101010 - whitelist chats. If it empty or not added to envs, whitelist mode will be turned off.

Docker compose: create .env file and fill it with that variables.

Run

docker-compose up --build -d