Module_PingReply
latest
Erebot module to respond to PING messages
|
A basic module that sends replies to PING queries it receives. More...
Public Member Functions | |
getHelp (\Erebot\Interfaces\Event\Base\TextMessage $event,\Erebot\Interfaces\TextWrapper $words) | |
handlePing (\Erebot\Interfaces\EventHandler $handler,\Erebot\Interfaces\Event\Ping $event) | |
reload ($flags) | |
A basic module that sends replies to PING queries it receives.
Definition at line 30 of file PingReply.php.
Erebot\Module\PingReply::handlePing | ( | \Erebot\Interfaces\EventHandler | $handler, |
\Erebot\Interfaces\Event\Ping | $event | ||
) |
Responds to PING requests.
Erebot::Interfaces::EventHandler | $handler | Handler that triggered this event. |
Erebot::Interfaces::Event::Ping | $event | PING request to respond to. |
(PHPMD.UnusedFormalParameter)
Definition at line 88 of file PingReply.php.
Erebot\Module\PingReply::reload | ( | $flags | ) |
This method is called whenever the module is (re)loaded.
int | $flags | A bitwise OR of the Erebot_Module_Base::RELOAD_* constants. Your method should take proper actions depending on the value of those flags. |
Definition at line 44 of file PingReply.php.