BrianWalczak
BrianWalczak

Reputation: 23

Discord.js Embed Script Box

Does anyone know how to make a box in a description of an embed. For example -

When you use -

<script>

It makes a script like box in your message. Anyone know how you can do one of those in an embed

channel.send({embed: {
    color: 3447003,
    author: {
    },
    title: "Example",
    description: ``,
    fields: [{
        name: "Example",
        value: `Example` <---- here
      }
    ],
    footer: {
    }
  }
});

Upvotes: 0

Views: 459

Answers (1)

HoppelHobbit
HoppelHobbit

Reputation: 46

Add \` before and After the Text you want to use it on or use \`\`\` before and After if it is multiline (You can google for "discord markdown" for further information)

Upvotes: 1

Related Questions