73 throw new \Erebot\InvalidValueException(
'Not a channel');
79 public function match(\
Erebot\Interfaces\Event\Base\Generic $event)
81 if (!($event instanceof \
Erebot\Interfaces\Event\Base\
Chan)) {
85 $collator = $event->getConnection()->getCollator();
$chan
Channel to use in the comparison, as a string.
static stringifiable($item)
A filter that compares the target channel for an event with some predefined value.
match(\Erebot\Interfaces\Event\Base\Generic $event)
Interface for an event filter.