diff options
Diffstat (limited to 'src/cmd')
| -rw-r--r-- | src/cmd/debug.js | 2 | ||||
| -rw-r--r-- | src/cmd/troff.js | 1 |
2 files changed, 1 insertions, 2 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) => { diff --git a/src/cmd/troff.js b/src/cmd/troff.js index 91090a5..5eb3407 100644 --- a/src/cmd/troff.js +++ b/src/cmd/troff.js @@ -1,6 +1,5 @@ const spawn = require('child_process').spawn; const fs = require('fs'); -const { ConsoleTransportOptions } = require('winston/lib/winston/transports'); /* \\"".fp - R cmunrm |
