bot

package
v0.0.0-...-4c137d3 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2021 License: AGPL-3.0 Imports: 10 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 {
	*bot.Context
	// contains filtered or unexported fields
}

func Open

func Open(cfg *config.Config) (*Discord, error)

Open opens a new Discord state connection.

func (*Discord) Close

func (d *Discord) Close() error

func (*Discord) OAuth

func (d *Discord) OAuth(frontURL string) oauth2.Config

OAuth returns a new OAuth config with the given redirection domain.

Directories

Path Synopsis
commands

Jump to

Keyboard shortcuts

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