Interface CreateBanOptions

Hierarchy

  • CreateBanOptions

Properties

deleteMessageDays?: 0 | 2 | 1 | 3 | 4 | 5 | 6 | 7

The number of days to delete messages from. Technically DEPRECATED. This is internally converted in to deleteMessageSeconds.

deleteMessageSeconds?: number

The number of seconds to delete messages from. Takes precedence over deleteMessageDays.

reason?: string

The reason for creating the bon.