Command
From StatusNet
The Command family of classes represent actions which can be performed based on a keyword in input text (eg through XMPP or mail gateways) and potentially return some data back to the user.
See XMPP Bot for some user-facing documentation on available commands.
Source
Related classes
- CommandInterpreter produces an appropriate Command subclass based on notice text
- Channel subclasses are passed to Command instances on execution, allowing their output to be filtered back to the right return communications channel.