ocm-url-verify-bot

module
v0.0.0-...-025e85a Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: MIT

README

OCM URL Verify Bot

Checks the url included in a discord message. Displays a verified status when the domain of the url attached is in the verified-domains.txt.

Only https is accepted.

Permissions

Requires the following permissions to work on Discord

Scope: Bot
Bot Permissions: Send message

Setup

$ export OCM_URL_DISCORD_API_KEY="YOUR_DISCORD_BOT_API_KEY"

Run in bash (macOS) requires taskdev

$ task br

Run in bash (other OSes)

$ go build -o bin/ocm-bot src/*
$ bin/ocm-bot

Contributing

Feel free to make pull requests, especially to add more verified urls.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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