mirror of
https://github.com/LBRYFoundation/curate.git
synced 2025-08-23 17:37:25 +00:00
Update supports format
This commit is contained in:
parent
2b79705d27
commit
39f0700a92
2 changed files with 4 additions and 4 deletions
|
@ -48,8 +48,8 @@ module.exports = class Supports extends Command {
|
|||
const paginator = new GenericPager(this.client, message, {
|
||||
items: supports,
|
||||
header: `All supports for <@${discordID || message.author.id}>${
|
||||
givenClaim ? ` on claim \`${givenClaim}\`` : ''}`, itemTitle: 'Supports',
|
||||
display: item => `*lbry://**${item.name}***#\`${item.claim_id}\` (${item.amount} LBC)`
|
||||
givenClaim ? ` on claim \`${givenClaim}\`` : ''}`, itemTitle: 'Supports',itemsPerPage: 5,
|
||||
display: item => `> ${item.name} #\`${item.claim_id}\`\n> ${item.amount} LBC\n`
|
||||
});
|
||||
return paginator.start(message.channel.id, message.author.id);
|
||||
}
|
||||
|
|
|
@ -29,8 +29,8 @@ module.exports = class TSupports extends Command {
|
|||
const paginator = new GenericPager(this.client, message, {
|
||||
items: supports,
|
||||
header: `All supports for the trusted account${
|
||||
givenClaim ? ` on claim \`${givenClaim}\`` : ''}`, itemTitle: 'Supports',
|
||||
display: item => `*lbry://**${item.name}***#\`${item.claim_id}\` (${item.amount} LBC)`
|
||||
givenClaim ? ` on claim \`${givenClaim}\`` : ''}`, itemTitle: 'Supports', itemsPerPage: 5,
|
||||
display: item => `> ${item.name} #\`${item.claim_id}\`\n> ${item.amount} LBC\n`
|
||||
});
|
||||
return paginator.start(message.channel.id, message.author.id);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue