mirror of
https://github.com/reality/dbot.git
synced 2024-11-24 04:49:25 +01:00
fix help output
This commit is contained in:
parent
a4009d7ff3
commit
5941d3f1bd
@ -39,8 +39,8 @@ var commands = function(dbot) {
|
|||||||
var moduleName = event.params[1];
|
var moduleName = event.params[1];
|
||||||
if(!moduleName || !_.has(dbot.modules, moduleName)) {
|
if(!moduleName || !_.has(dbot.modules, moduleName)) {
|
||||||
event.reply(dbot.t('usage', {
|
event.reply(dbot.t('usage', {
|
||||||
'command': '~help',
|
'command': this.config.commandPrefix + 'help',
|
||||||
'usage': '~help [module]'
|
'usage': this.config.commandPrefix + 'help [module]'
|
||||||
}));
|
}));
|
||||||
event.reply(dbot.t('loaded_modules', {
|
event.reply(dbot.t('loaded_modules', {
|
||||||
'modules': _.keys(dbot.modules).join(', ')
|
'modules': _.keys(dbot.modules).join(', ')
|
||||||
|
Loading…
Reference in New Issue
Block a user