discord-bot icon indicating copy to clipboard operation
discord-bot copied to clipboard

Investigate question solve not showing all the people involved

Open ghostdevv opened this issue 2 years ago • 3 comments
trafficstars

ghostdevv avatar Jul 24 '23 03:07 ghostdevv

Probably because of this

because, ActionRowBuilder can only have 5 buttons or 1 select menu per row and 5 rows can be assigned as components

so when we map over clickable_participants, if there are more than 5 participants, it adds more than 5 buttons to the row (which is technically not the issue), but when we assign that row with more than 5 buttons(that is the issue), it errors out , thus not showing all the participants

I can open a PR to fix this, if you want :)

akryptic avatar May 11 '24 15:05 akryptic

Good catch @ardentkilnfire - would love a pr!

ghostdevv avatar May 12 '24 02:05 ghostdevv

alright, working on it :smile:

akryptic avatar May 12 '24 02:05 akryptic