19 lines
402 B
PHP
19 lines
402 B
PHP
<?php
|
|
|
|
require_once 'MessageHandler.php';
|
|
|
|
class TestHandler implements MessageHandler
|
|
{
|
|
|
|
public function CanHandle($room_id, $msgid, $message): bool
|
|
{
|
|
// TODO: Implement canHandle() method.
|
|
return $msgid == 0;
|
|
}
|
|
|
|
public function Handle($room_id, $msgid, $message): string
|
|
{
|
|
// TODO: Implement handle() method.
|
|
return "uwu";
|
|
}
|
|
} |