mirror of
https://github.com/reality/dbot.git
synced 2024-11-23 20:39:25 +01:00
automatically post version on greload and fix removealias bug
This commit is contained in:
parent
74558aea20
commit
239e94fe05
@ -46,10 +46,7 @@ var commands = function(dbot) {
|
||||
exec("git submodule update", function (error, stdout, stderr) {
|
||||
event.reply(dbot.t('gpull'));
|
||||
commands['~reload'](event);
|
||||
event.message = '~version';
|
||||
event.action = 'PRIVMSG';
|
||||
event.params = event.message.split(' ');
|
||||
dbot.instance.emit(event);
|
||||
commands['~version'](event);
|
||||
}.bind(this));
|
||||
}.bind(this));
|
||||
},
|
||||
|
@ -73,7 +73,7 @@ var commands = function(dbot) {
|
||||
}));
|
||||
});
|
||||
} else {
|
||||
event.reply(dbot.t('unknown_alias', { 'alias': nick }));
|
||||
event.reply(dbot.t('unknown_alias', { 'alias': alias }));
|
||||
}
|
||||
}.bind(this));
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user