class ApplicationsAPI

export declare class ApplicationsAPI

Constructors

constructor(
rest: REST
)

Constructs a new instance of the ApplicationsAPI class

Edits properties of the application associated with the requesting bot user.

See also: https://discord.com/developers/docs/resources/application#edit-current-application

getCurrent(
options?: Pick<RequestData, 'signal'>
) : Promise<APIApplication>

Fetches the application associated with the requesting bot user.

See also: https://discord.com/developers/docs/resources/application#get-current-application