mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 12:25:02 +00:00
DJS Update, Full Import Cleanup
This commit is contained in:
parent
acb4913495
commit
c932269b7d
67 changed files with 119 additions and 144 deletions
|
@ -1,6 +1,6 @@
|
|||
import { channelToConfigAccessibleChannel } from "../../../utils/configAccessibleObjects";
|
||||
import { LogType } from "../../../data/LogType";
|
||||
import { differenceToString, getScalarDifference } from "../../../utils";
|
||||
import { channelToConfigAccessibleChannel } from "../../../utils/configAccessibleObjects";
|
||||
import { logsEvt } from "../types";
|
||||
|
||||
export const LogsChannelCreateEvt = logsEvt({
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { GuildAuditLogs } from "discord.js";
|
||||
import { userToConfigAccessibleUser } from "../../../utils/configAccessibleObjects";
|
||||
import { LogType } from "../../../data/LogType";
|
||||
import { userToConfigAccessibleUser } from "../../../utils/configAccessibleObjects";
|
||||
import { safeFindRelevantAuditLogEntry } from "../../../utils/safeFindRelevantAuditLogEntry";
|
||||
import { logsEvt } from "../types";
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import humanizeDuration from "humanize-duration";
|
||||
import moment from "moment-timezone";
|
||||
import { memberToConfigAccessibleMember } from "../../../utils/configAccessibleObjects";
|
||||
import { LogType } from "../../../data/LogType";
|
||||
import { memberToConfigAccessibleMember } from "../../../utils/configAccessibleObjects";
|
||||
import { CasesPlugin } from "../../Cases/CasesPlugin";
|
||||
import { logsEvt } from "../types";
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { memberToConfigAccessibleMember } from "../../../utils/configAccessibleObjects";
|
||||
import { LogType } from "../../../data/LogType";
|
||||
import { memberToConfigAccessibleMember } from "../../../utils/configAccessibleObjects";
|
||||
import { logsEvt } from "../types";
|
||||
|
||||
export const LogsGuildMemberRemoveEvt = logsEvt({
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { roleToConfigAccessibleRole } from "../../../utils/configAccessibleObjects";
|
||||
import { LogType } from "../../../data/LogType";
|
||||
import { differenceToString, getScalarDifference } from "../../../utils";
|
||||
import { roleToConfigAccessibleRole } from "../../../utils/configAccessibleObjects";
|
||||
import { logsEvt } from "../types";
|
||||
|
||||
export const LogsRoleCreateEvt = logsEvt({
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { channelToConfigAccessibleChannel, stageToConfigAccessibleStage } from "../../../utils/configAccessibleObjects";
|
||||
import { LogType } from "../../../data/LogType";
|
||||
import { differenceToString, getScalarDifference, stripObjectToScalars } from "../../../utils";
|
||||
import { differenceToString, getScalarDifference } from "../../../utils";
|
||||
import { channelToConfigAccessibleChannel, stageToConfigAccessibleStage } from "../../../utils/configAccessibleObjects";
|
||||
import { logsEvt } from "../types";
|
||||
|
||||
export const LogsStageInstanceCreateEvt = logsEvt({
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { channelToConfigAccessibleChannel } from "../../../utils/configAccessibleObjects";
|
||||
import { LogType } from "../../../data/LogType";
|
||||
import { stripObjectToScalars, getScalarDifference, differenceToString } from "../../../utils";
|
||||
import { differenceToString, getScalarDifference } from "../../../utils";
|
||||
import { channelToConfigAccessibleChannel } from "../../../utils/configAccessibleObjects";
|
||||
import { logsEvt } from "../types";
|
||||
|
||||
export const LogsThreadCreateEvt = logsEvt({
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { GuildAuditLogs } from "discord.js";
|
||||
import diff from "lodash.difference";
|
||||
import isEqual from "lodash.isequal";
|
||||
import { memberToConfigAccessibleMember, userToConfigAccessibleUser } from "src/utils/configAccessibleObjects";
|
||||
import { memberToConfigAccessibleMember, userToConfigAccessibleUser } from "../../../utils/configAccessibleObjects";
|
||||
import { LogType } from "../../../data/LogType";
|
||||
import { safeFindRelevantAuditLogEntry } from "../../../utils/safeFindRelevantAuditLogEntry";
|
||||
import { logsEvt } from "../types";
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
import { channelToConfigAccessibleChannel, memberToConfigAccessibleMember } from "src/utils/configAccessibleObjects";
|
||||
import {
|
||||
channelToConfigAccessibleChannel,
|
||||
memberToConfigAccessibleMember,
|
||||
} from "../../../utils/configAccessibleObjects";
|
||||
import { LogType } from "../../../data/LogType";
|
||||
import { stripObjectToScalars } from "../../../utils";
|
||||
import { logsEvt } from "../types";
|
||||
|
||||
export const LogsVoiceStateUpdateEvt = logsEvt({
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { MessageAttachment, Snowflake, User } from "discord.js";
|
||||
import { MessageAttachment, Snowflake } from "discord.js";
|
||||
import { GuildPluginData } from "knub";
|
||||
import moment from "moment-timezone";
|
||||
import { channelToConfigAccessibleChannel, userToConfigAccessibleUser } from "src/utils/configAccessibleObjects";
|
||||
import { channelToConfigAccessibleChannel, userToConfigAccessibleUser } from "../../../utils/configAccessibleObjects";
|
||||
import { SavedMessage } from "../../../data/entities/SavedMessage";
|
||||
import { LogType } from "../../../data/LogType";
|
||||
import { resolveUser, useMediaUrls } from "../../../utils";
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
import { MessageEmbed, Snowflake, User } from "discord.js";
|
||||
import { MessageEmbed, Snowflake } from "discord.js";
|
||||
import { GuildPluginData } from "knub";
|
||||
import cloneDeep from "lodash.clonedeep";
|
||||
import { channelToConfigAccessibleChannel, userToConfigAccessibleUser } from "src/utils/configAccessibleObjects";
|
||||
import { channelToConfigAccessibleChannel, userToConfigAccessibleUser } from "../../../utils/configAccessibleObjects";
|
||||
import { SavedMessage } from "../../../data/entities/SavedMessage";
|
||||
import { LogType } from "../../../data/LogType";
|
||||
import { resolveUser, stripObjectToScalars } from "../../../utils";
|
||||
import { resolveUser } from "../../../utils";
|
||||
import { LogsPluginType } from "../types";
|
||||
|
||||
export async function onMessageUpdate(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue