Class: AutocompleteCommandContext
Hierarchy
-
BaseContext↳AutocompleteCommandContext
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new AutocompleteCommandContext(client, data): AutocompleteCommandContext
Initializes a new instance of the APIApplicationCommandAutocompleteInteraction class.
Parameters
Returns
AutocompleteCommandContext
Overrides
BaseContext.constructorDefined in
src/structures/Contexts/AutocompleteCommandContext.ts:30Properties
API
•Private API: InteractionsAPI
Defined in
src/structures/Contexts/AutocompleteCommandContext.ts:15applicationId
•Readonly applicationId: string
Defined in
src/structures/Contexts/AutocompleteCommandContext.ts:20channel
• channel:Channel
Defined in
src/structures/Contexts/AutocompleteCommandContext.ts:22client
• client:YorClient
Inherited from
BaseContext.clientDefined in
src/structures/Base.ts:4interactionId
•Readonly interactionId: string
Defined in
src/structures/Contexts/AutocompleteCommandContext.ts:19raw
•Readonly raw: APIApplicationCommandAutocompleteInteraction
Defined in
src/structures/Contexts/AutocompleteCommandContext.ts:17token
•Readonly token: string
Defined in
src/structures/Contexts/AutocompleteCommandContext.ts:21Methods
decorate
▸ decorate(name, data): unknown
Decorates the object with a new property.
Parameters
Returns
unknown
The decorated object.
Inherited from
BaseContext.decorateDefined in
src/structures/Contexts/BaseContext.ts:22respond
▸ respond(data): Promise<void>
Parameters
Returns
Promise<void>
