discord-vc-notifier

command module
v0.0.0-...-6f9b5d1 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2020 License: MIT Imports: 11 Imported by: 0

README

discord-vc-notifier

License Go Report Card GolangCI

Prepare

Deploy

Google App Engine

Preparation:

  • Create GCP project
  • Create an application of App Engine in the project

Deploy manually:

  • Configure gcloud
    • gcloud auth login
    • gcloud config set project YOUR_PROJECT_ID
  • Create app.yaml
    • envsubst < app.yaml.tmpl > app.yaml
  • gcloud app deploy

Deploy by GitHub Actions:

  • GCP preparations:
    • Create a service account who has following roles:
      • App Engine Deployer
      • App Engine Service Admin
      • Cloud Build Editor
      • Storage Admin
    • Create JSON key of the service account
    • Enable App Engine Admin API
  • Fork this repository
  • Set required secrets
    • GOOGLE_CREDENTIALS: JSON key
    • GOOGLE_PROJECT_ID: GCP project ID
    • DISCORD_BOT_TOKEN
  • Set secrets for notification options
    • If you want to send notifications to discord channel:
      • DISCORD_CHANNEL_ID (required)
    • If you want to send notifications to slack channel:
      • SLACK_WEBHOOK_URL (required)
      • SLACK_CHANNEL
      • SLACK_ICON_EMOJI
      • SLACK_USERNAME

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