Skip to content

Commit

Permalink
Fix swapped values in SelectMenuBuilder constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
d4n3436 committed May 16, 2024
1 parent 29cdfea commit 00b62d5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Pagination/Paginator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 00b62d5

Please sign in to comment.