diff options
Diffstat (limited to 'src/cmd/debug.js')
| -rw-r--r-- | src/cmd/debug.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cmd/debug.js b/src/cmd/debug.js new file mode 100644 index 0000000..ecb475c --- /dev/null +++ b/src/cmd/debug.js @@ -0,0 +1,5 @@ +module.exports.loadModule = function loadModule(bot) { + bot.handler.endpoint('^ping$', [], (match, message) => { + bot.createMessage(message.channel.id, 'Pong').catch(Logger.error); + }); +}; |
