Search...

ApplicationsAPI

export declare class ApplicationsAPI 
export declare class ApplicationsAPI 

No summary provided.

constructor(rest)

Constructs a new instance of the ApplicationsAPI class
NameTypeOptionalDescription
restRESTNoNone

editCurrent(body, { signal }?)

:

Promise<import("discord-api-types/v10").APIApplication>

Edits properties of the application associated with the requesting bot user.
NameTypeOptionalDescription
bodyRESTPatchCurrentApplicationJSONBodyNoThe new application data
{ signal }Pick<RequestData, 'signal'>YesNone

getCurrent({ signal }?)

:

Promise<import("discord-api-types/v10").APIApplication>

Fetches the application associated with the requesting bot user.
NameTypeOptionalDescription
{ signal }Pick<RequestData, 'signal'>YesNone