Page MenuHomePhabricator

abstract class PhabricatorBotHandler
Phabricator Technical Documentation (Daemons)

Responds to IRC messages. You plug a bunch of these into a PhabricatorBot to give it special behavior.

Methods

final public function __construct($irc_bot)

This method is not documented.
Parameters
PhabricatorBot$irc_bot
Return
this//Implicit.//

final protected function writeMessage($message)

This method is not documented.
Parameters
PhabricatorBotMessage$message
Return
wild

final protected function getConduit()

This method is not documented.
Return
wild

final protected function getConfig($key, $default)

This method is not documented.
Parameters
$key
$default
Return
wild

final protected function getURI($path)

This method is not documented.
Parameters
$path
Return
wild

final protected function getServiceName()

This method is not documented.
Return
wild

final protected function getServiceType()

This method is not documented.
Return
wild

abstract public function receiveMessage($message)

This method is not documented.
Parameters
PhabricatorBotMessage$message
Return
wild

public function runBackgroundTasks()

This method is not documented.
Return
wild

public function replyTo($original_message, $body)

This method is not documented.
Parameters
PhabricatorBotMessage$original_message
$body
Return
wild