forked from TeamUltroid/UltroidAddons
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfonts.py
More file actions
117 lines (98 loc) · 4.68 KB
/
fonts.py
File metadata and controls
117 lines (98 loc) · 4.68 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
normiefont = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z']
weebyfont = ['卂','乃','匚','刀','乇','下','厶','卄','工','丁','长','乚','从','𠘨','口','尸','㔿','尺','丂','丅','凵','リ','山','乂','丫','乙']
tantextfont = ['Ꭿ','Ᏸ','Ꮳ','Ꮄ','Ꮛ','Ꮄ','Ꮆ','Ꮒ','i','Ꮰ','Ꮶ','l','m','Ꮑ','Ꮻ','Ꮅ','Ꮔ','ᖇ','Ꭶ','Ꮏ','Ꮜ','Ꮙ','Ꮿ','メ','Ꭹ','Ꮓ']
linetextfont = ['𝔸','𝔹','ℂ','𝔻','𝔼','𝔽','𝔾','ℍ','𝕀','𝕁','𝕂','𝕃','𝕄','ℕ','𝕆','ℙ','ℚ','ℝ','𝕊','𝕋','𝕌','𝕍','𝕎','𝕏','𝕐','ℤ']
boxtextfont = ['🄰','🄱','🄲','🄳','🄴','🄵','🄶','🄷','🄸','🄹','🄺','🄻','🄼','🄽','🄾','🄿','🅀','🅁','🅂','🅃','🅄','🅅','🅆','🅇','🅈','🅉']
bubbletextfont = ['Ⓐ','Ⓑ','Ⓒ','Ⓓ','Ⓔ','Ⓕ','Ⓖ','Ⓗ','Ⓘ','Ⓙ','Ⓚ','Ⓛ','Ⓜ','Ⓝ','Ⓞ','Ⓟ','Ⓠ','Ⓡ','Ⓢ','Ⓣ','Ⓤ','Ⓥ','Ⓦ','Ⓧ','Ⓨ','Ⓩ']
cursivefont = ['𝓪','𝓫','𝓬','𝓭','𝓮','𝓯','𝓰','𝓱','𝓲','𝓳','𝓴','𝓵','𝓶','𝓷','𝓸','𝓹','𝓺','𝓻','𝓼','𝓽','𝓾','𝓿','𝔀','𝔁','𝔂','𝔃'
]
@ultroid_cmd(pattern="weeb ?(.*)")
async def weebify(ult):
args = ult.pattern_match.group(1)
if not args:
get = await ult.get_reply_message()
args = get.text
if not args:
await ult.edit("What I am Supposed to Weebify? Please Give Text Sir")
return
string = ''.join(args).lower()
for normiecharacter in string:
if normiecharacter in normiefont:
weebycharacter = weebyfont[normiefont.index(normiecharacter)]
string = string.replace(normiecharacter, weebycharacter)
await ult.edit(string)
@ultroid_cmd(pattern="tantext ?(.*)")
async def tantxt(ult):
args = ult.pattern_match.group(1)
if not args:
get = await ult.get_reply_message()
args = get.text
if not args:
await ult.edit("What I am Supposed to tanify? Please Give Text Sir")
return
string = ''.join(args).lower()
for normiecharacter in string:
if normiecharacter in normiefont:
tanycharacter = tantextfont[normiefont.index(normiecharacter)]
string = string.replace(normiecharacter, tanycharacter)
await ult.edit(string)
@ultroid_cmd(pattern="linetext ?(.*)")
async def linetxt(ult):
args = ult.pattern_match.group(1)
if not args:
get = await ult.get_reply_message()
args = get.text
if not args:
await ult.edit("What I am Supposed to linefy? Please Give Text Sir")
return
string = ''.join(args).lower()
for normiecharacter in string:
if normiecharacter in normiefont:
linecharacter = linetextfont[normiefont.index(normiecharacter)]
string = string.replace(normiecharacter, linecharacter)
await ult.edit(string)
@ultroid_cmd(pattern="boxtext ?(.*)")
async def boxtxt(ult):
args = ult.pattern_match.group(1)
if not args:
get = await ult.get_reply_message()
args = get.text
if not args:
await ult.edit("What I am Supposed to boxify? Please Give Text Sir")
return
string = ''.join(args).lower()
for normiecharacter in string:
if normiecharacter in normiefont:
boxcharacter = boxtextfont[normiefont.index(normiecharacter)]
string = string.replace(normiecharacter, boxcharacter)
await ult.edit(string)
@ultroid_cmd(pattern="bubbletext ?(.*)")
async def bubbletxt(ult):
args = ult.pattern_match.group(1)
if not args:
get = await ult.get_reply_message()
args = get.text
if not args:
await ult.edit("What I am Supposed to bubblify? Please Give Text Sir")
return
string = ''.join(args).lower()
for normiecharacter in string:
if normiecharacter in normiefont:
bubblecharacter = bubbletextfont[normiefont.index(normiecharacter)]
string = string.replace(normiecharacter, bubblecharacter)
await ult.edit(string)
@ultroid_cmd(pattern="cursive ?(.*)")
async def cursive(ult):
args = ult.pattern_match.group(1)
if not args:
get = await ult.get_reply_message()
args = get.text
if not args:
await ult.edit("What I am Supposed to write in cursive? Please Give Text Sir")
return
string = ''.join(args).lower()
for normiecharacter in string:
if normiecharacter in normiefont:
cursivecharacter = cursivefont[normiefont.index(normiecharacter)]
string = string.replace(normiecharacter, weebycharacter)
await ult.edit(string)