feat: prevent recording of audio from bot users

This commit is contained in:
MythEclipse
2026-05-16 15:52:10 +07:00
parent d50ce8698f
commit 8b33af8286
2 changed files with 52 additions and 9 deletions
+2
View File
@@ -92,6 +92,8 @@ export async function startRecording(
if (userId === client.user?.id) return;
const userMetadata = await collectUserMetadata(client, userId, channel);
if (userMetadata.bot) return;
logger.info(
{ userId, username: userMetadata.username },
"Voice activity detected",