bot

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

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

Go to latest
Published: Apr 30, 2022 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GuildID        = flag.String("guild", "", "Test guild ID. If not passed - bot registers commands globally")
	RemoveCommands = flag.Bool("rmcmd", false, "Remove all commands after shutdowning or not")
)

Bot parameters

Functions

func ExampleRunFunction

func ExampleRunFunction(ctx context.Context, dbProvider db.Provider) error

Constraints (make function similar to):

func RunBot

func RunBot(dbProvider db.Provider, discordSession *discordgo.Session)

func SchedulingMessage

func SchedulingMessage(discordSession *discordgo.Session, message string, channelID string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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