bot

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvToken   = "VOCABACOV_TOKEN"
	EnvChannel = "VOCABACOV_CHANNELS"
	EnvDebug   = "VOCABACOV_DEBUG"
	EnvTimeout = "VOCABACOV_TIMEOUT"
)

Variables

This section is empty.

Functions

func ParseChannels

func ParseChannels(channelIdsValue string) (map[int64]struct{}, error)

Types

type Bot

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

func NewBot

func NewBot() (*Bot, error)

func (*Bot) Start

func (b *Bot) Start(db *sql.DB)

Jump to

Keyboard shortcuts

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