mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 16:52:41 +01:00
Added novelty Where in the world is Symbol? match to IRCbot.
Summary: Added match to the novel statement: Where in the world is derp? Test Plan: Say something like "Where in the world is CarmenSandiego?" Reviewers: epriestley CC: aran Differential Revision: https://secure.phabricator.com/D3318
This commit is contained in:
parent
5342bb1073
commit
528589edc6
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ final class PhabricatorIRCObjectNameHandler extends PhabricatorIRCHandler {
|
||||||
$text = $message->getMessageText();
|
$text = $message->getMessageText();
|
||||||
|
|
||||||
$matches = null;
|
$matches = null;
|
||||||
if (!preg_match('/where is (\S+?)\?/i', $text, $matches)) {
|
if (!preg_match('/where(?: in the world) is (\S+?)\?/i', $text, $matches)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue