Interface

APIBan

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

Properties

NameTypeDescription
banned_at?stringISO-8601 timestamp when the ban was issued (REST ban list).
expires_at?string | nullISO-8601 timestamp when a temporary ban expires (null for permanent bans).
moderator_id?stringModerator who issued the ban (REST ban list).
reason?string | nullBan reason (null if no reason provided).
userAPIUserBanned user.