chore: fix lint ordering
This commit is contained in:
@@ -40,7 +40,7 @@ import {
|
|||||||
writeScreenRecordToFile,
|
writeScreenRecordToFile,
|
||||||
} from "../cli/nodes-screen.js";
|
} from "../cli/nodes-screen.js";
|
||||||
import { parseDurationMs } from "../cli/parse-duration.js";
|
import { parseDurationMs } from "../cli/parse-duration.js";
|
||||||
import { loadConfig, type DiscordActionConfig } from "../config/config.js";
|
import { type DiscordActionConfig, loadConfig } from "../config/config.js";
|
||||||
import {
|
import {
|
||||||
addRoleDiscord,
|
addRoleDiscord,
|
||||||
banMemberDiscord,
|
banMemberDiscord,
|
||||||
|
|||||||
@@ -63,11 +63,7 @@ export class MessageList extends Container {
|
|||||||
component.setText(text);
|
component.setText(text);
|
||||||
}
|
}
|
||||||
|
|
||||||
private addMessage(
|
private addMessage(role: MessageRole, text: string, style: DefaultTextStyle) {
|
||||||
role: MessageRole,
|
|
||||||
text: string,
|
|
||||||
style: DefaultTextStyle,
|
|
||||||
) {
|
|
||||||
const label = new Text(
|
const label = new Text(
|
||||||
role === "user"
|
role === "user"
|
||||||
? theme.user("you")
|
? theme.user("you")
|
||||||
|
|||||||
Reference in New Issue
Block a user