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:
@@ -5,7 +5,7 @@ export async function validDiscoveryTerm(bot: Bot, term: string) {
|
||||
const result = await bot.rest.runMethod<DiscordValidateDiscoverySearchTerm>(
|
||||
bot.rest,
|
||||
"get",
|
||||
bot.constants.endpoints.DISCOVERY_VALID_TERM,
|
||||
bot.constants.endpoints.DISCOVERY_VALID_TERM(),
|
||||
{ term },
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user