Interface

APIBan

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

Properties

NameTypeDescription
expires_at?string | nullISO-8601 timestamp when a temporary ban expires (null for permanent bans).
reasonstring | nullBan reason (null if no reason provided).
userAPIUserBanned user.