Skip to content

Commit 38e9e4a

Browse files
committed
Fix linter
1 parent 9fc8c2c commit 38e9e4a

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

src/commands/modcommands/hilfe.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { promises as fs } from "fs";
2-
import * as path from "path";
1+
import { promises as fs } from "node:fs";
2+
import * as path from "node:path";
33

44
import type { CommandFunction } from "../../types.js";
55

src/commands/special/where.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
import { readFile } from "node:fs/promises";
2+
13
import { type Message, type Client, cleanContent } from "discord.js";
24
import { createCanvas, loadImage, GlobalFonts } from "@napi-rs/canvas";
3-
import { readFile } from "fs/promises";
45

56
import type { SpecialCommand } from "../command.js";
67
import { countWords, substringAfter } from "../../utils/stringUtils.js";

src/handler/reactionHandler.ts

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ export default {
4444
// by accident.
4545
const role = guild.roles.cache.find(
4646
r =>
47+
// biome-ignore lint/suspicious/noMisleadingCharacterClass: somebody wrote this and it seems right
4748
r.name.replace(/[\u200B-\u200D\uFEFF]/g, "") ===
4849
message.content,
4950
);

src/utils/logger.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { mkdirSync } from "fs";
1+
import { mkdirSync } from "node:fs";
22

33
import { pino, type LoggerOptions } from "pino";
44

0 commit comments

Comments
 (0)