From c7135b84f4a28f473dbef39b5db4ec62b38b98a4 Mon Sep 17 00:00:00 2001 From: Myned Date: Mon, 6 Nov 2017 02:01:31 -0500 Subject: [PATCH] Added pouting face for negative scores --- src/main/cogs/booru.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/cogs/booru.py b/src/main/cogs/booru.py index 6200507..2661b71 100644 --- a/src/main/cogs/booru.py +++ b/src/main/cogs/booru.py @@ -495,8 +495,10 @@ class MsG: return args def _get_score(self, score): - if score <= 0: + if score < 0: return 'https://emojipedia-us.s3.amazonaws.com/thumbs/320/mozilla/36/pile-of-poo_1f4a9.png' + elif score == 0: + return 'https://emojipedia-us.s3.amazonaws.com/thumbs/320/twitter/103/pouting-face_1f621.png' elif 10 > score > 0: return 'https://emojipedia-us.s3.amazonaws.com/thumbs/320/twitter/103/white-medium-star_2b50.png' elif 50 > score >= 10: