Automations
Premium
resumeAlert
$resumeAlert[]
$resumeAlert resumes one alert of the current server. The author of the command must have Manage Server.
Premium Reserved for Premium accounts. See plans
Syntax
bdfd
$resumeAlert[alertID]
Parameters
| Parameter | Description |
|---|---|
alertID |
Required. The ID of the alert, from $alertList or $createAlert[...;yes]. |
Behavior
- Resuming is refused with
alert_limit_reachedwhen the server already has the maximum of active alerts for the owner’s plan. - Errors (the message starts with the code):
alert_forbidden(the author lacks Manage Server),alert_guild_required(used outside a server),alert_not_enabled(the bot owner has not turned alerts on),alert_paid_required(the owner has no paid plan),alert_unavailable(the bot does not run on a runner connected to the Manager). Alsoalert_not_foundwhen the ID is not an alert of this server.
Examples
$onlyPerms[manageServer;You need Manage Server.]
$resumeAlert[$message[1]]
Done.
JavaScript bots
await bc.alert.resume(id). A failing call rejects with an AlertError.
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.