summaryrefslogtreecommitdiff
path: root/src/cmd/debug.js
diff options
context:
space:
mode:
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) => {