0.2.3 • Published 3 years ago

@ruebinary/embeds v0.2.3

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

📝 embeds

small JavaScript module that builds Discord embed objects

embeds includes a validation layer for embed properties, so you never send malformed objects. also includes two functions to build your embed for production.

import DiscordEmbed from '@ruebinary/embeds'

const yourembed = new DiscordEmbed()
.addTitle('Embed title')
.addDescription('Embed description')

console.log(yourembed)

Details

const yourembed = new DiscordEmbed()
.addTitle('Embed title')
.addDescription('Embed description')

console.log(buildObject(yourembed))
const yourembed = new DiscordEmbed()
.addTitle('Embed title')
.addDescription('Embed description')

console.log(buildJSON(yourembed))    

Roadmap

  • Finish readme

copyright (c) 2022 @ruebinary

embeds is released under isc license

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago