Skip to content

Commit 01f8b79

Browse files
vcarlclaude
andcommitted
Integrate Effect-based userThreads model into modLog
Updates modLog.ts to use the Effect-based userThreads implementation via the legacy wrapper functions. This validates the Effect migration approach while maintaining backward compatibility. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 351df12 commit 01f8b79

File tree

2 files changed

+5
-70
lines changed

2 files changed

+5
-70
lines changed

app/helpers/modLog.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ import {
1111
type User,
1212
} from "discord.js";
1313

14+
import {
15+
createUserThreadLegacy as createUserThread,
16+
getUserThreadLegacy as getUserThread,
17+
updateUserThreadLegacy as updateUserThread,
18+
} from "#~/effects/models/userThreads.js";
1419
import {
1520
constructDiscordLink,
1621
describeAttachments,
@@ -31,11 +36,6 @@ import {
3136
ReportReasons,
3237
type Report,
3338
} from "#~/models/reportedMessages.server";
34-
import {
35-
createUserThread,
36-
getUserThread,
37-
updateUserThread,
38-
} from "#~/models/userThreads.server";
3939

4040
import { retry } from "./misc";
4141
import { log } from "./observability";

app/models/userThreads.server.ts

Lines changed: 0 additions & 65 deletions
This file was deleted.

0 commit comments

Comments
 (0)