Automations
Premium
alertList
$alertList[]
$alertList returns one field of every alert of the current server, joined by separator. Reading does not need Manage Server.
Premium Reserved for Premium accounts. See plans
Syntax
bdfd
$alertList[(separator);(field)]
Parameters
| Parameter | Description |
|---|---|
separator |
Optional. Default , . |
field |
Optional. id (default), name, source, kind, channelID, action, status or lastError. |
Examples
Alerts: $alertList[\n;name]
JavaScript bots
await bc.alert.list() returns an array of { id, name, source, kind, channelId, action, status, lastError }.
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.