bot

package
v0.0.0-...-5de6a46 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NEW_USER = iota
	GOT_PASSWORD
	GOT_KEY
	GOT_SECRET
	SHOULD_USE_PASSWORD
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Discord

type Discord struct {
	Session *discordgo.Session
	// contains filtered or unexported fields
}

Discord holds the bot

func NewDiscord

func NewDiscord(token string) *Discord

NewDiscord returns a new Discord bot

func (*Discord) Start

func (d *Discord) Start() (err error)

Jump to

Keyboard shortcuts

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