Merge branch 'f0ckdev' into 'master'

F0ckdev



See merge request !11
This commit is contained in:
Flummi 2016-10-21 00:45:57 +00:00
commit c2c1be28b8
2 changed files with 5 additions and 3 deletions

View File

@ -8,8 +8,10 @@ module.exports = (lib) => {
active: 1,
func: (e) => {
exec('cd ../../ & git pull', (error, stdout) => {
if(error === null)
e.reply(stdout);
if(error === null) {
e.reply( 'git pull suxxessfully.' );
//e.reply(stdout);
}
});
},
desc: 'gitpuller'

View File

@ -47,7 +47,7 @@ function Websrv(tlib) {
if( lib.cfg.debugchannel === '#f0ck' ) {
exec('cd ../ & git pull', (error, stdout) => {
if(error === null)
lib.bot.send( lib.cfg.debugchannel, stdout, 'n0xy' );
lib.bot.send( lib.cfg.debugchannel, 'git pull suxxessfully.', 'n0xy' );
});
}
}