mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 13:03:31 +01:00
docs(ApplicationsAPI): Fix getCurrent() options description (#9816)
docs(ApplicationsAPI): fix `getCurrent()` options description
This commit is contained in:
@@ -10,7 +10,7 @@ export class ApplicationsAPI {
|
|||||||
* Fetches the application associated with the requesting bot user.
|
* Fetches the application associated with the requesting bot user.
|
||||||
*
|
*
|
||||||
* @see {@link https://discord.com/developers/docs/resources/application#get-current-application}
|
* @see {@link https://discord.com/developers/docs/resources/application#get-current-application}
|
||||||
* @param options - The options for editing the application
|
* @param options - The options for fetching the application
|
||||||
*/
|
*/
|
||||||
public async getCurrent({ signal }: Pick<RequestData, 'signal'> = {}) {
|
public async getCurrent({ signal }: Pick<RequestData, 'signal'> = {}) {
|
||||||
return this.rest.get(Routes.currentApplication(), { signal }) as Promise<RESTGetCurrentApplicationResult>;
|
return this.rest.get(Routes.currentApplication(), { signal }) as Promise<RESTGetCurrentApplicationResult>;
|
||||||
|
|||||||
Reference in New Issue
Block a user