dteubot

package
v1.6.1-0...-105477e Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const ApiCachePath = CachePath + "/api.sqlite"
View Source
const ApiLevelDBPath = CachePath + "/api"
View Source
const CachePath = "cache"
View Source
const ChatsDirPath = "chats"
View Source
const GroupsCachePath = CachePath + "/groups.csv"
View Source
const Location = "Europe/Kyiv"
View Source
const TeachersListPath = "teachers.csv"
View Source
const UsersDirPath = "users"

Variables

This section is empty.

Functions

func ButtonStatisticHandler

func ButtonStatisticHandler(_ *gotgbot.Bot, ctx *ext.Context) error

ButtonStatisticHandler saves button click to statistics.

func CommandStatisticHandler

func CommandStatisticHandler(_ *gotgbot.Bot, ctx *ext.Context) error

CommandStatisticHandler saves command to statistics.

func InitDatabaseRecords

func InitDatabaseRecords(_ *gotgbot.Bot, ctx *ext.Context) error

func Run

func Run()

Run starts the Bot.

func Setup

func Setup()

Setup sets up all the Bot components.

Types

type OrderedMap

type OrderedMap[KT interface{}, VT interface{}] []struct {
	Key   KT
	Value VT
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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