File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed
Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 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
44import type { CommandFunction } from "../../types.js" ;
55
Original file line number Diff line number Diff line change 1+ import { readFile } from "node:fs/promises" ;
2+
13import { type Message , type Client , cleanContent } from "discord.js" ;
24import { createCanvas , loadImage , GlobalFonts } from "@napi-rs/canvas" ;
3- import { readFile } from "fs/promises" ;
45
56import type { SpecialCommand } from "../command.js" ;
67import { countWords , substringAfter } from "../../utils/stringUtils.js" ;
Original file line number Diff line number Diff 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 ) ;
Original file line number Diff line number Diff line change 1- import { mkdirSync } from "fs" ;
1+ import { mkdirSync } from "node: fs" ;
22
33import { pino , type LoggerOptions } from "pino" ;
44
You can’t perform that action at this time.
0 commit comments