Added private endedProperly property which only is true when the end embed equals the generated one.
checkGiveaways will check that property and will end the giveaway again if necessary.
In case winners were already chosen, those will still be the winners.
The only thing that isn't checked is wheter all win Messages were sent. But checking that would require too much fetching, so it's not worth it. It's most important that the embed is properly edited.
Status
[ ] These changes have been tested and formatted properly.
[ ] This PR includes only documentation changes (JSDoc, README or typings), no code change.
*NOT TESTED
Changes
Added private
endedProperly
property which only is true when the end embed equals the generated one.checkGiveaways
will check that property and will end the giveaway again if necessary. In case winners were already chosen, those will still be the winners.The only thing that isn't checked is wheter all win Messages were sent. But checking that would require too much fetching, so it's not worth it. It's most important that the embed is properly edited.
Status