commandkit icon indicating copy to clipboard operation
commandkit copied to clipboard

refactor: utilize `INTERACTION_CREATE` event for ButtonKit instead of using collector

Open twlite opened this issue 1 year ago • 0 comments

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.

twlite avatar Dec 29 '23 09:12 twlite