mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-14 05:45:02 +00:00
Organise all imports, make Mutes depend on Logs
This commit is contained in:
parent
a94e7593ec
commit
6ac9d2f2a2
437 changed files with 1912 additions and 2027 deletions
backend/src
|
@ -1,50 +1,44 @@
|
|||
import { URL } from "url";
|
||||
import tlds from "tlds";
|
||||
import emojiRegex from "emoji-regex";
|
||||
import * as t from "io-ts";
|
||||
import {
|
||||
Client,
|
||||
Constants,
|
||||
Emoji,
|
||||
Guild,
|
||||
GuildAuditLogs,
|
||||
GuildAuditLogsEntry,
|
||||
GuildChannel,
|
||||
GuildMember,
|
||||
|
||||
Invite,
|
||||
Message,
|
||||
|
||||
MessageAttachment,
|
||||
|
||||
MessageEmbed,
|
||||
MessageEmbedOptions,
|
||||
MessageMentionOptions,
|
||||
MessageOptions,
|
||||
PartialChannelData,
|
||||
PartialMessage,
|
||||
StringResolvable,
|
||||
TextChannel,
|
||||
User
|
||||
} from "discord.js";
|
||||
import emojiRegex from "emoji-regex";
|
||||
import { either } from "fp-ts/lib/Either";
|
||||
import { unsafeCoerce } from "fp-ts/lib/function";
|
||||
import fs from "fs";
|
||||
import https from "https";
|
||||
import tmp from "tmp";
|
||||
import { helpers } from "knub";
|
||||
import { SavedMessage } from "./data/entities/SavedMessage";
|
||||
import { decodeAndValidateStrict, StrictValidationError } from "./validatorUtils";
|
||||
import { either } from "fp-ts/lib/Either";
|
||||
import * as t from "io-ts";
|
||||
import moment from "moment-timezone";
|
||||
import tlds from "tlds";
|
||||
import tmp from "tmp";
|
||||
import { URL } from "url";
|
||||
import { SavedMessage } from "./data/entities/SavedMessage";
|
||||
import { SimpleCache } from "./SimpleCache";
|
||||
import { logger } from "./logger";
|
||||
import { unsafeCoerce } from "fp-ts/lib/function";
|
||||
import { sendDM } from "./utils/sendDM";
|
||||
import { LogType } from "./data/LogType";
|
||||
import {
|
||||
APIMessage,
|
||||
Channel,
|
||||
Client,
|
||||
Constants,
|
||||
Emoji,
|
||||
Guild,
|
||||
GuildAuditLogs,
|
||||
GuildAuditLogsEntry,
|
||||
GuildChannel,
|
||||
GuildMember,
|
||||
Interaction,
|
||||
Invite,
|
||||
Message,
|
||||
MessageActionRow,
|
||||
MessageAttachment,
|
||||
MessageComponent,
|
||||
MessageEmbed,
|
||||
MessageEmbedOptions,
|
||||
MessageMentionOptions,
|
||||
MessageOptions,
|
||||
PartialChannelData,
|
||||
PartialMessage,
|
||||
StringResolvable,
|
||||
TextChannel,
|
||||
User,
|
||||
} from "discord.js";
|
||||
import { ChannelTypeStrings } from "./types";
|
||||
import { waitForButtonConfirm } from "./utils/waitForInteraction";
|
||||
import { decodeAndValidateStrict, StrictValidationError } from "./validatorUtils";
|
||||
|
||||
|
||||
const fsp = fs.promises;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue