From 7791fa5654d3c1705d5a5f5e86f70d5b28465ca4 Mon Sep 17 00:00:00 2001 From: SileNce5k Date: Fri, 27 Feb 2026 19:25:40 +0100 Subject: [PATCH] Improve error message when message.delete() fails --- commands/misc/x.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/misc/x.js b/commands/misc/x.js index 2e7283b..2a9b515 100644 --- a/commands/misc/x.js +++ b/commands/misc/x.js @@ -24,7 +24,7 @@ module.exports = { try{ message.delete() }catch(err){ - console.error(`${this.name}: An error happened while trying to delete the original message.`) + console.error(`${this.name}: An error occurred while trying to delete the original message.`) console.error(err); } }