From 16d1edae972e25dce083dc3141251cf2adfab86d Mon Sep 17 00:00:00 2001 From: c43721 Date: Sat, 16 Apr 2022 15:02:02 -0500 Subject: [PATCH] fix: fix dapi imports --- src/commands/configure.ts | 2 +- src/commands/help.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/configure.ts b/src/commands/configure.ts index 61d1b0a6..064ff6c0 100644 --- a/src/commands/configure.ts +++ b/src/commands/configure.ts @@ -16,7 +16,7 @@ // ________________________________________________________________________________________________ import { SlashCommandBuilder } from "@discordjs/builders"; -import { ChannelType } from "discord-api-types"; +import { ChannelType } from "discord-api-types/v9"; import { type CommandInteraction, type GuildMember, type GuildTextBasedChannel, Permissions } from "discord.js"; import { disableAutothreading, emojisEnabled, enableAutothreading, getConfig, resetConfigToDefault, setEmojisEnabled, setMessage } from "../helpers/configHelpers"; import { interactionReply, getMessage, MessageKey, isAutoThreadChannel, addMessageContext } from "../helpers/messageHelpers"; diff --git a/src/commands/help.ts b/src/commands/help.ts index e6295347..69c202af 100644 --- a/src/commands/help.ts +++ b/src/commands/help.ts @@ -17,7 +17,7 @@ import { SlashCommandBuilder } from "@discordjs/builders"; import { type CommandInteraction, MessageActionRow, MessageEmbed } from "discord.js"; -import type { APIApplicationCommandOption } from "discord-api-types"; +import type { APIApplicationCommandOption } from "discord-api-types/v9"; import { getCommand, getOrLoadAllCommands } from "../handlers/commandHandler"; import { getBugReportButton, getDiscordInviteButton, getFeatureRequestButton } from "../helpers/messageHelpers"; import type { NeedleCommand } from "../types/needleCommand";