0
0
Fork 0

Have the button respond with the quote's text

This commit is contained in:
Oliver-Akins 2021-08-30 17:00:43 -06:00
parent 4475273d88
commit f44d1d35e2

View file

@ -7,7 +7,7 @@ export async function showUserVote(data: any): Promise<object> {
let content = `You currently haven't voted for a quote!`;
if (quote) {
content = `Your vote is for:\n> ${quote}`;
content = `Your vote is for:\n> ${quote.text}`;
};
return {