No summary provided.
constructor(rest)
Constructs a new instance of the
ApplicationsAPI class| Name | Type | Optional | Description |
|---|---|---|---|
| rest | REST | No | None |
editCurrent(body, { signal }?)
:
Promise<import("discord-api-types/v10").APIApplication>
Edits properties of the application associated with the requesting bot user.
| Name | Type | Optional | Description |
|---|---|---|---|
| body | RESTPatchCurrentApplicationJSONBody | No | The new application data |
| { signal } | Pick<RequestData, 'signal'> | Yes | None |
getCurrent({ signal }?)
:
Promise<import("discord-api-types/v10").APIApplication>
Fetches the application associated with the requesting bot user.
| Name | Type | Optional | Description |
|---|---|---|---|
| { signal } | Pick<RequestData, 'signal'> | Yes | None |