mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 16:57:22 +00:00
Merge pull request #1780 from discordeno/issue-1779
change(getApplicationInfo): returns Application with flags
This commit is contained in:
@@ -4,9 +4,5 @@ import { SnakeCasedPropertiesDeep } from "../../types/util.ts";
|
||||
|
||||
/** Get the applications info */
|
||||
export async function getApplicationInfo(bot: Bot) {
|
||||
return await bot.rest.runMethod<Omit<Application, "flags">>(
|
||||
bot.rest,
|
||||
"get",
|
||||
bot.constants.endpoints.OAUTH2_APPLICATION
|
||||
);
|
||||
return await bot.rest.runMethod<Application>(bot.rest, "get", bot.constants.endpoints.OAUTH2_APPLICATION);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user