From f0318d1338502ec6bbd4b8c3777a0122ae340f1d Mon Sep 17 00:00:00 2001 From: filipnyquist Date: Thu, 19 Jul 2018 15:54:58 +0200 Subject: [PATCH] Fixed so that the claimId is added to urls. Now claims have their id added to the link, this fixes #192. --- bot/modules/claimbot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/modules/claimbot.js b/bot/modules/claimbot.js index f4866d9..68d14e2 100644 --- a/bot/modules/claimbot.js +++ b/bot/modules/claimbot.js @@ -207,7 +207,7 @@ function announceClaim(claim, claimBlockHeight, currentHeight) { text: 'Block ' + claimBlockHeight + ' • Claim ID ' + claim['claimId'] }, image: { url: !value['nsfw'] ? value['thumbnail'] || '' : '' }, - url: 'http://open.lbry.io/' + claim['name'] + url: `http://open.lbry.io/${claim['name']}#${claim['claimId']}` }; discordPost(text, richEmbeded);