bot

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

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

Go to latest
Published: Nov 22, 2020 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HealthCheck = health.New()

HealthCheck is the global health checker

Functions

func Run

func Run(cfg *Config) error

Run runs the discord bot

Types

type Config

type Config struct {
	Token       string
	IndexPath   string
	WatchPeriod time.Duration
}

Config is the bot configuration

Jump to

Keyboard shortcuts

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