Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…scordBot into clustering
  • Loading branch information
flaree committed Aug 30, 2024
2 parents dcd60c8 + 03e47fa commit 8aef32a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ballsdex/packages/trade/menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,12 @@ async def select_player_menu(
trade.trader1 if trade.trader1.user.id == player.discord_id else trade.trader2
)
ball_instances = trade_player.proposal
if len(ball_instances) == 0:
return await interaction.followup.send(
f"{player.user.display_name} has not added any {settings.collectible_name}s.",
ephemeral=True,
)


await interaction.response.defer(thinking=True)
paginator = CountryballsViewer(interaction, ball_instances)
Expand Down

0 comments on commit 8aef32a

Please sign in to comment.