diff --git a/packages/framework/src/Stores/CommandStore.ts b/packages/framework/src/Stores/CommandStore.ts index 3fcb68e4..9eb4d1e2 100644 --- a/packages/framework/src/Stores/CommandStore.ts +++ b/packages/framework/src/Stores/CommandStore.ts @@ -1,6 +1,6 @@ import { AliasStore } from "@sapphire/pieces"; -import type { RESTPostAPIApplicationCommandsJSONBody } from "discord-api-types/v10"; -import { Routes } from "discord-api-types/v10"; +import type { APIApplicationCommandOption } from "discord-api-types/v10"; +import { Routes } from "discord-api-types/v10.js"; import { Events } from "../Utilities/EventEnums.js"; import { Command } from "./Command.js"; @@ -11,7 +11,7 @@ export class CommandStore extends AliasStore { public async postCommands(): Promise { const commands = [...this.values()]; - const registerAbleCommands: RESTPostAPIApplicationCommandsJSONBody[] = []; + const registerAbleCommands: APIApplicationCommandOption[] = []; for (const command of commands) { if (command.options.chatInput) {