A bot who helps the society in shaming the bad people who's posting old links.
Originally used in an IRC environment, now cleaned up a bit and used for Slack.
Make sure to provide the needed environment variables:
MONGO_DB
: Database to use in MongoDBMONGO_USERNAME
: Username to use in MongoDBMONGO_PASSWORD
: Password to use in MongoDBSLACK_TOKEN
: Slack token to use (only used inslack.py
)
logparse.py
can be used to scan log files (with eggdrop like format) for URLs
to import in the database.