fix(discord-bot): fix rewards embed
All checks were successful
Build and Push Docker Image / build (push) Successful in 46s
All checks were successful
Build and Push Docker Image / build (push) Successful in 46s
This commit is contained in:
@@ -24,7 +24,7 @@ export const makeResultEmbed = async (
|
|||||||
.slice(0, Math.min(rewardedParticipants.length, env.QUEST_REWARDS.length))
|
.slice(0, Math.min(rewardedParticipants.length, env.QUEST_REWARDS.length))
|
||||||
.map(
|
.map(
|
||||||
(x, i) =>
|
(x, i) =>
|
||||||
`- ${medals[i]} ${x.username} - ${env.QUEST_REWARDS![i]} gemmes`,
|
`- ${medals[i]} ${x.username} - ${env.QUEST_REWARDS![i]} ${env.QUEST_REWARDS_ARE_GEMS ? "gemmes" : ""}`,
|
||||||
);
|
);
|
||||||
|
|
||||||
if (env.QUEST_REWARDS_ARE_GEMS) {
|
if (env.QUEST_REWARDS_ARE_GEMS) {
|
||||||
|
|||||||
Reference in New Issue
Block a user