bot

package
v0.0.0-...-aa43b80 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WelcomeSettingsCallback  = "settings:welcome"
	EnableWelcomeCallback    = "welcome:enable"
	DisableWelcomeCallback   = "welcome:disable"
	CustomizeWelcomeCallback = "welcome:customize"
)

Variables

This section is empty.

Functions

func AddedToGroupHandler

func AddedToGroupHandler(bot *aquagram.Bot, message *aquagram.Message) error

func BanCommandHandler

func BanCommandHandler(bot *aquagram.Bot, message *aquagram.Message) error

func Init

func Init() error

func KickCommandHandler

func KickCommandHandler(bot *aquagram.Bot, message *aquagram.Message) error

func SettingsHandler

func SettingsHandler(bot *aquagram.Bot, message *aquagram.Message) error

func StartCommandHandler

func StartCommandHandler(bot *aquagram.Bot, message *aquagram.Message) error

func UnbanCallbackHandler

func UnbanCallbackHandler(bot *aquagram.Bot, callback *aquagram.CallbackQuery) error

func UnbanCommandHandler

func UnbanCommandHandler(bot *aquagram.Bot, message *aquagram.Message) error

func WarningMessageHandler

func WarningMessageHandler(bot *aquagram.Bot, message *aquagram.Message) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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