-
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
needs shapingMore information needed / Decision needs makingMore information needed / Decision needs making
Milestone
Description
Having common bases for components may allow us to better organise them. Ideas:
-
InteractionComponent
This would allow us to extend the
defer
options, which leads to less duplication. It also might lead perfectly into de-duplicatinginteractionCreate
listeners -
RunnableComponent
Standardising around
run
being the primary handler name allows us to have a shared type. The downside is that it's somewhat redundant since we delegate handling and running to the plugins, also might lead to weird typing.
Somewhat related to RunnableComponent
having a common ComponentContext
object, and a way of getting it would be ideal for changes to it. This ties in nicely to #225 too
Metadata
Metadata
Assignees
Labels
needs shapingMore information needed / Decision needs makingMore information needed / Decision needs making