err when message sent to a user.
When
all
is args[0]
I'm trying to send a message to the user with 8 embeds.
user.send({ embeds: [rule1, rule2, rule3, rule4, rule5, rule6, rule7, rule8], components: [buttons] });
These are all of my embeds: https://srcb.in/tQ1L3BAGKW I'm using embed objects.
If it helps this is the entire command: https://srcb.in/FJTZ6GeNvp3 Replies
Sorry error is:
Entire error: https://srcb.in/t9tSGhuHE9
ping me please.
Can I not use embed objects this way?
huh?
Rest parameters - JavaScript | MDN
The rest parameter syntax allows a function to accept an indefinite number of arguments as an array, providing a way to represent variadic functions in JavaScript.
Ah. I just removed that push and it works. I don't even remember WHY I was pushing it in the first place.
ty!