public function handleDevansHelpCommand(Event $event, Queue $queue)
 {
     $messages = ['Usage: devans'];
     foreach ($messages as $message) {
         $queue->ircPrivmsg($event->getSource(), $message);
     }
 }
 /**
  * Bigstock Command Help
  *
  * @param \Phergie\Irc\Plugin\React\Command\CommandEventInterface $event
  * @param \Phergie\Irc\Bot\React\EventQueueInterface $queue
  */
 public function handleBigstockHelp(Event $event, Queue $queue)
 {
     $messages = ['Usage: bigstock queryString', 'queryString - the search query (all words are assumed to be part of message)', 'Searches Bigstock for an image based on the provided query string.'];
     foreach ($messages as $message) {
         $queue->ircPrivmsg($event->getSource(), $message);
     }
 }
 /**
  * Handles help command calls
  *
  * @param \Phergie\Irc\Plugin\React\Command\CommandEventInterface $event
  * @param \Phergie\Irc\Bot\React\EventQueueInterface $queue
  */
 public function helpCommand(CommandEventInterface $event, EventQueueInterface $queue)
 {
     $command = strpos($event->getCustomCommand(), '.help') !== false ? substr($event->getCustomCommand(), 0, -5) : $event->getCustomParams()[0];
     $this->helpMessages([$queue, 'irc' . $event->getCommand()], $event->getSource(), $command);
 }
 /**
  * Send a single response line back to IRC
  *
  * @param \Phergie\Irc\Plugin\React\Command\CommandEventInterface $event
  * @param \Phergie\Irc\Bot\React\EventQueueInterface $queue
  * @param string $ircResponseLine
  */
 protected function sendIrcResponseLine(Event $event, Queue $queue, $ircResponseLine)
 {
     $queue->ircPrivmsg($event->getSource(), $ircResponseLine);
 }
 /**
  * Handle the help command
  *
  * @param \Phergie\Irc\Plugin\React\Command\CommandEventInterface $event
  * @param \Phergie\Irc\Bot\React\EventQueueInterface $queue
  */
 public function handleCommandHelp(Event $event, Queue $queue)
 {
     foreach ($this->getHelpLines() as $helpLine) {
         $queue->ircPrivmsg($event->getSource(), $helpLine);
     }
 }