Documentation ¶
Index ¶
- func Exclude(ctx context.Context, e *Event) error
- func GPT(ctx context.Context, e *Event) error
- func Go(_ context.Context, e *Event) error
- func Include(ctx context.Context, e *Event) error
- func Link(ctx context.Context, e *Event) error
- func NoDays(ctx context.Context, e *Event) error
- func ResetLink(ctx context.Context, e *Event) error
- func Skip(ctx context.Context, e *Event) error
- func Start(ctx context.Context, e *Event) error
- func Stop(ctx context.Context, e *Event) error
- func Vacation(ctx context.Context, e *Event) error
- func Version(_ context.Context, e *Event) error
- func YandexGPT(ctx context.Context, e *Event) error
- type Event
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Event ¶
type Event struct { Cfg *config.Config ChatEvent *botgolang.Event Chat *db.Chat OnlyChat bool Arguments string // contains filtered or unexported fields }
Event is implementation of Connector interface.
func (*Event) ArgsUserIDs ¶
ArgsUserIDs returns all UserIDs from arguments.
func (*Event) SendMessage ¶
SendMessage sends message to chat.
func (*Event) SendURLMessage ¶
SendURLMessage sends message to chat with URL link.
func (*Event) Unavailable ¶
Unavailable returns true if event is unavailable.
Click to show internal directories.
Click to hide internal directories.