From 5941d3f1bd005bf81af72b6ecee012db2af3050f Mon Sep 17 00:00:00 2001 From: reality Date: Sun, 29 Dec 2013 19:11:44 +0000 Subject: [PATCH] fix help output --- modules/command/commands.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/command/commands.js b/modules/command/commands.js index 1769f86..b5860cc 100644 --- a/modules/command/commands.js +++ b/modules/command/commands.js @@ -39,8 +39,8 @@ var commands = function(dbot) { var moduleName = event.params[1]; if(!moduleName || !_.has(dbot.modules, moduleName)) { event.reply(dbot.t('usage', { - 'command': '~help', - 'usage': '~help [module]' + 'command': this.config.commandPrefix + 'help', + 'usage': this.config.commandPrefix + 'help [module]' })); event.reply(dbot.t('loaded_modules', { 'modules': _.keys(dbot.modules).join(', ')