Gets a component by custom id.
The custom id of the component.
Gets channels component
The custom id of the component
Whether to throw an error if the component value is not found or empty
allowed types of channels. If empty, all channel types are allowed.
The selected channels, or null if none were selected and not required
Gets members component
The custom id of the component
The selected members, or null if none were selected or the users were not present in the guild
Gets mentionables component
The custom id of the component
Whether to throw an error if the component value is not found or empty
The selected mentionables, or null if none were selected and not required
Gets roles component
The custom id of the component
Whether to throw an error if the component value is not found or empty
Gets users component
The custom id of the component
Whether to throw an error if the component value is not found or empty The selected users, or null if none were selected and not required
Gets the values of a string select component
The custom id of the string select component
Gets the value of a text input component
The custom id of the text input component
A resolver for modal submit components