Reply Embeds

Reply Embeds allows you to send rich embed messages automatically when certain keywords are detected. These are more visually appealing than plain text replies and can include fields, colours, images, and more.

What Is an Embed?

Embeds are rich message objects in Discord that support:

  • Custom titles
  • Descriptions
  • Fields
  • Colours
  • Images and thumbnails
  • Footers and timestamps

Basic Embed Reply

To send an embed automatically when a keyword is matched, use the embed reply helper function provided by the library. This wraps Discord’s embed API in a simple call.

Example Usage
discordReplyEmbed("!rules", {
  title: "Server Rules",
  description: "Please follow all rules!",
  color: "#00FF00"
});

Embedding Fields

You can include multiple fields in your embed to structure content clearly.

Embed With Fields
discordReplyEmbed("!embed", {
  title: "Example Embed",
  fields: [
    { name: "Field 1", value: "Some info" },
    { name: "Field 2", value: "More details" }
  ],
  color: "#FFAA00"
});

Using Images

Embeds may include images or thumbnails for added visual context.

Embed With Image
discordReplyEmbed("!promo", {
  title: "Check this out!",
  image: "https://example.com/promo.png",
  color: "#FF00FF"
});

Best Practices

  • Keep embed content concise and relevant
  • Use colours that match your server theme
  • Avoid overly large images for performance
  • Test embed appearance on different devices

Want to see more ways to automate responses? Check the Standard Replies section.