Skip to content

Commit

Permalink
Support Emojis
Browse files Browse the repository at this point in the history
  • Loading branch information
olijeffers0n committed Aug 3, 2023
1 parent 3b75079 commit bf9cb99
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 @@ -22,5 +22,5 @@

__name__ = "rustplus"
__author__ = "olijeffers0n"
__version__ = "5.6.9"
__version__ = "5.6.10"
__support__ = "Discord: https://discord.gg/nQqJe8qvP8"
1 change: 1 addition & 0 deletions rustplus/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
from .grab_items import translate_id_to_stack
from .server_id import ServerID
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 bf9cb99

Please sign in to comment.