diff --git a/ballsdex/packages/trade/cog.py b/ballsdex/packages/trade/cog.py index 6b379e513..b1b5afd9d 100644 --- a/ballsdex/packages/trade/cog.py +++ b/ballsdex/packages/trade/cog.py @@ -262,26 +262,13 @@ async def bulk_add( f"No {settings.plural_collectible_name} found.", ephemeral=True ) return - - # round balls to closest 25 for display purposes balls = [x for x in balls if x.is_tradeable] - balls = balls[: len(balls) - (len(balls) % 25)] - - if len(balls) < 25: - await interaction.followup.send( - f"You have less than 25 {settings.plural_collectible_name}, " - "you can use the add command instead.", - ephemeral=True, - ) - return view = BulkAddView(interaction, balls, self) # type: ignore await view.start( content=f"Select the {settings.plural_collectible_name} you want to add " "to your proposal, note that the display will wipe on pagination however " - f"the selected {settings.plural_collectible_name} will remain.\n" - f"{settings.plural_collectible_name.title()} were rounded down to closest 25 for " - "display purposes, final page may be missing entries." + f"the selected {settings.plural_collectible_name} will remain." ) @app_commands.command(extras={"trade": TradeCommandType.REMOVE}) diff --git a/ballsdex/packages/trade/menu.py b/ballsdex/packages/trade/menu.py index 7788acc17..d1badf378 100644 --- a/ballsdex/packages/trade/menu.py +++ b/ballsdex/packages/trade/menu.py @@ -394,6 +394,7 @@ def set_options(self, balls: List[BallInstance]): ) ) self.select_ball_menu.options = options + self.select_ball_menu.max_values = len(options) @discord.ui.select(min_values=1, max_values=25) async def select_ball_menu(self, interaction: discord.Interaction, item: discord.ui.Select):