Add: Check if user exist.

This commit is contained in:
dennydai 2016-06-14 16:16:09 +08:00
parent 8eb00284f0
commit 4261e33836

View File

@ -47,5 +47,8 @@ function plugin_github_check($title, $check)
}
}
$BOT->msg($plugin_sendto, $msg);
if (!empty($user['login'])) {
$BOT->msg($plugin_sendto, $msg);
}else{
$BOT->msg($plugin_sendto, 'User Not Found.');
}