sdk package - github.com/expectedpeguin/xdiscordbot - Go Packages

sdk

package module
v0.0.0-...-add4496 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BotCore

type BotCore interface {
	SendEmbedMessage(channel string, message *discordgo.MessageEmbed, button ...discordgo.Button) error
	SendMessage(channel string, message string) error
	Log(message string)
	SomeMainFunction() string
}

type Plugin

type Plugin interface {
	Name() string
	Execute(data interface{}, core BotCore) error
}

Jump to

Keyboard shortcuts

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