From db4aa9603159f44ba3ff1cd1592945cb9ce0d437 Mon Sep 17 00:00:00 2001 From: Niko Storni Date: Thu, 15 Jun 2017 01:47:09 +0200 Subject: [PATCH] removed channel entry --- bots/claimbot.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bots/claimbot.js b/bots/claimbot.js index 7956e95..2bbc265 100644 --- a/bots/claimbot.js +++ b/bots/claimbot.js @@ -155,7 +155,7 @@ function announceClaim(claim, claimBlockHeight, currentHeight) { lbryCall('getvalueforname', claim['name']), lbryCall('getclaimsforname', claim['name']), ]) - .then(function([currentWinningClaim, claimsForName]) { + .then(function ([currentWinningClaim, claimsForName]) { //console.log(JSON.stringify(claimData)); let value = null; if (claimData !== null) @@ -169,10 +169,11 @@ function announceClaim(claim, claimBlockHeight, currentHeight) { const text = []; if (value) { - if (channelName) { + /*if (channelName) { text.push("Channel: lbry://" + channelName); } - else if (value['author']) { + else*/ + if (value['author']) { text.push("author: " + value['author']); } if (value['description']) {