ergochat / bulkremoval

Bulk spam removal tool for the Ergo IRC server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bulkremoval

This is a tool for bulk removal of spam messages from the Ergo IRC server.

You must have the operator privileges nofakelag, sajoin, and history. Configure the tool like this:

export IRCEVENT_SERVER=localhost:6667
export IRCEVENT_CHANNEL="#test"
# optional, log the bot into an account with SASL
export IRCEVENT_SASL_LOGIN=""
export IRCEVENT_SASL_PASSWORD=""
# comment this out for TLS (do not use plaintext over the public Internet)
export IRCEVENT_USE_PLAINTEXT="true"
# OPER name and password:
export IRCEVENT_OPER_NAME="root"
export IRCEVENT_OPER_PASSWORD="shivarampassphrase"
# NUH glob to match (this is currently case-sensitive)
export IRCEVENT_GLOB="netcat!*@*"
# time at which to start examining messages, in YYYY-MM-DDThh:mm:ss.sssZ format:
export IRCEVENT_START_TIME="2022-05-03T22:09:02.160Z"

About

Bulk spam removal tool for the Ergo IRC server

License:MIT License


Languages

Language:Go 99.4%Language:Makefile 0.6%