ProvidesActions
in
A connector that brings commands of its own.
Twitch brings the whole Helix API; Telegram brings sending, polls and
moderation. Both arrive in the one catalogue, under the connector's own
qualifier, and are then reachable from every chat the bot is in — which is
the point of one bot rather than two: !twitch title typed in a Telegram
group sets the stream title.
Tags
Table of Contents
Methods
Methods
actions()
Every command this connector defines.
public
actions() : array<int, Action>
Each one's qualifier must be the connector's own Connector::name(); ActionRegistry refuses anything else, because a connector claiming another's qualifier is how two packages end up silently shadowing each other's commands.