Use the quote text instead of an [object Object]
This commit is contained in:
parent
bd98d87475
commit
62285d4492
1 changed files with 4 additions and 1 deletions
|
|
@ -19,7 +19,10 @@ export default {
|
|||
let bracket = db[gID].bracket;
|
||||
|
||||
// Construct the primary body of the message
|
||||
let content = `The bracket currently has a tie between:\n> ${data.winners.join('\n~~------------------------------------~~\n> ')}`;
|
||||
let content = `The bracket currently has a tie between:\n> `;
|
||||
content += data.winners
|
||||
.map((q:quote) => q.text)
|
||||
.join('\n~~------------------------------------~~\n> ');
|
||||
|
||||
// Alert users if all will be eliminated or not
|
||||
if (data.eliminate_all) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue