Found non-callable @@iterator Issue
DiamondMurder opened this issue · 2 comments
DiamondMurder commented
I have this issue when trying to use .addActionsRows
The error is: TypeError: Found non-callable @@iterator
imranbarbhuiya commented
can you provide some reproducible code sample?
imranbarbhuiya commented
Since You haven't provided any code sample, I'm assuming you fixed it so I'm closing the issue. If you haven't, without any code sample I'm guessing you are passing MessageActionRow
directly to addActionsRows
instead of an array of MessageActionRow
.
- .addActionsRows(yourActionRow);
+ .addActionsRows([yourActionRow]);