Interface

APIBan

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

Properties

expires_at?: string | null

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

reason: string | null

Ban reason (null if no reason provided).

user: APIUser

Banned user.