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

chore: formatting

This commit is contained in:
Ruby 2025-01-03 15:15:45 +01:00
parent 5c0602715d
commit 81109314ea
No known key found for this signature in database
GPG key ID: E0BDFAF7AE9E0531
45 changed files with 139 additions and 75 deletions

View file

@ -1,9 +1,9 @@
import { Attachment, ChatInputCommandInteraction, GuildMember, Message, User } from "discord.js";
import { humanizeDuration } from "../../../../humanizeDuration.js";
import { GuildPluginData } from "knub";
import { getMemberLevel } from "knub/helpers";
import { CaseTypes } from "../../../../data/CaseTypes.js";
import { clearExpiringTempban, registerExpiringTempban } from "../../../../data/loops/expiringTempbansLoop.js";
import { humanizeDuration } from "../../../../humanizeDuration.js";
import { canActOn, getContextChannel } from "../../../../pluginUtils.js";
import { UnknownUser, UserNotificationMethod, renderUsername, resolveMember } from "../../../../utils.js";
import { banLock } from "../../../../utils/lockNameHelpers.js";

View file

@ -1,7 +1,6 @@
import { APIEmbed, ChatInputCommandInteraction, GuildMember, Message, User } from "discord.js";
import { GuildPluginData } from "knub";
import { In } from "typeorm";
import { FindOptionsWhere } from "typeorm";
import { FindOptionsWhere, In } from "typeorm";
import { CaseTypes } from "../../../../data/CaseTypes.js";
import { Case } from "../../../../data/entities/Case.js";
import { sendContextResponse } from "../../../../pluginUtils.js";

View file

@ -2,7 +2,14 @@ import { Attachment, ChatInputCommandInteraction, GuildMember, Message, User } f
import { GuildPluginData } from "knub";
import { LogType } from "../../../../data/LogType.js";
import { canActOn } from "../../../../pluginUtils.js";
import { DAYS, SECONDS, UnknownUser, UserNotificationMethod, renderUsername, resolveMember } from "../../../../utils.js";
import {
DAYS,
SECONDS,
UnknownUser,
UserNotificationMethod,
renderUsername,
resolveMember,
} from "../../../../utils.js";
import { handleAttachmentLinkDetectionAndGetRestriction } from "../../functions/attachmentLinkReaction.js";
import {
formatReasonWithAttachments,

View file

@ -1,7 +1,7 @@
import { Attachment, ChatInputCommandInteraction, GuildMember, Message, User } from "discord.js";
import { humanizeDuration } from "../../../../humanizeDuration.js";
import { GuildPluginData } from "knub";
import { ERRORS, RecoverablePluginError } from "../../../../RecoverablePluginError.js";
import { humanizeDuration } from "../../../../humanizeDuration.js";
import { logger } from "../../../../logger.js";
import {
UnknownUser,

View file

@ -1,6 +1,6 @@
import { Attachment, ChatInputCommandInteraction, GuildMember, Message, User } from "discord.js";
import { humanizeDuration } from "../../../../humanizeDuration.js";
import { GuildPluginData } from "knub";
import { humanizeDuration } from "../../../../humanizeDuration.js";
import { UnknownUser, asSingleLine, renderUsername } from "../../../../utils.js";
import { MutesPlugin } from "../../../Mutes/MutesPlugin.js";
import { handleAttachmentLinkDetectionAndGetRestriction } from "../../functions/attachmentLinkReaction.js";