summaryrefslogtreecommitdiff
path: root/src/cmd/debug.js
diff options
context:
space:
mode:
authorAlejandro W. Sior <aho@sior.be>2024-01-25 00:08:04 +0100
committerAlejandro W. Sior <aho@sior.be>2024-01-25 00:08:04 +0100
commita0a884ebed701f025434881a8c88bd9c28812567 (patch)
tree90187ef2fdf825d27819a45e279961daf16d85f2 /src/cmd/debug.js
parent4eaca0632036c77fc0df7ebe84e530c62a349091 (diff)
remove dependenciesraccoon
Diffstat (limited to 'src/cmd/debug.js')
-rw-r--r--src/cmd/debug.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/debug.js b/src/cmd/debug.js
index 382b0b3..1cc5343 100644
--- a/src/cmd/debug.js
+++ b/src/cmd/debug.js
@@ -2,7 +2,7 @@ const mcs = require('node-mcstatus');
module.exports.loadModule = function loadModule(bot) {
bot.handler.endpoint('^ping$', [], (match, message) => {
- bot.createMessage(message.channel.id, 'Pong').catch(Logger.error);
+ bot.createMessage(message.channel.id, 'Pong').catch(console.error);
});
bot.handler.endpoint('^server$', [], async (match, message) => {