Zclear

Bulk-deletes up to 100 recent messages in the current channel, with an optional user filter and configurable handling of pinned messages.

Syntax

Zclear{amount;userID?;removePinned?}

Arguments

NameTypeRequiredDefault
amountintegerYes-
userIDsnowflakeNo-
removePinnedbooleanNotrue

Example

Zclear{10;123456789012345678;false}