public function getHelp(
        \Erebot\Interfaces\Event\Base\TextMessage $event,
        \Erebot\Interfaces\TextWrapper $words
    ) {
        if ($event instanceof \Erebot\Interfaces\Event\Base\PrivateMessage) {
            $target = $event->getSource();
            $chan   = null;
        } else {
            $target = $chan = $event->getChan();
        }

        if (count($words) == 1 && $words[0] === get_called_class()) {
            $msg = $this->getFormatter($chan)->_(
                "This module does not provide any command, but ".
                "provides lists of words that other modules may use."
            );
            $this->sendMessage($target, $msg);
            return true;
        }
    }
public function getHelp(
        \Erebot\Interfaces\Event\Base\TextMessage $event,
        \Erebot\Interfaces\TextWrapper $words
    ) {
        if ($event instanceof \Erebot\Interfaces\Event\Base\PrivateMessage) {
            $target = $event->getSource();
            $chan   = null;
        } else {
            $target = $chan = $event->getChan();
        }

        if (count($words) == 1 && $words[0] === get_called_class()) {
            $msg = $this->getFormatter($chan)->_(
                "This module does not provide any command, but ".
                "provides lists of words that other modules may use."
            );
            $this->sendMessage($target, $msg);
            return true;
        }
    }
public function getHelp ( \ Erebot \ Interfaces \ Event \ Base \ TextMessage $ event , \ Erebot \ Interfaces \ TextWrapper $ words ) { if ( $ event instanceof \ Erebot \ Interfaces \ Event \ Base \ PrivateMessage ) { $ target = $ event -> getSource ( ) ; $ chan = null ; } else { $ target = $ chan = $ event -> getChan ( ) ; } if ( count ( $ words ) == 1 && $ words [ 0 ] === get_called_class ( ) ) { $ msg = $ this -> getFormatter ( $ chan ) -> _ ( "This module does not provide any command, but " . "provides lists of words that other modules may use." ) ; $ this -> sendMessage ( $ target , $ msg ) ; return true ; } }
Provides help about this module.

\param Erebot::Interfaces::Event::Base::TextMessage $event
Some help request.

\param Erebot::Interfaces::TextWrapper $words
Parameters passed with the request. This is the same
as this module's name when help is requested on the
module itself (in opposition with help on a specific
command provided by the module).
Provides help about this module .