From 00b62d563008ec218fac4d14d99c54efb22cfd23 Mon Sep 17 00:00:00 2001 From: d4n Date: Wed, 15 May 2024 21:37:09 -0500 Subject: [PATCH] Fix swapped values in SelectMenuBuilder constructor --- src/Pagination/Paginator.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Pagination/Paginator.cs b/src/Pagination/Paginator.cs index 78674d8..b7c849d 100644 --- a/src/Pagination/Paginator.cs +++ b/src/Pagination/Paginator.cs @@ -430,13 +430,12 @@ public virtual ComponentBuilder GetOrAddComponents(bool disableAll, ComponentBui if (properties is null || properties.IsHidden) continue; - var selectMenu = new SelectMenuBuilder(properties.CustomId, properties.Options, properties.Placeholder, properties.MinValues, - properties.MaxValues, properties.IsDisabled ?? context.ShouldDisable(), properties.Type, properties.ChannelTypes, properties.DefaultValues); + var selectMenu = new SelectMenuBuilder(properties.CustomId, properties.Options, properties.Placeholder, properties.MaxValues, + properties.MinValues, properties.IsDisabled ?? context.ShouldDisable(), properties.Type, properties.ChannelTypes, properties.DefaultValues); builder.WithSelectMenu(selectMenu); } - return builder; }