FNFBoyfriendBot v5.0.3 Build:325

This commit is contained in:
4Parker02991
2023-12-29 21:15:50 +00:00
parent 52ad936681
commit ba184e0019
11 changed files with 72 additions and 25 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ if (command.trustLevel > 0) {
if (error instanceof CommandError) source.sendError(error._message)
//
// else source.sendError({ text:String(error.stack), color:'red' })
else source.sendError({ translate: 'command.failed', color:'red', hoverEvent: { action: 'show_text', contents: String(error.stack) } })
else source.sendError({ translate: 'A Error has occured because the bot shot itself 🔫', color:'red', hoverEvent: { action: 'show_text', contents: String(error.stack) } })
if (source.sources.discord) {
source.sendError(error)
}