mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Add emojis to leagueleague
This commit is contained in:
parent
4a9b74ab7a
commit
abc4bab947
1 changed files with 8 additions and 1 deletions
|
@ -24,7 +24,14 @@ class LeagueLeague:
|
||||||
self.veteran: bool = veteran
|
self.veteran: bool = veteran
|
||||||
|
|
||||||
def __str__(self):
|
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):
|
def __repr__(self):
|
||||||
return f"<{self.__class__.__qualname__} {self}>"
|
return f"<{self.__class__.__qualname__} {self}>"
|
||||||
|
|
Loading…
Reference in a new issue