From f44d1d35e29a1f9e9d9fa317b6b39852096bab09 Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Mon, 30 Aug 2021 17:00:43 -0600 Subject: [PATCH] Have the button respond with the quote's text --- src/utils/components/buttons/my_vote.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/components/buttons/my_vote.ts b/src/utils/components/buttons/my_vote.ts index b144953..8d9def6 100644 --- a/src/utils/components/buttons/my_vote.ts +++ b/src/utils/components/buttons/my_vote.ts @@ -7,7 +7,7 @@ export async function showUserVote(data: any): Promise { 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 {