Documentation
¶
Overview ¶
Package bot contains routers and controllers for bots.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ctrl ¶
type Ctrl struct { Logger *slog.Logger Store store.Interface Service *revisor.Service API botx.API AdminIDs []string AuthToken string HandlerTimeout time.Duration }
Ctrl provides routes and controllers for bot updates.
func (*Ctrl) NotifyAdmins ¶
NotifyAdmins sends a message to all admins.
Click to show internal directories.
Click to hide internal directories.