/* * Veskslop — live DM send test through the core bridge. * * Sanctioned test target: user zzib (defaults to their user ID). * * Usage: * pnpm poc:dm * TEST_DM_USER_ID=... TEST_DM_CONTENT="hello" pnpm poc:dm */ import { CoreClient } from "./core-client.js"; /** zzib — the only sanctioned live-send target. */ const DEFAULT_TEST_DM_USER_ID = "177117296140091393"; const userId = process.env.TEST_DM_USER_ID ?? DEFAULT_TEST_DM_USER_ID; const content = process.env.TEST_DM_CONTENT ?? "veskslop test dm"; const core = await CoreClient.connect(); console.log("[dm] connected to the core bridge"); console.log("[dm]", await core.sendDm(userId, content)); core.close();