This repository was archived by the owner on Jul 16, 2023. It is now read-only.
forked from MaskRay/telegramircd
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathemoji2emoticon.py
More file actions
92 lines (89 loc) · 2.59 KB
/
emoji2emoticon.py
File metadata and controls
92 lines (89 loc) · 2.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# This file is part of telegramircd project
# https://github.com/prsai/telegramircd
# (C) Copyright 2019 E. Bosch
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# UTF-8 Emoji to ASCII emoticon array
emo = {
'\U0000270c': '"V"',
'\U0001f44c': '"ok"',
'\U0001f44d': '"+1"',
'\U0001f44e': '"-1"',
'\U0001f600': '":D"',
'\U0001f601': '"xD"',
'\U0001f602': '"x_D"',
'\U0001f603': '":D"',
'\U0001f604': '"xD"',
'\U0001f605': '"x`D"',
'\U0001f606': '"xD"',
'\U0001f607': '"O:)"',
'\U0001f608': '"}:)"',
'\U0001f609': '";)"',
'\U0001f60a': '"x)"',
'\U0001f60b': '"xP"',
'\U0001f60c': '":)"',
'\U0001f60d': '"E>)"',
'\U0001f60e': '"B)"',
'\U0001f60f': '"- -,"',
'\U0001f610': '":|"',
'\U0001f611': '":|"',
'\U0001f612': '"-. -."',
'\U0001f613': '":`|"',
'\U0001f614': '":|"',
'\U0001f615': '":/"',
'\U0001f616': '":S"',
'\U0001f617': '":*"',
'\U0001f618': '":**"',
'\U0001f619': '"x*"',
'\U0001f61a': '"x*"',
'\U0001f61b': '":P"',
'\U0001f61c': '";P"',
'\U0001f61d': '"xP"',
'\U0001f61e': '":("',
'\U0001f61f': '":(("',
'\U0001f620': '":("',
'\U0001f621': '":("',
'\U0001f622': '":_("',
'\U0001f623': '"x("',
'\U0001f624': '":<("',
'\U0001f625': '":`("',
'\U0001f626': '":(|"',
'\U0001f627': '":(||"',
'\U0001f628': '"||:("',
'\U0001f629': '"::("',
'\U0001f62a': '":`("',
'\U0001f62b': '"x("',
'\U0001f62c': '":E"',
'\U0001f62d': '":__(|"',
'\U0001f62e': '":O"',
'\U0001f62f': '":o"',
'\U0001f630': '":`O"',
'\U0001f631': '":O>"',
'\U0001f632': '"8-O"',
'\U0001f633': '":8|"',
'\U0001f634': '":.zz"',
'\U0001f635': '"6)"',
'\U0001f636': '":"',
'\U0001f637': '":W"',
'\U0001f638': '">:D"',
'\U0001f639': '":_D"',
'\U0001f63a': '">:D"',
'\U0001f63b': '">E>D"',
'\U0001f63c': '">- -,"',
'\U0001f63d': '">:*"',
'\U0001f63e': '">:("',
'\U0001f63f': '">:_("',
'\U0001f640': '">:(|"',
'\U0001f641': '":("',
'\U0001f642': '":)"',
'\U0001f643': '"(:"',
'\U0001f644': '"o o,"' }