Skip to content

Commit 1605a2c

Browse files
committed
fix: spread out section components next to accessory
1 parent 464ea2a commit 1605a2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/discord.js/src/util/Components.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ function findComponentByCustomId(components, customId) {
228228
case ComponentType.ActionRow:
229229
return component.components;
230230
case ComponentType.Section:
231-
return [component.accessory];
231+
return [...component.components, component.accessory];
232232
default:
233233
return [component];
234234
}

0 commit comments

Comments
 (0)