ApplicationNode
Defined in: packages/core/src/api.ts:123
A place in Discord’s REST API. Send a request with get, post, put,
patch or delete. Read is what get returns; Write is what post
and patch return (the same, except on a list, where posting makes one item).
Extends
Section titled “Extends”Properties
Section titled “Properties”commands
Section titled “commands”commands:
ListRoute<APIApplicationCommand> &Pick1<Route<APIApplicationCommand,APIApplicationCommand>>
Defined in: packages/core/src/api.ts:124
guilds
Section titled “guilds”guilds:
Pick1<{commands:ListRoute<APIApplicationCommand> &Pick1<Route<APIApplicationCommand,APIApplicationCommand>>; }>
Defined in: packages/core/src/api.ts:127
Commands of one guild.
readonlypath:string
Defined in: packages/core/src/api.ts:58
The path this route stands for, such as /guilds/123/members.
Inherited from
Section titled “Inherited from”Methods
Section titled “Methods”delete()
Section titled “delete()”delete<
R>(options?):Promise<R>
Defined in: packages/core/src/api.ts:63
Type Parameters
Section titled “Type Parameters”R = void
Parameters
Section titled “Parameters”options?
Section titled “options?”Returns
Section titled “Returns”Promise<R>
Inherited from
Section titled “Inherited from”get<
R>(options?):Promise<R>
Defined in: packages/core/src/api.ts:59
Type Parameters
Section titled “Type Parameters”R = unknown
Parameters
Section titled “Parameters”options?
Section titled “options?”Returns
Section titled “Returns”Promise<R>
Inherited from
Section titled “Inherited from”patch()
Section titled “patch()”patch<
R>(body?,options?):Promise<R>
Defined in: packages/core/src/api.ts:62
Type Parameters
Section titled “Type Parameters”R = unknown
Parameters
Section titled “Parameters”unknown
options?
Section titled “options?”Returns
Section titled “Returns”Promise<R>
Inherited from
Section titled “Inherited from”post()
Section titled “post()”post<
R>(body?,options?):Promise<R>
Defined in: packages/core/src/api.ts:60
Type Parameters
Section titled “Type Parameters”R = unknown
Parameters
Section titled “Parameters”unknown
options?
Section titled “options?”Returns
Section titled “Returns”Promise<R>
Inherited from
Section titled “Inherited from”put<
R>(body?,options?):Promise<R>
Defined in: packages/core/src/api.ts:61
Type Parameters
Section titled “Type Parameters”R = void
Parameters
Section titled “Parameters”unknown
options?
Section titled “options?”Returns
Section titled “Returns”Promise<R>