Update websrv.js
This commit is contained in:
parent
04579f1cd8
commit
d5bf0671ee
|
@ -41,7 +41,7 @@ function Websrv(tlib) {
|
|||
catch(ex) {
|
||||
commit = body.commits[body.commits.length-2].message.replace('\n','').trim();
|
||||
}
|
||||
lib.bot.send( lib.cfg.debugchannel, eventname + ' from ' + autor + ' ('+commit+')', 'n0xy' );
|
||||
lib.bot.send( lib.cfg.debugchannel, eventname + ' from ' + autor + ' ('+commit+') in branch '+body.branch, 'n0xy' );
|
||||
|
||||
if( lib.cfg.debugchannel === '#f0ck' ) {
|
||||
exec('cd ../ & git pull', (error, stdout) => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user