talkomatic.py 0.1.2
An easy-to-use Python versatile wrapper for the Talkomatic Bot interface ensuring best practices for making bots, and handling the REST API.
 
Loading...
Searching...
No Matches
emoji_list.py
Go to the documentation of this file.
1"""
2A dictionary of all the emojis available on the Talkomatic server.
3
4The keys are the emoji names, and the values are the image URLs.
5"""
6
7from requests import get as requests_get
8
9response = requests_get("https://classic.talkomatic.co/js/emojiList.json")
10if response.status_code != 200: raise RuntimeError("The talkomatic.co server is down.")
11emoji_list: dict[str, str] = response.json()
12
13__all__ = ["emoji_list"]