3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

chore: clean up imports in postToCaseLogChannel.ts

This commit is contained in:
Dragory 2021-11-02 22:28:28 +02:00
parent 2572fa78df
commit c5b2812452
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

View file

@ -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(