bot

package
v0.0.0-...-a139185 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: AGPL-3.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = &cli.Command{
	Name:   "bot",
	Usage:  "Run the bot",
	Action: run,
	Flags: []cli.Flag{
		&cli.BoolFlag{
			Name:    "debug",
			Aliases: []string{"d"},
			Usage:   "Debug logging",
			Value:   true,
		},
		&cli.BoolFlag{
			Name:    "noloop",
			Aliases: []string{"N"},
			Value:   false,
			Usage:   "Disable event loop that will kill bot after 5 minutes of no events",
		},
		&cli.BoolFlag{
			Name:  "more-debug",
			Value: false,
			Usage: "Even MORE debug logs (very spammy)",
		},
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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