Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adde entriesAmount variable for Giveaway when ended #480

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

Tomato6966
Copy link

@Tomato6966 Tomato6966 commented Sep 11, 2022

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
Copy link
Collaborator

Nico105 commented Sep 11, 2022

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants