soundboard

package
v0.0.0-...-a696a8c Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrPermissionDenied = errors.New("permission denied")
)
View Source
var (
	ErrServerNotOwned = errors.New("creator bot does not own server")
)

Functions

This section is empty.

Types

type Bot

type Bot interface {
	Close() error
}

func New

func New(config Config, db db.DB) (Bot, error)

type Config

type Config struct {
	Admins             []string
	CreatorAccessToken string
	CreatorAppID       discordgo.Snowflake
	ManagerAccessToken string
	ManagerAppId       discordgo.Snowflake
	Template           string
}

Jump to

Keyboard shortcuts

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