commands

package
v1.6.1-0...-e0dc824 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleCallsCommand

func HandleCallsCommand(bot *gotgbot.Bot, ctx *ext.Context) error

func HandleGroupCommand

func HandleGroupCommand(bot *gotgbot.Bot, ctx *ext.Context) error

func HandleLanguageCommand

func HandleLanguageCommand(bot *gotgbot.Bot, ctx *ext.Context) error

func HandleLeftCommand

func HandleLeftCommand(bot *gotgbot.Bot, ctx *ext.Context) error

func HandleSettingsCommand

func HandleSettingsCommand(bot *gotgbot.Bot, ctx *ext.Context) error

func HandleStartCommand

func HandleStartCommand(bot *gotgbot.Bot, ctx *ext.Context) error

func HandleStudentsCommand

func HandleStudentsCommand(bot *gotgbot.Bot, ctx *ext.Context) error

func HandleTodayCommand

func HandleTodayCommand(bot *gotgbot.Bot, ctx *ext.Context) error

func HandleTomorrowCommand

func HandleTomorrowCommand(bot *gotgbot.Bot, ctx *ext.Context) error

func InitCommands

func InitCommands(
	chatRepo2 data.ChatRepository,
	userRepo2 data.UserRepository,
	api2 api2.Api,
	languages2 map[string]i18n.Language,
	groupsCache2 *groupscache.Cache,
)

InitCommands initializes commands package. Must be called before using this package

Types

This section is empty.

Jump to

Keyboard shortcuts

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