| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public function __construct(Yabot $yabot, LoggerInterface $logger = null) |
||
| 15 | { |
||
| 16 | $this->setLog($logger); |
||
| 17 | $this->yabot = $yabot; |
||
| 18 | |||
| 19 | $this->setConfig([ |
||
| 20 | 'help' => '<prefix> status', |
||
| 21 | 'prefix' => PluginManager::AUTHED_USER_PREFIX, |
||
| 22 | 'matchers' => [ |
||
| 23 | 'yabotStatus' => "/^status\\b/", |
||
| 24 | 'yabotShutdown' => "/^shutdown\\b/", |
||
| 25 | 'yabotReconnect' => "/^reconnect\\b/", |
||
| 26 | ], |
||
| 27 | ]); |
||
| 28 | } |
||
| 29 | |||
| 47 | } |