Interface

APIBan

Guild ban from GET /guilds/{id}/bans.

Properties

banned_at?: string

ISO-8601 timestamp when the ban was issued (REST ban list).

expires_at?: string | null

ISO-8601 timestamp when a temporary ban expires (null for permanent bans).

moderator_id?: string

Moderator who issued the ban (REST ban list).

reason?: string | null

Ban reason (null if no reason provided).

user: APIUser

Banned user.