bot

package
v0.0.0-...-45f4242 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bot

type Bot struct {
	API    *bot.Bot
	Config *config.Config
	Logger zerolog.Logger
}

func Init

func Init(config *config.Config, log zerolog.Logger) *Bot

func (*Bot) NewBot

func (b *Bot) NewBot() (*bot.Bot, error)

func (*Bot) Run

func (b *Bot) Run(ctx context.Context)

Jump to

Keyboard shortcuts

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