Skip to content

Commit

Permalink
Add emojis back
Browse files Browse the repository at this point in the history
  • Loading branch information
olijeffers0n committed Jul 12, 2024
1 parent 76f813d commit 08fe1f4
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion rustplus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from .remote.fcm import FCMListener
from .commands import CommandOptions, ChatCommand
from .events import ChatEventPayload, TeamEventPayload, EntityEventPayload
from .utils import convert_event_type_to_name
from .utils import convert_event_type_to_name, Emoji

__name__ = "rustplus"
__author__ = "olijeffers0n"
Expand Down
1 change: 1 addition & 0 deletions rustplus/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@
)
from .grab_items import translate_stack_to_id, translate_id_to_stack
from .yielding_event import YieldingEvent
from .emojis import Emoji
31 changes: 31 additions & 0 deletions rustplus/utils/emojis.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
from enum import Enum


class Emoji(Enum):
ANGRY = ":angry+0:"
COFFEE_CAN = ":coffeecan+0:"
EYEBROW = ":eyebrow+0:"
FUNNY = ":funny+0:"
HAPPY = ":happy+0:"
LAUGH = ":laugh+0:"
LOVE = ":love+0:"
MASK = ":mask+0:"
NERVOUS = ":nervous+0:"
NEUTRAL = ":neutral+0:"
HEART_ROCK = ":heartrock+0:"
SMILE_CRY = ":smilecry+0:"
COOL = ":cool+0:"
LIGHT = ":light+0:"
WORRIED = ":worried+0:"
HEART = ":heart:"
SKULL = ":skull:"
EYES = ":eyes:"
DANCE = ":dance:"
EXCLAMATION = ":exclamation:"
TRUMPET = ":trumpet:"
WAVE = ":wave:"
YELLOW_PIN = ":yellowpin:"
SCIENTIST = ":scientist+0:"

def __str__(self):
return self.value

0 comments on commit 08fe1f4

Please sign in to comment.