mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 03:18:17 +00:00
fix: constant urls endpoints need to be functions
This commit is contained in:
@@ -6,7 +6,7 @@ export async function getApplicationInfo(bot: Bot) {
|
||||
const result = await bot.rest.runMethod<DiscordApplication>(
|
||||
bot.rest,
|
||||
"get",
|
||||
bot.constants.endpoints.OAUTH2_APPLICATION,
|
||||
bot.constants.endpoints.OAUTH2_APPLICATION(),
|
||||
);
|
||||
|
||||
return bot.transformers.application(bot, result);
|
||||
|
||||
Reference in New Issue
Block a user