mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-18 01:07:22 +00:00
9 lines
344 B
TypeScript
9 lines
344 B
TypeScript
import { rest } from "../../rest/rest.ts";
|
|
import { endpoints } from "../../util/constants.ts";
|
|
import { Application } from "../../types/applications/application.ts";
|
|
|
|
/** Get the applications info */
|
|
export async function getApplicationInfo() {
|
|
return await rest.runMethod<Omit<Application, "flags">>("get", endpoints.OAUTH2_APPLICATION);
|
|
}
|