#wasn t addField removed in v13

1 messages · Page 1 of 1 (latest)

bronze geyser
#

that what i said \

#

so

#

.addField("i got this atm", "and this as value")

fiery crypt
#

so u didn't pass your names and values as object?
right ok

bronze geyser
#

i can change that to

#

.addFields({"this", "andthis"})

#

ehh

#

with the {}

fiery crypt
#

no

#

yes

bronze geyser
#

so i dont need

#

name: "this"

fiery crypt
#

yes u do

bronze geyser
#

, value: "andthis"

#

ow but how whould i then do it fast with search and replace?

#

we know xd

#

be i need a fast way to replace

#

that was the question xd hahah

#

i was doing it manualy

#

but i have so many

#

to do it one by one

#

its a pain

fiery crypt
#

he wants to replace
.addField("one", "one")
to
.addFields({name: 'one', value: 'one' })

ex

bronze geyser
#

yeahh

#

in a fast way

fiery crypt
#

but figuring out how is going to take more time than editing it, it's possible it's just search and replace, but it's not a djs library issue

bronze geyser
#

yeah

#

xd

#

i got over already did 15

#

150

#

i have 112 to go

#

o hell