diff --git a/src/commands/KickCommand.ts b/src/commands/KickCommand.ts index 28eb0fa8..c49b4281 100644 --- a/src/commands/KickCommand.ts +++ b/src/commands/KickCommand.ts @@ -16,7 +16,7 @@ limitations under the License. import { Mjolnir } from "../Mjolnir"; import { LogLevel, MatrixGlob, RichReply } from "@vector-im/matrix-bot-sdk"; -import {htmlEscape} from "../utils"; +import { htmlEscape } from "../utils"; // !mjolnir kick [room] [reason] export async function execKickCommand(roomId: string, event: any, mjolnir: Mjolnir, parts: string[]) { diff --git a/src/commands/SuspendCommand.ts b/src/commands/SuspendCommand.ts index 85f8ec40..5ab6dc3a 100644 --- a/src/commands/SuspendCommand.ts +++ b/src/commands/SuspendCommand.ts @@ -16,7 +16,7 @@ limitations under the License. import { Mjolnir } from "../Mjolnir"; import { RichReply } from "@vector-im/matrix-bot-sdk"; -import {htmlEscape} from "../utils"; +import { htmlEscape } from "../utils"; export async function execSuspendCommand(roomId: string, event: any, mjolnir: Mjolnir, parts: string[]) { const target = parts[2]; diff --git a/src/protections/BasicFlooding.ts b/src/protections/BasicFlooding.ts index 76651f37..0c52d2a8 100644 --- a/src/protections/BasicFlooding.ts +++ b/src/protections/BasicFlooding.ts @@ -18,7 +18,7 @@ import { Protection } from "./IProtection"; import { NumberProtectionSetting } from "./ProtectionSettings"; import { Mjolnir } from "../Mjolnir"; import { LogLevel, LogService } from "@vector-im/matrix-bot-sdk"; -import {htmlEscape} from "../utils"; +import { htmlEscape } from "../utils"; // if this is exceeded, we'll ban the user for spam and redact their messages export const DEFAULT_MAX_PER_MINUTE = 10; diff --git a/src/protections/FirstMessageIsImage.ts b/src/protections/FirstMessageIsImage.ts index 1fcc340f..fe3d129a 100644 --- a/src/protections/FirstMessageIsImage.ts +++ b/src/protections/FirstMessageIsImage.ts @@ -17,7 +17,7 @@ limitations under the License. import { Protection } from "./IProtection"; import { Mjolnir } from "../Mjolnir"; import { LogLevel, LogService } from "@vector-im/matrix-bot-sdk"; -import {htmlEscape, isTrueJoinEvent} from "../utils"; +import { htmlEscape, isTrueJoinEvent } from "../utils"; export class FirstMessageIsImage extends Protection { private justJoined: { [roomId: string]: string[] } = {};