mirror of
https://github.com/myned/modufur.git
synced 2024-12-24 14:27:27 +00:00
Added pouting face for negative scores
This commit is contained in:
parent
7462e073e8
commit
c7135b84f4
1 changed files with 3 additions and 1 deletions
|
@ -495,8 +495,10 @@ class MsG:
|
||||||
return args
|
return args
|
||||||
|
|
||||||
def _get_score(self, score):
|
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'
|
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:
|
elif 10 > score > 0:
|
||||||
return 'https://emojipedia-us.s3.amazonaws.com/thumbs/320/twitter/103/white-medium-star_2b50.png'
|
return 'https://emojipedia-us.s3.amazonaws.com/thumbs/320/twitter/103/white-medium-star_2b50.png'
|
||||||
elif 50 > score >= 10:
|
elif 50 > score >= 10:
|
||||||
|
|
Loading…
Reference in a new issue