diff --git a/backend/src/plugins/Utility/commands/AboutCmd.ts b/backend/src/plugins/Utility/commands/AboutCmd.ts index 22024d9a..119b4123 100644 --- a/backend/src/plugins/Utility/commands/AboutCmd.ts +++ b/backend/src/plugins/Utility/commands/AboutCmd.ts @@ -1,8 +1,6 @@ import { utilityCmd } from "../types"; -import { commandTypeHelpers as ct } from "../../../commandTypes"; -import { messageLink, multiSorter, resolveMember, sorter } from "../../../utils"; -import { sendErrorMessage } from "../../../pluginUtils"; -import { GuildChannel, MessageContent, TextChannel } from "eris"; +import { multiSorter, resolveMember, sorter } from "../../../utils"; +import { GuildChannel, MessageContent } from "eris"; import { getCurrentUptime } from "../../../uptime"; import humanizeDuration from "humanize-duration"; import LCL from "last-commit-log"; diff --git a/backend/src/plugins/Utility/commands/AvatarCmd.ts b/backend/src/plugins/Utility/commands/AvatarCmd.ts index 636942c2..3e490bb5 100644 --- a/backend/src/plugins/Utility/commands/AvatarCmd.ts +++ b/backend/src/plugins/Utility/commands/AvatarCmd.ts @@ -1,9 +1,8 @@ import { utilityCmd } from "../types"; import { commandTypeHelpers as ct } from "../../../commandTypes"; -import { downloadFile, messageLink, SECONDS, UnknownUser } from "../../../utils"; +import { UnknownUser } from "../../../utils"; import { sendErrorMessage } from "../../../pluginUtils"; -import { EmbedOptions, TextChannel } from "eris"; -import { activeReloads } from "../guildReloads"; +import { EmbedOptions } from "eris"; export const AvatarCmd = utilityCmd({ trigger: "avatar", diff --git a/backend/src/plugins/Utility/commands/HelpCmd.ts b/backend/src/plugins/Utility/commands/HelpCmd.ts index 48631125..3c477cff 100644 --- a/backend/src/plugins/Utility/commands/HelpCmd.ts +++ b/backend/src/plugins/Utility/commands/HelpCmd.ts @@ -1,9 +1,6 @@ import { utilityCmd } from "../types"; import { commandTypeHelpers as ct } from "../../../commandTypes"; -import { createChunkedMessage, messageLink } from "../../../utils"; -import { sendErrorMessage } from "../../../pluginUtils"; -import { TextChannel } from "eris"; -import { ZeppelinPlugin } from "../../ZeppelinPlugin"; +import { createChunkedMessage } from "../../../utils"; import { PluginCommandDefinition } from "knub/dist/commands/commandUtils"; import { LoadedPlugin } from "knub"; diff --git a/backend/src/plugins/Utility/commands/JumboCmd.ts b/backend/src/plugins/Utility/commands/JumboCmd.ts index 4b34d492..2858a152 100644 --- a/backend/src/plugins/Utility/commands/JumboCmd.ts +++ b/backend/src/plugins/Utility/commands/JumboCmd.ts @@ -1,9 +1,6 @@ import { utilityCmd } from "../types"; import { commandTypeHelpers as ct } from "../../../commandTypes"; -import { downloadFile, messageLink, SECONDS } from "../../../utils"; -import { sendErrorMessage } from "../../../pluginUtils"; -import { TextChannel } from "eris"; -import { activeReloads } from "../guildReloads"; +import { downloadFile, SECONDS } from "../../../utils"; import fs from "fs"; import sharp from "sharp"; import twemoji from "twemoji"; diff --git a/backend/src/plugins/Utility/commands/ReloadGuildCmd.ts b/backend/src/plugins/Utility/commands/ReloadGuildCmd.ts index eb3836be..e6a3074d 100644 --- a/backend/src/plugins/Utility/commands/ReloadGuildCmd.ts +++ b/backend/src/plugins/Utility/commands/ReloadGuildCmd.ts @@ -1,7 +1,4 @@ import { utilityCmd } from "../types"; -import { commandTypeHelpers as ct } from "../../../commandTypes"; -import { messageLink } from "../../../utils"; -import { sendErrorMessage } from "../../../pluginUtils"; import { TextChannel } from "eris"; import { activeReloads } from "../guildReloads"; diff --git a/backend/src/plugins/Utility/commands/VcmoveCmd.ts b/backend/src/plugins/Utility/commands/VcmoveCmd.ts index 261b84d6..bd21b792 100644 --- a/backend/src/plugins/Utility/commands/VcmoveCmd.ts +++ b/backend/src/plugins/Utility/commands/VcmoveCmd.ts @@ -4,12 +4,11 @@ import { channelMentionRegex, errorMessage, isSnowflake, - messageLink, simpleClosestStringMatch, stripObjectToScalars, } from "../../../utils"; import { sendErrorMessage, sendSuccessMessage } from "../../../pluginUtils"; -import { TextChannel, VoiceChannel } from "eris"; +import { VoiceChannel } from "eris"; import { LogType } from "../../../data/LogType"; export const VcmoveCmd = utilityCmd({