discord.js 以粗体文本发送 api 响应

discord.js sending the api response as a bold text

如何将 api 响应解析为发送到不和谐频道的粗体文本消息?

let channel = guild.channels.cache.get('ChannelID')
channel.send('Price is: ' + price.toFixed(2).bold(), { "parse_mode": "HTML" });

此代码将 return 消息 Price is: <b>1.33</b> 并且不会将文本解析为粗体。

您可以像发送带有两个 *.所以它看起来像

let channel = guild.channels.cache.get(`ChannelID`);
channel.send(`Price is **${price.toFixed(2)}**`);