notify: gomodules.xyz/notify/discord Index | Files

package discord

import "gomodules.xyz/notify/discord"

Index

Package Files

chat.go

Constants

const UID = "discord"

func Default Uses

func Default() (*client, error)

func Load Uses

func Load(loader envconfig.LoaderFunc) (*client, error)

func New Uses

func New(opt Options) *client

type Options Uses

type Options struct {
    AuthToken string   `envconfig:"AUTH_TOKEN" required:"true"`
    Channel   []string `envconfig:"CHANNEL"`
}

Package discord imports 4 packages (graph) and is imported by 2 packages. Updated 2019-03-08. Refresh now. Tools for package owners.