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

refactor: utilize INTERACTION_CREATE event for ButtonKit instead of using collector #49

Open
twlite opened this issue Dec 29, 2023 · 0 comments

Comments

@twlite
Copy link
Collaborator

twlite commented Dec 29, 2023

Utilize INTERACTION_CREATE event for ButtonKit instead of using collector.

This allows developers to resume listener without having to set timeout. But this raises a question, should we keep current implementation as well? Collectors are useful for quick prompts such as

Do you really want to kick this user?

[No] [Yes]

which ends after n seconds usually.

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

No branches or pull requests

1 participant