Add voice audio, capture and transcript, browser monitor, and DM UI
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user