Skip to content

Commit

Permalink
pluralize already prints the number for us
Browse files Browse the repository at this point in the history
  • Loading branch information
horrible-little-slime committed Sep 6, 2024
1 parent 8b1de3e commit a57c657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/oaf/src/commands/clan/skills.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export async function execute(interaction: ChatInputCommandInteraction) {
`We have no data on skills for player matching ${input}!`,
));
return void (await interaction.editReply(
`${knownPlayer.playerName} is currently ${knownPlayer.doneWithSkills ? "" : "not yet "}done with skills. They have performed ${knownPlayer.kills} ${pluralize(knownPlayer.kills, "kill")} and received ${knownPlayer.skills} ${pluralize(knownPlayer.skills, "skill")} in ASS Dread instances.`,
`${knownPlayer.playerName} is currently ${knownPlayer.doneWithSkills ? "" : "not yet "}done with skills. They have performed ${pluralize(knownPlayer.kills, "kill")} and received ${pluralize(knownPlayer.skills, "skill")} in ASS Dread instances.`,
));
} else {
const skillsOwed = [...participation.entries()]
Expand Down

0 comments on commit a57c657

Please sign in to comment.