Huonzales
(Meowtsun)
August 16, 2024, 6:00pm
#1
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
Image
you can get module here
8 Likes
Huonzales
(Meowtsun)
August 18, 2024, 9:15am
#2
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