commandkit
commandkit copied to clipboard
refactor: utilize `INTERACTION_CREATE` event for ButtonKit instead of using collector
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.