A Telegram bot to guard against low-effort spambots in large groups.
Add @BigBooferBot
to your group. For enforcement to work (see below),
they must be an admin of the group they are a part of.
Once added to the group, if you are an admin, promote @BigBooferBot
to an admin, and configure the passphrase via /setchannel <channel_url> <passphrase>
:
@BigBooferBot
will then begin enforcement.
-
They will be welcomed by a big friend,
@BigBooferBot
, and will be directed to a separate channel, containing a passphrase (and whatever else you want, e.g. rules). -
Until they reply in the channel with the passphrase, all of their messages will either not be allowed to be posted, or deleted as soon as they are posted.
-
If they don't reply with the passphrase within 5 minutes,
@BigBooferBot
will (regretably) remove them from the group.
BigBoofer uses go modules, so it requires Go >= 1.11.0.
Contact @BotFather
on Telegram for an API key. Then, set your API key
in config.go
and run:
go build
It should pull in all required dependencies and produce a binary ready for you to run.
go test -v bigboofer/test