From abc4bab94770b5dada7d7d69611253daa8136092 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 28 Oct 2019 17:25:17 +0100 Subject: [PATCH] Add emojis to leagueleague --- royalnet/packs/royal/utils/leagueleague.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/royalnet/packs/royal/utils/leagueleague.py b/royalnet/packs/royal/utils/leagueleague.py index aac7582d..c20ce148 100644 --- a/royalnet/packs/royal/utils/leagueleague.py +++ b/royalnet/packs/royal/utils/leagueleague.py @@ -24,7 +24,14 @@ class LeagueLeague: self.veteran: bool = veteran def __str__(self): - return f"[b]{self.tier} {self.rank}[/b] ({self.points} LP)" + emojis = "" + if self.veteran: + emojis += "🏆" + if self.hot_streak: + emojis += "🔥" + if self.fresh_blood: + emojis += "⭐️" + return f"[b]{self.tier} {self.rank}[/b] ({self.points} LP) {emojis}" def __repr__(self): return f"<{self.__class__.__qualname__} {self}>"