discord

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: May 18, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Token = config.GenFlag("integrations.discord.token", "", "Discord token for bot")

	ErrNoToken = kilonova.Statusf(401, "No Discord token provided")
)

Functions

This section is empty.

Types

type Bot

type Bot struct {
	// contains filtered or unexported fields
}

func NewBot

func NewBot(ctx context.Context, base *sudoapi.BaseAPI) (*Bot, *kilonova.StatusError)

func (*Bot) Close

func (db *Bot) Close() error

Jump to

Keyboard shortcuts

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