diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2023-10-22 13:03:23 +0200 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2024-02-18 11:32:54 +0100 |
commit | b522ba1e34e003ae9a384661b732e4c9a407a1a0 (patch) | |
tree | 0f247b38e47c78a8ef6c568926203c28aa84d41f /slack/shared.py | |
parent | d712abc15a7297129c8e8a445eb3b9a20bcf4c02 (diff) | |
download | wee-slack-b522ba1e34e003ae9a384661b732e4c9a407a1a0.tar.gz |
Add completion of emoji names
Diffstat (limited to 'slack/shared.py')
-rw-r--r-- | slack/shared.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/slack/shared.py b/slack/shared.py index 0e278ca..c75802c 100644 --- a/slack/shared.py +++ b/slack/shared.py @@ -13,6 +13,9 @@ if TYPE_CHECKING: WeechatCallbackReturnType = Union[int, str, Dict[str, str], None] +MESSAGE_ID_REGEX_STRING = r"(?P<msg_id>\d+|\$[0-9a-z]{3,})" +REACTION_CHANGE_REGEX_STRING = r"(?P<reaction_change>\+|-)" + class Shared: def __init__(self): |