简体   繁体   中英

How to make bold italics of a discord bot message?

Well, I need to change the italics of the message to bold that the bot sends, it sounds simple. but I don't know how to do it.

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

Use single * wrapped around the text. This is the usual convention of most italic text so keep track of it

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

Here's a quick guide by discord I found on their markdown:

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM