当用户直接在语音通道中进行流媒体播放时,会发生任何事件吗?
答案 0 :(得分:0)
client.on("voiceStateUpdate", (oldVoiceState, newVoiceState) => {
if (!newVoiceState) {return false};
if (newVoiceState.streaming) {
console.log(`${newVoiceState.member.user.tag} is streaming.`);
};
});