# easyembeds.js

> A module that will prevent you from writing line-by-line embed codes

Latest version **0.0.3** (published 2022-09-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install easyembeds.js
pnpm add easyembeds.js
yarn add easyembeds.js
bun add easyembeds.js
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2022-09-07 |
| First published | 2022-09-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | 'Roman |
| Maintainers | romanbot |
| Keywords | Discord, Embeds, RomanBot, Türkçe |

## Links

- npm: https://www.npmjs.com/package/easyembeds.js
- Repository: https://github.com/romanwashere/easyembeds
- Homepage: https://github.com/romanwashere/easyembeds#readme
- Issues: https://github.com/romanwashere/easyembeds/issues
- npm.io page: https://npm.io/package/easyembeds.js

## Recent versions

- 0.0.3 (latest) — 2022-09-07
- 0.0.1 — 2022-09-07

## README

# EasyEmbeds.js

# How to use EasyEmbeds.js
```js
const { Client } = require("discord.js");
const client = new Client();
const { SendEmbed } = require("easyembeds.js");
```

# For the messageCreate event
```js
client.on("messageCreate", async(message) => {
  if(message.content.toLowerCase() === "!send-embed") {
    await SendEmbed(message, { description: "this is a message :)", color: "Yellow" })
  }
});
```

# For the interactionCreate event
```js
client.on("interactionCreate", async(interaction) => {
  if(interaction.commandName === "send-embed") {
    await SendEmbed(interaction, { description: "this is a interaction :)", color: "Pink" })
  }
});
```
# Supported colors
- Red
- Green
- Blue
- Yellow
- Bluepurple
- Pink
- White
- Black

# Support Servers

https://discord.gg/JXttv6Z64c,
https://discord.gg/BeBZX9bT9N

---
_Source: https://npm.io/package/easyembeds.js · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
