@(使用命令的人)解锁了结尾“我可能 不应该这么说...”
case 'B3':
message.channel.send('Umm.. What?');
const B3ending = new Discord.MessageEmbed()
.setTitle('Congratulations!)
.setColor(0x8CF1EC)
.setDescription('You unlocked the ending "I probably shouldn't have said that..."');
message.channel.send(B3ending);
break;
答案 0 :(得分:0)
首先,您需要以某种方式获取频道,也许是通过id:
const endChannel = message.guild.channels.cache.get(id);
之后,您可以仅在msg.author
旁边使用send方法
endChannel.send(`${message.author} here's the ending`, { embed: B3ending });