我想在此处标记频道
https://i.stack.imgur.com/z1fxj.png
但是当我使用“ message.channel”时,我得到<#ID>
与message.channel.send()“ message.channel”一起工作应该如何。
非常感谢您!
答案 0 :(得分:2)
与用户一样,频道在ID的两边都需要不等式运算符。
示例:
.setTitle('Message sent by user deleted in <#503809393813356544>')
将发送:
用户发送的邮件已在#channel中删除
答案 1 :(得分:1)
您必须在嵌入中输入<#ChannelID>
const embed = new Discord.RichEmbed().setTitle('Say hello in the following channel: <#CHANNELID>')
答案 2 :(得分:0)
如the following raised issue中所述,discord不支持在嵌入标题中提及或降价