EmberMaker, make discord embeds with ease

I’ve been working on my plugin that have to use discord webhook
and figured I should take my time trying to make EmbedBuilder from Discord.js

The end result is actually pretty nice
and Its quite similar to Embedbuilder too
I hope this will be useful to you :wink:

Image

image-42-1

you can get module here

8 Likes

EmbedMaker updated to 1.1

new methods
  • SetValueFields(…)
  • AddValueFields(…)

Overview:

EmbedMaker.new()
  :AddFields(
    {name = '', value = 'First field'},
    {name = '', value = 'and second one!'}
  )
EmbedMaker.new()
  :SetValueFields( -- both of ...ValueFields make fields with only value
    'First field',
    'and second one!'
  )

They do the same thing, SetValueField and AddValueField
I added them so It's a bit quicker to add fields without name
{
  fields: [
    {"name": "", "value": "First field"},
    {"name": "", "value": "and second one!"}
  ]
}

changes
  • Changed AddFields(), it accept any amount of field as parameter now
  • Fixed type annotation

you can find lastest .rbxm release: here

Help me improve this module

I tried adding some methods that are not in original Embedbuilder
yet, I still have no idea which direction should this module go
so Pull request are very much welcomed

1 Like