$suppressErrors
Suppresses all errors including the ones from all other limiters. Embeds and {execute} can be used in the brackets.

FUNCTION USAGE

  • $suppressErrors
  • $suppressErrors[]
  • $suppressErrors[error]

Properties:

[] - Leave brackets empty to silently suppress all errors. error - The error message to send to the channel if the bot encounters an error.
$suppressErrors[] or $suppressErrors[error message] - Suppresses all errors made by the bot, even your own limiters. An empty field means there will be no error message (silent error)
1
bot.Command({
2
name: "avatar",
3
code: `
4
$thumbnail[$userAvatar[$userID[$message[]]]]
5
$description[bruh, this is a cute embed]
6
$footer[Hello!]
7
8
$suppressErrors[Something went wrong, try again]
9
`
10
})
Copied!
Last modified 4mo ago
Copy link
Contents
Properties: