#embed text
1 messages · Page 1 of 1 (latest)
"color": "[255, 0, 255]",
"title": "Title",
"url": "",
"author": {
"name": "Author Name",
"url": "",
"icon_url": ""
},
"description": "Description",
"thumbnail": {
"url": ""
},
"fields": [
{
"name1": "Field Name",
"value1": "Field Value",
"inline1": true
},
{
"name2": "Field Name",
"value2": "Field Value",
"inline2": true
},
{
"name3": "Field Name",
"value3": "Field Value",
"inline3": true
},
{
"name4": "Field Name",
"value4": "Field Value",
"inline4": true
},
{
"name5": "Field Name",
"value5": "Field Value",
"inline5": true
}
],
"image": {
"url": ""
},
"timestamp": "",
"footer": {
"text": "Footer Text",
"icon_url": ""
}
}```
well how are you getting the fields?
also those are incorrect keys, its just name, value and inline, without the numbers
i know, but i want to have it limited
what do you mean limited?
im making discord bot creator and now im doing templates
there is no point in having numbers in the keys, array items have indexes you know
im too lazy to do it when this is simplier
this really isnt
its not final just scratch
okay well what was the question
because you are surrounding the string with ""
thats why
and how can i use these values in embed?
use <Array>.map() or something
so i can you like persons.map(getname) in embed as string?
i dont think you understand basic js to be honest
just askin to be sure i dont have to waste time on it