Fix bug with Giveaways

This fixes a bug with giveaways. Giveaways would previously list all of the participants of a giveaway in the mail, but at some point a breaking change occurred, and instead it lists [object Object] multiple times.
This commit is contained in:
FreezePhoenix
2024-03-14 19:49:17 -04:00
committed by GitHub
parent 2f6b148440
commit 816946a0d9
+1 -1
View File
@@ -13202,7 +13202,7 @@ setInterval(function () {
to: winner.name,
subject: "You've won a giveaway!",
message:
"Congratulations, you won " + player.name + "'s giveaway. Participants were: " + list.join(", "),
"Congratulations, you won " + player.name + "'s giveaway. Participants were: " + list.map(e=>e.name).join(", "),
rid: randomStr(50),
retries: 5,
item: mitem,