discord

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Discord

type Discord struct {
	// Name of the channel
	Name string `json:"name" yaml:"name" hcl:"name,label"`
	// Token is auth token
	Token string `json:"token" yaml:"token" hcl:"token"`
	// ChannelID of a discord channel
	ChannelID int64 `json:"channelId" yaml:"channelId" hcl:"channelId"`
	Ignore    bool  `json:"ignore" yaml:"ignore" hcl:"ignore,optional"`
}

Discord channel config

func (Discord) Validate

func (cfg Discord) Validate() error

Validate config

Jump to

Keyboard shortcuts

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