$suppressErrors

Suppress all the errors and sends a custom one. {error} will contain the error that was thrown.

Usage:

$suppressErrors[message]

Example:


Member08/02/2024
!!exec $suppressErrors[Wrong usage of $modifyChannelPerms] $modifyChannelPerms[$authorID;-sendmessages;$channelID]
Custom Command Bot 08/02/2024
Wrong usage of $modifyChannelPerms

Note

You can send embed using Message Curl Format

DANGER

The way $modifyChannelPerms shown here is NOT correct!

Check the $modifyChannelPerms for the correct usage

Function difficulty Easy
Tags: error custom message wrong usage Trown error