member.status_changed

event

Any status change (active, on_vacation, resigned, terminated, retired).

أي تغيير في الحالة.

Server side only: listen with AddEventHandler, never RegisterNetEvent. Events are notices, not stored data: they are not replayed if your server was offline.

Handler

AddEventHandler('orcabot:event:member.status_changed', function(p)
    -- p = see payload below
end)

Payload

{
  "discord_id": "381234567890123456",
  "faction": {
    "name": "police",
    "label": "الشرطة"
  },
  "at": "2026-10-15T20:00:00Z",
  "to": "on_vacation"
}