Add beat handler

This commit is contained in:
brian committed 2018-12-21 17:46:29 +00:00
1 parent 1adf272d2a
commit 022c54ca70
3 files changed
+23 -15

No files matched your search

+7 -2
View File
@@ -10,12 +10,17 @@ define("INTER_ROOM", 111213);
// randomorg($start,$end);
// Placeholder
function randomorg(int $min, int $max) {
return random_int ($min, $max);
}
require_once 'MessageHandler.php';
require_once 'Handlers.php';
$handlers = array(
new TestHandler(),
new TestHandler()
new BeatHandler()
);
function reply_user(int $room_id, int $msgid, string $message, $room_lang): bool