discord

package
v0.0.0-...-1a31f93 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2020 License: AGPL-3.0 Imports: 4 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 {
	Token   string `long:"discord.token" description:"Discord authentication token"`
	Channel string `long:"discord.channel" description:"Name of the channel to which messages should be sent"`
	Prefix  string `long:"discord.prefix" description:"Prefix for every message"`
	// contains filtered or unexported fields
}

func (*Discord) Init

func (discord *Discord) Init() (err error)

func (*Discord) SendMessage

func (discord *Discord) SendMessage(message string) error

Jump to

Keyboard shortcuts

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