Skip to content
Moderation setAuditLogReason

$setAuditLogReason — Sets the reason for audit log entries.

Sets the reason for audit log entries.

Syntax

$setAuditLogReason[reason]

Parameters

  • reason (text, required) — The reason to set

Return Value

  • string.

Usage

$setAuditLogReason[reason] → result

Example

$setAuditLogReason[Cleanup]
$sendMessage[Done]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.