首页 > 解决方案 > 如何使不和谐机器人消息的粗斜体?

问题描述

好吧,我需要将消息的斜体更改为机器人发送的粗体,这听起来很简单。但我不知道该怎么做。

Discord.js@12.2.0

execute(message) {
  const serverQueue = message.client.queue.get(message.guild.id);
  return message.channel.send('Check this site for a list of commands.');
}
};

标签: javascriptdiscord.js

解决方案


使用单个 * 包裹文本。这是大多数斜体文本的通常约定,因此请跟踪它

message.channel.send('*Check this site for a list of commands.*');

这是我在他们的降价中找到的不和谐的快速指南:

https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline-


推荐阅读