hopefully the last dir change

This commit is contained in:
ITOH
2021-05-05 20:06:32 +02:00
parent ee2e263d63
commit 7ff0d242ff
113 changed files with 267 additions and 250 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ import { rest } from "../../rest/rest.ts";
import type { ModifyGuildWelcomeScreen } from "../../types/guilds/modify_guild_welcome_screen.ts";
import type { WelcomeScreen } from "../../types/guilds/welcome_screen.ts";
import { endpoints } from "../../util/constants.ts";
import { camelKeysToSnakeCase } from "../../util/utils.ts";
import { snakelize } from "../../util/utils.ts";
export async function editWelcomeScreen(
guildId: bigint,
@@ -11,6 +11,6 @@ export async function editWelcomeScreen(
return await rest.runMethod<WelcomeScreen>(
"patch",
endpoints.GUILD_WELCOME_SCREEN(guildId),
camelKeysToSnakeCase(options),
snakelize(options),
);
}