# discord.js-ezembeds

Welcome to this package guide.

## About the package

A simple way of creating embeds in discord.js v13

### Installation

Make sure you are running **discord.js v13.6.0** or above.

```bash
npm i discord.js-ezembeds
```

### Usage

```javascript
const ezembed = require("discord.js-ezembeds");

// Examples
ezembed.editEmbed(interaction, "This is an edited embed!", "BLUE", "Footer here") // This will edit the embed
ezembed.replyEmbed(interaction, "This is a replied embed!", "GREEN", "Footer", true) // This will reply to an interaction
ezembed.sendEmbed(interaction, "Completed task!", "GREEN", "Made by TheDiamondMurder") // This will send it as a message
ezembed.titleEdit(interaction, "Done Task!", "This task has been completed!", "GREEN", "Made by TheDiamondMurder") // Edit a message with title embed
ezembed.titleReply(interaction, "Processing", "This is being processed", "BLUE", "Made by TheDiamondMurder", false) // Reply with title embed
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://thediamondmurder.gitbook.io/discord.js-ezembeds/discord.js-ezembeds.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
