mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-14 22:05:01 +00:00
chore: formatting
This commit is contained in:
parent
5c0602715d
commit
81109314ea
45 changed files with 139 additions and 75 deletions
|
@ -30,7 +30,7 @@ import {
|
|||
import { LogsThreadCreateEvt, LogsThreadDeleteEvt, LogsThreadUpdateEvt } from "./events/LogsThreadModifyEvts.js";
|
||||
import { LogsGuildMemberUpdateEvt } from "./events/LogsUserUpdateEvts.js";
|
||||
import { LogsVoiceStateUpdateEvt } from "./events/LogsVoiceChannelEvts.js";
|
||||
import { FORMAT_NO_TIMESTAMP, LogsPluginType, zLogsConfig } from "./types.js";
|
||||
import { LogsPluginType, zLogsConfig } from "./types.js";
|
||||
import { getLogMessage } from "./util/getLogMessage.js";
|
||||
import { log } from "./util/log.js";
|
||||
import { onMessageDelete } from "./util/onMessageDelete.js";
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import { GuildMember } from "discord.js";
|
||||
import { humanizeDuration } from "../../../humanizeDuration.js";
|
||||
import { GuildPluginData } from "knub";
|
||||
import moment from "moment-timezone";
|
||||
import { LogType } from "../../../data/LogType.js";
|
||||
import { humanizeDuration } from "../../../humanizeDuration.js";
|
||||
import { createTypedTemplateSafeValueContainer } from "../../../templateFormatter.js";
|
||||
import { memberToTemplateSafeMember } from "../../../utils/templateSafeObjects.js";
|
||||
import { LogsPluginType } from "../types.js";
|
||||
|
|
|
@ -12,7 +12,7 @@ import {
|
|||
userToTemplateSafeUser,
|
||||
} from "../../../utils/templateSafeObjects.js";
|
||||
import { TimeAndDatePlugin } from "../../TimeAndDate/TimeAndDatePlugin.js";
|
||||
import { FORMAT_NO_TIMESTAMP, LogsPluginType } from "../types.js";
|
||||
import { LogsPluginType } from "../types.js";
|
||||
import { log } from "../util/log.js";
|
||||
|
||||
export interface LogMessageDeleteData {
|
||||
|
|
|
@ -6,7 +6,7 @@ import { GuildCases } from "../../data/GuildCases.js";
|
|||
import { GuildLogs } from "../../data/GuildLogs.js";
|
||||
import { GuildSavedMessages } from "../../data/GuildSavedMessages.js";
|
||||
import { LogType } from "../../data/LogType.js";
|
||||
import { keys, zBoundedCharacters, zMessageContent, zRegex, zSnowflake } from "../../utils.js";
|
||||
import { zBoundedCharacters, zMessageContent, zRegex, zSnowflake } from "../../utils.js";
|
||||
import { MessageBuffer } from "../../utils/MessageBuffer.js";
|
||||
import {
|
||||
TemplateSafeCase,
|
||||
|
|
|
@ -25,7 +25,7 @@ import {
|
|||
TemplateSafeUser,
|
||||
} from "../../../utils/templateSafeObjects.js";
|
||||
import { TimeAndDatePlugin } from "../../TimeAndDate/TimeAndDatePlugin.js";
|
||||
import { FORMAT_NO_TIMESTAMP, ILogTypeData, LogsPluginType, TLogChannel } from "../types.js";
|
||||
import { ILogTypeData, LogsPluginType, TLogChannel } from "../types.js";
|
||||
|
||||
export async function getLogMessage<TLogType extends keyof ILogTypeData>(
|
||||
pluginData: GuildPluginData<LogsPluginType>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue