Added private isEnding property which makes sure that ended is only true if the giveaway embed was successfully edited.
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.
Changes
Added private
isEnding
property which makes sure thatended
is only true if the giveaway embed was successfully edited.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