Skip to content

Commit

Permalink
fix: use the right lengths for pool tables
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiTenno committed Jun 25, 2018
1 parent 4b138b3 commit 7d36bd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/Promocodes/ListPools.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ class ListPools extends Command {
color: 0xd30000,
fields: poolGroup.map(group => ({
name: '_ _',
value: group.map(pool => `\`${rpad(pool.pool_id, longestName.length, ' ')} `
+ `| ${rpad(pool.name, longestId.length, ' ')} | ${pool.len}\``).join('\n'),
value: group.map(pool => `\`${rpad(pool.pool_id, longestId.length, ' ')} `
+ `| ${rpad(pool.name, longestName.length, ' ')} | ${pool.len}\``).join('\n'),
})),
};
pages.push(embed);
Expand Down

0 comments on commit 7d36bd5

Please sign in to comment.