CoreActions
in package
implements
ProvidesActions
FinalYes
`/bridge` — the commands that are about the bot rather than about any one network.
help and about would be the obvious names, and that is exactly the
problem: they are the names every bot in a server wants. Qualifying them is
not pedantry here, it is the same rule that keeps two connectors from
colliding, applied to the core so that it cannot be the exception.
Tags
Table of Contents
Interfaces
- ProvidesActions
- A connector that brings commands of its own.
Constants
- QUALIFIER : mixed = 'bridge'
- The qualifier the core itself owns. No connector may claim it.
Methods
- actions() : array<int, Action>
- Every command this connector defines.
- about() : string
- help() : string
- list() : string
- status() : string
Constants
QUALIFIER
The qualifier the core itself owns. No connector may claim it.
public
mixed
QUALIFIER
= 'bridge'
Methods
actions()
Every command this connector defines.
public
actions() : array<int, Action>
Return values
array<int, Action>about()
private
about(Context $context) : string
Parameters
- $context : Context
Return values
stringhelp()
private
help(Context $context, Arguments $arguments) : string
Parameters
Return values
stringlist()
private
list(Context $context) : string
Parameters
- $context : Context
Return values
stringstatus()
private
status(Context $context) : string
Parameters
- $context : Context