mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-16 14:11:50 +00:00
Optimize imports
This commit is contained in:
parent
c1d91b2864
commit
c17fef6440
6 changed files with 7 additions and 20 deletions
|
@ -1,8 +1,6 @@
|
||||||
import { utilityCmd } from "../types";
|
import { utilityCmd } from "../types";
|
||||||
import { commandTypeHelpers as ct } from "../../../commandTypes";
|
import { multiSorter, resolveMember, sorter } from "../../../utils";
|
||||||
import { messageLink, multiSorter, resolveMember, sorter } from "../../../utils";
|
import { GuildChannel, MessageContent } from "eris";
|
||||||
import { sendErrorMessage } from "../../../pluginUtils";
|
|
||||||
import { GuildChannel, MessageContent, TextChannel } from "eris";
|
|
||||||
import { getCurrentUptime } from "../../../uptime";
|
import { getCurrentUptime } from "../../../uptime";
|
||||||
import humanizeDuration from "humanize-duration";
|
import humanizeDuration from "humanize-duration";
|
||||||
import LCL from "last-commit-log";
|
import LCL from "last-commit-log";
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
import { utilityCmd } from "../types";
|
import { utilityCmd } from "../types";
|
||||||
import { commandTypeHelpers as ct } from "../../../commandTypes";
|
import { commandTypeHelpers as ct } from "../../../commandTypes";
|
||||||
import { downloadFile, messageLink, SECONDS, UnknownUser } from "../../../utils";
|
import { UnknownUser } from "../../../utils";
|
||||||
import { sendErrorMessage } from "../../../pluginUtils";
|
import { sendErrorMessage } from "../../../pluginUtils";
|
||||||
import { EmbedOptions, TextChannel } from "eris";
|
import { EmbedOptions } from "eris";
|
||||||
import { activeReloads } from "../guildReloads";
|
|
||||||
|
|
||||||
export const AvatarCmd = utilityCmd({
|
export const AvatarCmd = utilityCmd({
|
||||||
trigger: "avatar",
|
trigger: "avatar",
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
import { utilityCmd } from "../types";
|
import { utilityCmd } from "../types";
|
||||||
import { commandTypeHelpers as ct } from "../../../commandTypes";
|
import { commandTypeHelpers as ct } from "../../../commandTypes";
|
||||||
import { createChunkedMessage, messageLink } from "../../../utils";
|
import { createChunkedMessage } from "../../../utils";
|
||||||
import { sendErrorMessage } from "../../../pluginUtils";
|
|
||||||
import { TextChannel } from "eris";
|
|
||||||
import { ZeppelinPlugin } from "../../ZeppelinPlugin";
|
|
||||||
import { PluginCommandDefinition } from "knub/dist/commands/commandUtils";
|
import { PluginCommandDefinition } from "knub/dist/commands/commandUtils";
|
||||||
import { LoadedPlugin } from "knub";
|
import { LoadedPlugin } from "knub";
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
import { utilityCmd } from "../types";
|
import { utilityCmd } from "../types";
|
||||||
import { commandTypeHelpers as ct } from "../../../commandTypes";
|
import { commandTypeHelpers as ct } from "../../../commandTypes";
|
||||||
import { downloadFile, messageLink, SECONDS } from "../../../utils";
|
import { downloadFile, SECONDS } from "../../../utils";
|
||||||
import { sendErrorMessage } from "../../../pluginUtils";
|
|
||||||
import { TextChannel } from "eris";
|
|
||||||
import { activeReloads } from "../guildReloads";
|
|
||||||
import fs from "fs";
|
import fs from "fs";
|
||||||
import sharp from "sharp";
|
import sharp from "sharp";
|
||||||
import twemoji from "twemoji";
|
import twemoji from "twemoji";
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
import { utilityCmd } from "../types";
|
import { utilityCmd } from "../types";
|
||||||
import { commandTypeHelpers as ct } from "../../../commandTypes";
|
|
||||||
import { messageLink } from "../../../utils";
|
|
||||||
import { sendErrorMessage } from "../../../pluginUtils";
|
|
||||||
import { TextChannel } from "eris";
|
import { TextChannel } from "eris";
|
||||||
import { activeReloads } from "../guildReloads";
|
import { activeReloads } from "../guildReloads";
|
||||||
|
|
||||||
|
|
|
@ -4,12 +4,11 @@ import {
|
||||||
channelMentionRegex,
|
channelMentionRegex,
|
||||||
errorMessage,
|
errorMessage,
|
||||||
isSnowflake,
|
isSnowflake,
|
||||||
messageLink,
|
|
||||||
simpleClosestStringMatch,
|
simpleClosestStringMatch,
|
||||||
stripObjectToScalars,
|
stripObjectToScalars,
|
||||||
} from "../../../utils";
|
} from "../../../utils";
|
||||||
import { sendErrorMessage, sendSuccessMessage } from "../../../pluginUtils";
|
import { sendErrorMessage, sendSuccessMessage } from "../../../pluginUtils";
|
||||||
import { TextChannel, VoiceChannel } from "eris";
|
import { VoiceChannel } from "eris";
|
||||||
import { LogType } from "../../../data/LogType";
|
import { LogType } from "../../../data/LogType";
|
||||||
|
|
||||||
export const VcmoveCmd = utilityCmd({
|
export const VcmoveCmd = utilityCmd({
|
||||||
|
|
Loading…
Add table
Reference in a new issue