0
0
Fork 0

Use the helper method to create the field, and use the quote text, not the object

This commit is contained in:
Oliver-Akins 2021-08-30 16:55:55 -06:00
parent 108fd65487
commit edb33a14eb

View file

@ -81,8 +81,8 @@ export default {
{
description: `Note: If **more than ${Math.floor(config.guilds[gID].quote_max / 2)}** of the quotes tie, they will all be eliminated, otherwise, the ones that tie will move on to the next bracket.`,
fields: quotes.map((quote, i) => { return {
name: `${i < winner_count ? '👑 ' : ''}Quote ${i + 1}:`,
value: quote,
name: generateFieldTitle(i, quote),
value: quote.text,
}}),
}
],