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

Helper methods for deffering messages #23

Closed
zunda-arrow opened this issue Oct 22, 2022 · 2 comments · Fixed by #61
Closed

Helper methods for deffering messages #23

zunda-arrow opened this issue Oct 22, 2022 · 2 comments · Fixed by #61

Comments

@zunda-arrow
Copy link
Collaborator

A defer_respond and defer_edit helper method on context.

  • Less args = more ergonomic
  • Will reduce imports for people using from imports 🤮
@hypergonial
Copy link
Member

I honestly don't think is necessary, worst case we could create another overload that has a bool in it, e.g. ctx.defer(edit=True) if you prefer not using the hikari responsetype enum.

@zunda-arrow
Copy link
Collaborator Author

Thats a better way to do it actually, then a user can pass in a bool variable.

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 a pull request may close this issue.

2 participants