javascript - 如何使不和谐机器人消息的粗斜体?
问题描述
好吧,我需要将消息的斜体更改为机器人发送的粗体,这听起来很简单。但我不知道该怎么做。
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.');
}
};
解决方案
使用单个 * 包裹文本。这是大多数斜体文本的通常约定,因此请跟踪它
message.channel.send('*Check this site for a list of commands.*');
这是我在他们的降价中找到的不和谐的快速指南:
推荐阅读
- c - poll_wait() 和 wake_up_interruptible() 如何同步工作?
- php - Magento2 (PHP) using docker compose up gives 111:connection refused, taking minutes then working after code 0
- asp.net - (de) 使用 System.Text.Json 序列化流
- javascript - Reload the document to reset the game when it running
- python - How to extract table and text from docx?
- objective-c - Objective c: iOS 13+ programmatically setting initially root view controller
- javascript - 如何将数据绑定到角度的垫子表单字段?
- youtube-api - Is there any YouTube API for restricting videos at account level?
- google-cloud-platform - 资源上的权限“documentai.processors.processOnline”被拒绝(或者它可能不存在)
- python - 来自 Kaggle 的 Csv 将所有列放入 1 - 如何使用 pd.read_csv 分隔并使 df 可用