discordbot

package
v0.0.0-...-10f3eee Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg *Config) (*bot, error)

Types

type Config

type Config struct {
	Token          string
	GuildID        string
	AppID          string
	DnD5EClient    dnd5e.Client
	PartyRepo      party.Interface
	CharacterRepo  characters.Manager
	RonnieDActions ronnied_actions.Interface
}

type Interface

type Interface interface {
	// Start starts the bot
	Start() error
	// Close closes the bot
	Close() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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