From c5b2812452e49997e9c28160af1cc6957c5c781d Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Tue, 2 Nov 2021 22:28:28 +0200 Subject: [PATCH] chore: clean up imports in postToCaseLogChannel.ts --- backend/src/plugins/Cases/functions/postToCaseLogChannel.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/backend/src/plugins/Cases/functions/postToCaseLogChannel.ts b/backend/src/plugins/Cases/functions/postToCaseLogChannel.ts index 594f0852..f48fdd0d 100644 --- a/backend/src/plugins/Cases/functions/postToCaseLogChannel.ts +++ b/backend/src/plugins/Cases/functions/postToCaseLogChannel.ts @@ -1,15 +1,12 @@ -import { FileOptions, Message, MessageOptions, NewsChannel, Snowflake, TextChannel, ThreadChannel } from "discord.js"; +import { FileOptions, MessageOptions, NewsChannel, Snowflake, TextChannel } from "discord.js"; import { GuildPluginData } from "knub"; import { Case } from "../../../data/entities/Case"; -import { LogType } from "../../../data/LogType"; import { isDiscordAPIError } from "../../../utils"; import { CasesPluginType } from "../types"; import { getCaseEmbed } from "./getCaseEmbed"; import { resolveCaseId } from "./resolveCaseId"; import { LogsPlugin } from "../../Logs/LogsPlugin"; -import { APIMessage } from "discord-api-types"; import { InternalPosterPlugin } from "../../InternalPoster/InternalPosterPlugin"; -import { post } from "../../../../../dashboard/src/api"; import { InternalPosterMessageResult } from "../../InternalPoster/functions/sendMessage"; export async function postToCaseLogChannel(