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

🐛 Check if embed was edited on end() #462

Merged
merged 13 commits into from
Jun 5, 2022
Merged

Conversation

Nico105
Copy link
Collaborator

@Nico105 Nico105 commented May 6, 2022

Changes

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.
  • This PR introduces some breaking changes.

@Nico105 Nico105 marked this pull request as ready for review June 5, 2022 18:44
@Nico105 Nico105 merged commit 5be503f into Androz2091:develop Jun 5, 2022
@Nico105
Copy link
Collaborator Author

Nico105 commented Jun 5, 2022

Hope this goes well, otherwise revert and thinking of a new approach XD

Nico105 added a commit that referenced this pull request Jul 7, 2022
This reverts commit 5be503f.
This was done because of issues with the checking system/the while loop.
It seems there are unknown factors/errors which will trigger
the while loop rejection "could not get edited"
unfortunately this will leave the issue of not editing giveaways in
its former state
@Nico105
Copy link
Collaborator Author

Nico105 commented Jul 8, 2022

didn't go well => will have reconsider the approach

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

Successfully merging this pull request may close these issues.

1 participant