3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 22:39:26 +01:00

fix help output

This commit is contained in:
reality 2013-12-29 19:11:44 +00:00
parent a4009d7ff3
commit 5941d3f1bd

View File

@ -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(', ')