Skip to content

Commit

Permalink
Ooops
Browse files Browse the repository at this point in the history
Signed-off-by: Wiibleyde <nathan@bonnell.fr>
  • Loading branch information
Wiibleyde committed Oct 2, 2024
1 parent c061402 commit 49b421e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/fun/quiz/quiz.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export async function handleQuizButton(interaction: ButtonInteraction<CacheType>
if (field.name === "Bonne(s) réponse(s)") {
let finalField = "";
for (const user of quiz.rightUsers) {
finalField = finalField + `backSpace<@${user}>`;
finalField = finalField + `${backSpace}<@${user}>`;
}
field.value = finalField;
found = true;
Expand Down Expand Up @@ -212,7 +212,7 @@ export async function handleQuizButton(interaction: ButtonInteraction<CacheType>
if (field.name === "Mauvaise(s) réponse(s)") {
let finalField = "";
for (const user of quiz.wrongUsers) {
finalField = finalField + `backSpace<@${user}>`;
finalField = finalField + `${backSpace}<@${user}>`;
}
field.value = finalField;
found = true;
Expand Down

0 comments on commit 49b421e

Please sign in to comment.