1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00
royalnet/keipack/utils/emotion.py

28 lines
576 B
Python
Raw Permalink Normal View History

2019-11-29 23:45:41 +00:00
from enum import Enum
2019-11-11 12:40:26 +00:00
class Emotion(Enum):
2019-11-29 23:45:41 +00:00
CAT = "cat"
CRY = "cry"
DISAPPOINTED = "disappointed"
DOOTFLUTE = "dootflute"
DOOTTRUMPET = "doottrumpet"
GRIN = "grin"
HALFLIFE = "halflife"
HAPPY = "happy"
KEY = "key"
KEYFACE = "keyface"
NEUTRAL = "neutral"
QUESTION = "question"
SMUG = "smug"
SURPRISED = "surprised"
WINK = "wink"
WORRIED = "worried"
X = "x"
2019-11-11 12:40:26 +00:00
def __str__(self):
2019-11-29 23:45:41 +00:00
return self.value
2019-11-11 12:40:26 +00:00
def __repr__(self):
return f"<{self.__class__.__qualname__} {self.name}: {self.value}>"