Update websrv.js
This commit is contained in:
parent
d5bf0671ee
commit
86d7ff7197
@ -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+') in branch '+body.branch, 'n0xy' );
|
||||
lib.bot.send( lib.cfg.debugchannel, eventname + ' from ' + autor + ' ('+commit+') in '+body.ref, 'n0xy' );
|
||||
|
||||
if( lib.cfg.debugchannel === '#f0ck' ) {
|
||||
exec('cd ../ & git pull', (error, stdout) => {
|
||||
|
Loading…
Reference in New Issue
Block a user