GET · api v1
Hiring bans on this member across the server's قطاعات.
منع التوظيف على العضو في قطاعات السيرفر.
| Name | Type | Required | Description |
|---|---|---|---|
target | Target | required | Who to read about: { source = 7 } for an online player, { discord = "..." } or { code = "P-12" }. |
faction | string | optional | Limit the answer to one قطاع (job name). |
res.data)| Name | Type | Description |
|---|---|---|
banned | boolean | At least one active ban. |
bans | table[] | { faction, permanent, ends_at, reason } |
local res = exports.OrcaBot_V3:Get('member.hiring_bans', { target = { source = src } })
if res.ok and res.data.banned then
-- refuse the hire
end
{
"ok": true,
"data": {
"banned": true,
"bans": [
{
"faction": {
"name": "police",
"label": "الشرطة"
},
"permanent": false,
"ends_at": "2026-11-01T00:00:00Z",
"reason": "إساءة استخدام الصلاحيات"
}
]
},
"meta": {
"action": "member.hiring_bans",
"method": "GET",
"api": 1
}
}