Add: Check if user exist.
This commit is contained in:
parent
8eb00284f0
commit
4261e33836
@ -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.');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user