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

Added very basic interaction deferral check #13

Closed
wants to merge 2 commits into from
Closed

Added very basic interaction deferral check #13

wants to merge 2 commits into from

Conversation

thoughts3rased
Copy link
Contributor

Usually when passed a deferred reply, this'll just throw an error saying it's already been deferred. So this should try editing the reply instead in the case that the try clause encounters a deferred reply. Edit this to your desire, this is just how I'd approach adding the support.

Usually when passed a deferred reply, this'll just throw an error saying it's already been deferred. So this should try editing the reply instead in the case that the try clause encounters a deferred reply.
@ryzyx
Copy link
Owner

ryzyx commented Sep 23, 2021

What about using deferUpdate() ?

@thoughts3rased
Copy link
Contributor Author

That's a good idea actually, I forgot that existed

@ryzyx
Copy link
Owner

ryzyx commented Sep 23, 2021

hmm well, can you edit it in and then commit the changes. I'll then merge the pr

@thoughts3rased
Copy link
Contributor Author

Not sure if what I just did was what you meant, if not it might be better for you to add the change just to save time since I'm no expert

@ryzyx
Copy link
Owner

ryzyx commented Sep 23, 2021

Yeah a few issues, imma fix it no worries. Thanks for ur efforts tho :)

@thoughts3rased
Copy link
Contributor Author

No worries, I'll close this pull then

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