Skip to main content
Version: 0.37.42

RESTPutAPIGuildBanJSONBody

@deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

Index

Properties

optionaldelete_message_days

delete_message_days?: number

Number of days to delete messages for (0-7)

optionalreason

reason?: string

Reason for the ban

@deprecated

Removed in API v10, use the X-Audit-Log-Reason header instead.