Added it as property
This commit is contained in:
parent
05226f16d2
commit
60807092fd
|
|
@ -23,6 +23,7 @@ class Rarity(StrEnum):
|
|||
UltraRare = "UR"
|
||||
Legendary = "L"
|
||||
|
||||
@property
|
||||
def icon(self) -> str:
|
||||
return {
|
||||
Self.Common: "⚪",
|
||||
|
|
|
|||
Loading…
Reference in New Issue