mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 14:29:29 +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) {
|
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';
|
commands['~version'](event);
|
||||||
event.action = 'PRIVMSG';
|
|
||||||
event.params = event.message.split(' ');
|
|
||||||
dbot.instance.emit(event);
|
|
||||||
}.bind(this));
|
}.bind(this));
|
||||||
}.bind(this));
|
}.bind(this));
|
||||||
},
|
},
|
||||||
|
@ -73,7 +73,7 @@ var commands = function(dbot) {
|
|||||||
}));
|
}));
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
event.reply(dbot.t('unknown_alias', { 'alias': nick }));
|
event.reply(dbot.t('unknown_alias', { 'alias': alias }));
|
||||||
}
|
}
|
||||||
}.bind(this));
|
}.bind(this));
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user