feat: dynamic grammar

This commit is contained in:
TresAbhi committed 2023-04-19 14:50:31 +00:00
1 parent 7e7d4f8771
commit ce290440c3
1 file changed
+3 -1
+3 -1
View File
@@ -48,7 +48,9 @@ export async function execute(interaction: CommandInteraction) {
.setDescription(
`Are you sure your username is exactly "${ign}" in the ${server} server? I found ${
players.data.length < 100 ? players.data.length : 'over 100'
} account(s). Try re-running the command. There might be a typo and capitalization matters.`,
} similarly spelled account${
players.data.length !== 1 ? 's' : ''
}. Try re-running the command. There might be a typo and capitalization matters.`,
),
],
});