D-Bot/classes/WebQQ/init.php
2016-02-15 02:13:17 +08:00

13 lines
209 B
PHP

<?php
$BOT = new Base;
$GET = json_decode(file_get_contents("php://input"),true);
//is group?
if ($GET['type'] = 0) {
$isgroup = false;
}else{
$isgroup = true;
}
$from = $GET['uin'];
$text = $GET['msg'];