mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 22:39:26 +01:00
Report version after greload callbacks complete
This commit is contained in:
parent
7caa659017
commit
ddc538b6a0
@ -48,13 +48,12 @@ var admin = function(dbot) {
|
|||||||
exec("git submodule update", function (error, stdout, stderr) {
|
exec("git submodule update", function (error, stdout, stderr) {
|
||||||
event.reply(dbot.t('gpull'));
|
event.reply(dbot.t('gpull'));
|
||||||
commands.reload(event);
|
commands.reload(event);
|
||||||
|
event.message = 'version';
|
||||||
|
event.action = 'PRIVMSG';
|
||||||
|
event.params = event.message.split(' ');
|
||||||
|
dbot.instance.emit(event);
|
||||||
}.bind(this));
|
}.bind(this));
|
||||||
}.bind(this));
|
}.bind(this));
|
||||||
|
|
||||||
event.message = 'version';
|
|
||||||
event.action = 'PRIVMSG';
|
|
||||||
event.params = event.message.split(' ');
|
|
||||||
dbot.instance.emit(event);
|
|
||||||
},
|
},
|
||||||
|
|
||||||
// Display commit information for part of dbot
|
// Display commit information for part of dbot
|
||||||
|
Loading…
Reference in New Issue
Block a user