我正在尝试添加一个功能,如果一个机器人已经在和某人进行语音聊天,而这个人试图让它加入,机器人会回答‘我已经在语音聊天中了’。这就是它适合的部分
client.on('message', async message => {
// Voice only works in guilds, if the message does not come from a guild,
// we ignore it
if (!message.guild) return;
if (message.content === '>join') {