PaginatedMessageEmbedFields empty array
So im kinda confused with the docs and im always getting empty array's when im trying to setItems over an array. i logged already my output from the array and its just an double Object (as it should be afaik) when im accessing the content inside that Object i get my Output as i wanted it but for some reason the PaginatedMessageEmbed can't access it... am i missing something?
Thats some of my code:
Thats the error :
And thats when i log just one Object in the array and the full array:
Maybe im just missing something or misread the docs :dummy:
Solution:Jump to solution
You're assigning the result of
.make()
to a different variable and then you call the original object's run. Change the last line to pages.run(interaction)
or dont assign it to a different variable.1 Reply
Solution
You're assigning the result of
.make()
to a different variable and then you call the original object's run. Change the last line to pages.run(interaction)
or dont assign it to a different variable.