style: fix Biome dead-code warnings from oRPC migration (CI lint gate)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { and, desc, eq, type SQL, sql } from "drizzle-orm";
|
||||
import { desc, eq } from "drizzle-orm";
|
||||
import { getDatabase } from "../../shared/database/index.js";
|
||||
import { pgChatbotMessagesTable, pgMessagesTable } from "../../shared/index.js";
|
||||
import { pgChatbotMessagesTable } from "../../shared/index.js";
|
||||
import { createChildLogger } from "../../shared/logger/index.js";
|
||||
|
||||
const logger = createChildLogger("chatbot.repository");
|
||||
|
||||
@@ -9,7 +9,6 @@ import {
|
||||
pgUserReputationsTable,
|
||||
pgVoiceRecordingsTable,
|
||||
} from "../../shared/index.js";
|
||||
import { tools } from "./chatbot.toolDefs.js";
|
||||
|
||||
/**
|
||||
* Executor for the chatbot's server-watcher tools. The tool *definitions*
|
||||
@@ -430,7 +429,7 @@ async function moderationTimeline(
|
||||
return JSON.stringify(rows);
|
||||
}
|
||||
|
||||
async function corrections(guildId?: string, limit = 10): Promise<string> {
|
||||
async function corrections(_guildId?: string, limit = 10): Promise<string> {
|
||||
const db = getDatabase();
|
||||
const rows = await db
|
||||
.select({
|
||||
|
||||
Reference in New Issue
Block a user