embedskaen
v1.0.3
Published
A powerful Discord.js embed utility library with predefined types and easy-to-use methods
Maintainers
Readme
Quick Install
npm install embedskaenWhy EmbedsKaen is the best choice?
| Feature | Description |
|----------------------------|--------------------------------------------------|
| 14+ Pre-built embed types | success • error • warn • info • premium • etc. |
| Gorgeous auto colors | No need to remember hex codes |
| Full RTL & Arabic support | Arabic text displays perfectly |
| One-line sending | Embed.send() — zero hassle |
| Infinite customization | Change anything you want |
Available Embed Types
| Type | Color | Default Icon | Usage |
|-------------|---------------|-------------------------------|------------------------------------|
| Success | #00ff00 | Checkmark Success | Embed.success() |
| Error | #ff0000 | Cross Error | Embed.error() |
| Warn | #ffff00 | Warning Sign | Embed.warn() |
| Info | #0099ff | Info Icon | Embed.info() |
| Loading | #ffaa00 | Hourglass | Embed.loading() |
| Question | #95a0a0 | Question Mark | Embed.question() |
| Premium | #f1c40f | Crown | Embed.premium() |
| Pink | #ff73fa | Heart | Embed.pink() |
| Purple | #9c27b0 | Gem | Embed.purple() |
| Blurple | #5865F2 | Discord Logo | Embed.create('blurple') |
| Dark / Light| Auto theme | Moon / Sun | Embed.create('dark/light') |
| Random | Random | Rainbow | Embed.create('random') |
Quick & Stunning Examples
const { Embed } = require('embedskaen');
// Instant success embed
await Embed.send(interaction, 'success', 'Done successfully!', 'The operation was completed.');
// Elegant error embed
await Embed.send(interaction, 'error', 'Something went wrong', 'Please try again later.');
// Luxurious premium embed
await Embed.send(interaction, 'premium', 'Premium Feature', 'Subscribe to premium to use this!', {
image: 'https://example.com/premium.gif',
footer: { text: 'Premium Only', iconURL: 'https://img.icons8.com/fluency/48/crown.png' }
});Fully Custom Embed (Amazing Example)
const embed = Embed.purple('Member Information', null, {
author: { name: interaction.user.tag, iconURL: interaction.user.displayAvatarURL() },
thumbnail: interaction.user.displayAvatarURL(),
fields: [
{ name: 'Username', value: interaction.user.username, inline: true },
{ name: 'User ID', value: `\`${interaction.user.id}\``, inline: true },
{ name: 'Joined Server', value: `<t:${Math.floor(interaction.member.joinedTimestamp/1000)}:R>` }
],
footer: { text: 'Powered by EmbedsKaen', iconURL: 'https://img.icons8.com/fluency/48/sparkling.png' },
timestamp: true
});
await interaction.reply({ embeds: [embed] });Quick Links
- Documentation: https://github.com/kaennn9/embedskaen/wiki
- Support Server: Join Here
- npm: https://npmjs.com/package/embedskaen
- GitHub: https://github.com/kaennn9/embedskaen
License
MIT © Kaen
