mirror of
https://github.com/LBRYFoundation/lbry-wunderbot.git
synced 2025-08-31 17:31:32 +00:00
Fixed so that the claimId is added to urls.
Now claims have their id added to the link, this fixes #192.
This commit is contained in:
parent
486fb43b73
commit
f0318d1338
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ function announceClaim(claim, claimBlockHeight, currentHeight) {
|
||||||
text: 'Block ' + claimBlockHeight + ' • Claim ID ' + claim['claimId']
|
text: 'Block ' + claimBlockHeight + ' • Claim ID ' + claim['claimId']
|
||||||
},
|
},
|
||||||
image: { url: !value['nsfw'] ? value['thumbnail'] || '' : '' },
|
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);
|
discordPost(text, richEmbeded);
|
||||||
|
|
Loading…
Add table
Reference in a new issue