예제 #1
0
def update_recent_category():
    emojis_by_category["recent"] = []

    for char in user_data.load_recent_emojis():
        emoji = get_emoji_by_char(char)
        emojis_by_category["recent"].append(
            {"char": char, "category": "recent", "name": emoji["name"]}
        )
예제 #2
0
파일: emojis.py 프로젝트: EvyBongers/Emote
def update_recent_category():
    emojis_by_category["recent"] = []

    for char in user_data.load_recent_emojis():
        try:
            emoji = get_emoji_by_char(char)
        except:
            continue
        emojis_by_category["recent"].append(emoji)