User Tools

Site Tools


iab:commands:delete

iab!delete

Default permission tier: 5

Aliases: delete, del

Deletes messages.


Logging

Logs are saved, and their ID is written to the Log Channel. Use iab!log to recover these logs (but currently not their attachments). The logs include information about who sent messages, what they sent, and all attachments. This is to allow administrator audits of purge operations.

Parameters

amount: Required message count to process, or time span to process (see timespan format for formatting concerns). Timespans should be positive (that is, don't use “ago” or negative numbers). The message count, if specified, represents the number of messages to process, starting from the most recent message. If a timespan is given, it is limited to two weeks as per Discord's limitations (see here, section "The Big Surprise"), then all messages within that span are processed.

Subcommands

Channel

Aliases: channel, c

Deletes messages from a channel

Examples

iab!delete channel <amount>

iab!del c <amount>


User

Aliases: user, u

Deletes messages from a specified user from a channel

Parameters

User: Optional user pattern representing the user to target. If not specified, the sending user is used instead.

Examples

iab!delete user <user> <amount>

iab!del u <user> <amount>


iab

No aliases.

Deletes iab's messages

Examples

iab!delete iab <amount>

iab!del iab <amount>


iab/commands/delete.txt · Last modified: 2021/03/01 11:29 by nuyube