dc_delete
dc_delete(value)
#
Deletes whatever value provided.
Blocking function
Invoking this function can freeze the game.
Use it in a task
to avoid freezing your game.
Input parameters#
Parameter | Type | Description |
---|---|---|
value |
Message, Role, Emoji, Sticker, Webhook, Slash command, User context menu, Message context menu | The value to delete. |
Output values#
Return values#
- Null, if successful.
Uncaught exceptions #
- Throws an exception on failure.
missing_permissions
- Message - You do not have "Manage Messages" permission.
- Role - You do not have "Manage Roles" permission, or the role is of higher hierarchy.
- Emoji, Sticker - You do not have "Manage Expressions" permission.
- Webhook - You do not have "Manage Webhooks" permission.