beemo

command
v0.0.0-...-efe2ce5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: Apache-2.0, MIT Imports: 17 Imported by: 0

README

beemo: Slack notification bot for moderation reports

You need an admin token, slack webhook URL, and auth file (see gosky docs). The auth file isn't actually used, only the admin token.

# configure a slack webhook
export SLACK_WEBHOOK_URL=https://hooks.slack.com/services/T028K87/B04NBDB/oWbsHasdf23r2d

# example pulling admin token out of `pass` password manager
export ATP_AUTH_ADMIN_PASSWORD=`pass bsky/pds-admin-staging | head -n1`

# example just setting admin token directly
export ATP_AUTH_ADMIN_PASSWORD="someinsecurething123"

# run the bot
GOLOG_LOG_LEVEL=debug go run ./cmd/beemo/ --pds https://pds.staging.example.com --auth bsky.auth notify-reports

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL