Add voice audio, capture and transcript, browser monitor, and DM UI

This commit is contained in:
Fisto
2026-09-14 11:19:06 +02:00
parent 65f0788502
commit c003d9532f
27 changed files with 4479 additions and 239 deletions
+9 -1
View File
@@ -40,7 +40,15 @@ const reactionEvent = {
emoji: { name: process.env.TEST_REACTION_EMOJI ?? "1️⃣", id: null }
};
const event = isReaction ? reactionEvent : messageEvent;
const speakingUser = process.env.TEST_TRIGGER_SPEAKING;
const speakingEvent = {
type: "VOICE_SPEAKING",
userId: speakingUser ?? "999",
speaking: process.env.TEST_TRIGGER_SPEAKING_OFF !== "1",
channelId: process.env.TEST_TRIGGER_CHANNEL ?? "200000000000000002"
};
const event = isReaction ? reactionEvent : speakingUser ? speakingEvent : messageEvent;
await new Promise<void>((resolve, reject) => {
const socket = net.connect(coreSocketPath);