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