bot

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev" // main.go injects this value

Functions

This section is empty.

Types

type Bot

type Bot struct {
	// contains filtered or unexported fields
}

func New

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

func (*Bot) Run

func (b *Bot) Run(cfg Config) error

type Config

type Config struct {
	Version                       string
	Verbose                       int
	Token                         string
	GuildID                       string
	ROANavHandlerSaveFile         string
	ROANavHandlerSuggestionsLimit int
}

Jump to

Keyboard shortcuts

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