From e698ae07c559d1a5faec4e3dbc5901d74fb350c6 Mon Sep 17 00:00:00 2001 From: Fixator10 Date: Mon, 6 Jul 2020 19:03:43 +0400 Subject: [PATCH] [Hunting] add support of animals ending with s (#134) --- hunting/hunting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hunting/hunting.py b/hunting/hunting.py index bbf5bc5..6fc0e9b 100644 --- a/hunting/hunting.py +++ b/hunting/hunting.py @@ -180,7 +180,7 @@ class Hunting(commands.Cog): for animal in score.items(): total = total + animal[1] - if animal[1] == 1: + if animal[1] == 1 or animal[0][-1] == "s": kill_list.append(f"{animal[1]} {animal[0].capitalize()}") else: kill_list.append(f"{animal[1]} {animal[0].capitalize()}s")