bot

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: May 24, 2025 License: MIT Imports: 20 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 interface {
	Start(ctx context.Context) error
	Close(ctx context.Context)
}

func New

func New(token string, db *gorm.DB, opts ...ConfigOpt) (Bot, error)

type ConfigOpt

type ConfigOpt func(*botImpl)

func WithFont

func WithFont(font *truetype.Font) ConfigOpt

Jump to

Keyboard shortcuts

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