Have the button respond with the quote's text
This commit is contained in:
parent
4475273d88
commit
f44d1d35e2
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ export async function showUserVote(data: any): Promise<object> {
|
||||||
|
|
||||||
let content = `You currently haven't voted for a quote!`;
|
let content = `You currently haven't voted for a quote!`;
|
||||||
if (quote) {
|
if (quote) {
|
||||||
content = `Your vote is for:\n> ${quote}`;
|
content = `Your vote is for:\n> ${quote.text}`;
|
||||||
};
|
};
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue