Androz2091 / discord-giveaways

🎉 Complete framework to facilitate the creation of giveaways using discord.js
https://discord-giveaways.js.org
MIT License
336 stars 127 forks source link

Adde entriesAmount variable for Giveaway when ended #480

Open Tomato6966 opened 1 year ago

Tomato6966 commented 1 year ago

Changes

Added the variable entriesAmount to a Giveaway so you can add this in an ending message:

{this.entriesAmount} Entries

image

npm i Androz2091/discord-giveaways#9c44927bd696e9a06e494af9554d27c1718e997b

Nico105 commented 1 year ago

For more clarity, I think smth like finalEntrantAmount would go better. and setting it to null instead of 0 seems more appropriate, no? also, I guess this should be saved to the db?

Tomato6966 commented 1 year ago

Sry for late respond, it really is useful, as in most giveaway bots, they show the amount of entries after the giveaway ended, this way it's the most easiest to implement, just add the variable {this.entriesAmount} inside your template messages strings