From a0a884ebed701f025434881a8c88bd9c28812567 Mon Sep 17 00:00:00 2001 From: "Alejandro W. Sior" Date: Thu, 25 Jan 2024 00:08:04 +0100 Subject: remove dependencies --- src/cmd/debug.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd/debug.js') 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) => { -- cgit v1.2.3