簡體   English   中英

如何使 discord 機器人消息的粗斜體?

[英]How to make bold italics of a discord bot message?

好吧,我需要將消息的斜體更改為機器人發送的粗體,這聽起來很簡單。 但我不知道該怎么做。

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.*');

這是我在他們的 markdown 上找到的 discord 的快速指南:

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

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM