Interface PurgeOptions<T>
interface PurgeOptions<T> { after?: string; around?: string; before?: string; limit: number; reason?: string; filter?(message): boolean | "break" | PromiseLike<boolean | "break">; } Properties
Optional
after
after?: string
Optional
around
around?: string
Optional
before
before?: string
Optional
reason
reason?: string
Methods
Optional
filter
- filter(message): boolean | "break" | PromiseLike<boolean | "break">
Returns boolean | "break" | PromiseLike<boolean | "break">
The ID of the message to purge after.