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

Optimize imports

This commit is contained in:
Dragory 2020-07-06 02:57:21 +03:00
parent c1d91b2864
commit c17fef6440
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
6 changed files with 7 additions and 20 deletions

View file

@ -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";

View file

@ -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",

View file

@ -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";

View file

@ -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";

View file

@ -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";

View file

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