Stephen Maples
Stephen Maples

Reputation: 11

How would I create this text in a Discord.js Embed?

I'm currently learning Discord.js, and I'm wondering how I would create the text below?

enter image description here

I tried a few ways that I know but none of those worked.

const infoserver = new Discord.MessageEmbed()
  .setColor('')
  .setTitle('📖 **__INFO: MineCraft Server:__** 📖')
  .setDescription(
    '**Server IP:**```play.wizardcraftmc.com```\n**Supported Versions:** ',
  );

Upvotes: 0

Views: 43

Answers (1)

Stephen Maples
Stephen Maples

Reputation: 11

Using a Single backtick does indeed work appreciate all the comments and help.

"@StephenMaples Do you want the server URL/IP to be on the same line? You could use a single backtick instead of three. – Zsolt Meszaros"

Upvotes: 1

Related Questions