Skip to content

Commit

Permalink
[settings] changing from collectible_name+s to plural (#413)
Browse files Browse the repository at this point in the history
* changing collectible_name to plural_collectible_name

* changing collectible_name to plural_collectible_name

* changing collectible_name to plural_collectible_name

* appeasing pre-commit
  • Loading branch information
imtherealF1 authored Sep 15, 2024
1 parent 79a93a2 commit 38fbd40
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ballsdex/packages/balls/cog.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def fill_fields(title: str, emoji_ids: set[int]):
set(bot_countryballs[x] for x in owned_countryballs),
)
else:
entries.append((f"__**Owned {settings.collectible_name}s**__", "Nothing yet."))
entries.append((f"__**Owned {settings.plural_collectible_name}**__", "Nothing yet."))

if missing := set(y for x, y in bot_countryballs.items() if x not in owned_countryballs):
fill_fields(f"Missing {settings.plural_collectible_name}", missing)
Expand Down
2 changes: 1 addition & 1 deletion ballsdex/packages/players/cog.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ async def donation_policy(self, interaction: discord.Interaction, policy: Donati
elif policy.value == DonationPolicy.FRIENDS_ONLY:
await interaction.response.send_message(
"Setting updated, you will now only receive donated "
f"{settings.collectible_name}s from players you have "
f"{settings.plural_collectible_name} from players you have "
"added as friends in the bot.",
ephemeral=True,
)
Expand Down
4 changes: 2 additions & 2 deletions ballsdex/packages/trade/menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ def _generate_embed(self):
self.embed.title = f"{settings.plural_collectible_name.title()} trading"
self.embed.color = discord.Colour.blurple()
self.embed.description = (
f"Add or remove {settings.collectible_name}s you want to propose to the other player "
f"using the {add_command} and {remove_command} commands.\n"
f"Add or remove {settings.plural_collectible_name} you want to propose "
f"to the other player using the {add_command} and {remove_command} commands.\n"
"Once you're finished, click the lock button below to confirm your proposal.\n"
"You can also lock with nothing if you're receiving a gift.\n\n"
"*This trade will timeout "
Expand Down

0 comments on commit 38fbd40

Please sign in to comment.