From abf61dd74fa7d2286d3c6e9fbdc1efb675e54f9e Mon Sep 17 00:00:00 2001 From: Dotsian Date: Sat, 8 Mar 2025 17:16:18 -0500 Subject: [PATCH] Only use enabled balls --- ballsdex/packages/battle/cog.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ballsdex/packages/battle/cog.py b/ballsdex/packages/battle/cog.py index 3f530b0..b07430d 100644 --- a/ballsdex/packages/battle/cog.py +++ b/ballsdex/packages/battle/cog.py @@ -21,7 +21,7 @@ from ballsdex.core.utils.transformers import ( BallInstanceTransform, - BallTransform + BallEnabledTransform ) from ballsdex.packages.battle.xe_battle_lib import ( @@ -518,7 +518,7 @@ async def remove( @bulk.command(name="add") async def bulk_add( - self, interaction: discord.Interaction, countryball: BallTransform + self, interaction: discord.Interaction, countryball: BallEnabledTransform ): """ Adds countryballs to a battle in bulk. @@ -581,7 +581,7 @@ async def bulk_remove( @bulk.command(name="remove") async def bulk_remove( - self, interaction: discord.Interaction, countryball: BallTransform + self, interaction: discord.Interaction, countryball: BallEnabledTransform ): """ Removes countryballs from a battle in bulk.