From 63b2f182bb9b2a4e5cafcaa6653eb640b6b3d3d0 Mon Sep 17 00:00:00 2001 From: laika Date: Sun, 15 Mar 2026 13:39:56 +1100 Subject: [PATCH] fixed typo --- src/bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bot.js b/src/bot.js index d8fadba..b09ad7d 100644 --- a/src/bot.js +++ b/src/bot.js @@ -64,7 +64,7 @@ module.exports.handleMessageCreate = async function(message) { } } catch(error) { - if(debug){console.error("An error occurred at unix timestamp " + Date.now() + "while processing the command: " + command + " with error:" + error);} + if(debug){console.error("An error occurred at unix timestamp " + Date.now() + "while processing the command: " + message + " with error:" + error);} else{console.error(error);} process.exit(2); //need this for now just to make sure the bot continues to restart on errors, since it would seem that fluxer.js doesn't define custom error types. TODO: map out some exit codes }