forked from TeamUltroid/UltroidAddons
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmeme2.py
More file actions
317 lines (255 loc) · 9.79 KB
/
meme2.py
File metadata and controls
317 lines (255 loc) · 9.79 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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
# Added by @Sur_vivor
import asyncio
import requests
from userbot.utils import admin_cmd
# ================= CONSTANT =================
GAMBAR_TITIT = """
🍆🍆
🍆🍆🍆
🍆🍆🍆
🍆🍆🍆
🍆🍆🍆
🍆🍆🍆
🍆🍆🍆
🍆🍆🍆
🍆🍆🍆
🍆🍆🍆
🍆🍆🍆🍆
🍆🍆🍆🍆🍆🍆
🍆🍆🍆 🍆🍆🍆
🍆🍆 🍆🍆
"""
# ===========================================
@borg.on(admin_cmd(pattern=r"hf$"))
async def facepalm(e):
""" Facepalm 🤦♂ """
await e.edit("🤦♂")
@borg.on(admin_cmd(pattern=r"corona$"))
async def iqless(e):
await e.edit(
"Antivirus scan was completed \n⚠️ Warning! This donkey has Corona Virus"
)
@borg.on(admin_cmd(pattern=r"ggl (.*)"))
async def let_me_google_that_for_you(lmgtfy_q):
textx = await lmgtfy_q.get_reply_message()
qry = lmgtfy_q.pattern_match.group(1)
if qry:
query = str(qry)
elif textx:
query = textx
query = query.message
query_encoded = query.replace(" ", "+")
lfy_url = f"http://lmgtfy.com/?s=g&iie=1&q={query_encoded}"
payload = {"format": "json", "url": lfy_url}
r = requests.get("http://is.gd/create.php", params=payload)
await lmgtfy_q.edit(
f"Tap this blue, help yourself.\
\n[{query}]({r.json()['shorturl']})"
)
@borg.on(admin_cmd(outgoing=True, pattern="fail$"))
async def fail(e):
await e.edit(
"`\n▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ `"
"`\n████▌▄▌▄▐▐▌█████ `"
"`\n████▌▄▌▄▐▐▌▀████ `"
"`\n▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ `"
)
@borg.on(admin_cmd(outgoing=True, pattern="lol$"))
async def lol(e):
await e.edit(
"`\n╱┏┓╱╱╱╭━━━╮┏┓╱╱╱╱ `"
"`\n╱┃┃╱╱╱┃╭━╮┃┃┃╱╱╱╱ `"
"`\n╱┃┗━━┓┃╰━╯┃┃┗━━┓╱ `"
"`\n╱┗━━━┛╰━━━╯┗━━━┛╱ `"
)
@borg.on(admin_cmd(outgoing=True, pattern="rock$"))
async def lol(e):
await e.edit(
"`\n┈╭╮┈┈┈┈┈┈┈┈┈┈┈┈ `"
"`\n┈┃┃┈╭╮┈┏╮╭╮╭╮┃╭ `"
"`\n┈┃┃┈┃┃┈┣┫┃┃┃┈┣┫ `"
"`\n┈┃┣┳┫┃┈┃╰╰╯╰╯┃╰ `"
"`\n╭┻┻┻┫┃┈┈╭╮┃┃━┳━ `"
"`\n┃╱╭━╯┃┈┈┃┃┃┃┈┃┈ `"
"`\n╰╮╱╱╱┃┈┈╰╯╰╯┈┃┈ `"
)
@borg.on(admin_cmd(outgoing=True, pattern="lool$"))
async def lool(e):
await e.edit(
"`\n╭╭━━━╮╮┈┈┈┈┈┈┈┈┈┈\n┈┃╭━━╯┈┈┈┈▕╲▂▂╱▏┈\n┈┃┃╱▔▔▔▔▔▔▔▏╱▋▋╮┈`"
"`\n┈┃╰▏┃╱╭╮┃╱╱▏╱╱▆┃┈\n┈╰━▏┗━╰╯┗━╱╱╱╰┻┫┈\n┈┈┈▏┏┳━━━━▏┏┳━━╯┈`"
"`\n┈┈┈▏┃┃┈┈┈┈▏┃┃┈┈┈┈ `"
)
@borg.on(admin_cmd(outgoing=True, pattern="nih$"))
async def nih(e):
await e.edit(
"`\n(\_/)`"
"`\n(•_•)`"
"`\n >🌹 *`"
"`\n `"
"`\n(\_/)`"
"`\n(•_•)`"
"`\n🌹<\ *`"
)
@borg.on(admin_cmd(outgoing=True, pattern="hoi$"))
async def gtfo(e):
await e.edit(
"`\n█████████`"
"`\n█▄█████▄█`"
"`\n█▼▼▼▼▼`"
"`\n█ Hello Man`"
"`\n█▲▲▲▲▲`"
"`\n█████████`"
"`\n ██ ██`"
)
@borg.on(admin_cmd(outgoing=True, pattern="ml(?: |$)(.*)"))
async def gtfo(e):
message = e.pattern_match.group(1)
await e.edit(
"`\n█████████`"
"`\n█▄█████▄█`"
"`\n█▼▼▼▼▼`"
f"`\n█ {message}`"
"`\n█▲▲▲▲▲`"
"`\n█████████`"
"`\n ██ ██`"
)
@borg.on(admin_cmd(outgoing=True, pattern="taco$"))
async def taco(e):
await e.edit("\n{\__/}" "\n(●_●)" "\n( >🌮 Want a taco?")
@borg.on(admin_cmd(outgoing=True, pattern="paw$"))
async def paw(e):
await e.edit("`(=ↀωↀ=)")
@borg.on(admin_cmd(outgoing=True, pattern="tf$"))
async def tf(e):
await e.edit("(̿▀̿ ̿Ĺ̯̿̿▀̿ ̿)̄ ")
@borg.on(admin_cmd(outgoing=True, pattern="gay$"))
async def gey(e):
await e.edit(
"`\n┈┈┈╭━━━━━╮┈┈┈┈┈\n┈┈┈┃┊┊┊┊┊┃┈┈┈┈┈`"
"`\n┈┈┈┃┊┊╭━╮┻╮┈┈┈┈\n┈┈┈╱╲┊┃▋┃▋┃┈┈┈┈\n┈┈╭┻┊┊╰━┻━╮┈┈┈┈`"
"`\n┈┈╰┳┊╭━━━┳╯┈┈┈┈\n┈┈┈┃┊┃╰━━┫┈U GAY`"
"\n┈┈┈┈┈┈┏━┓┈┈┈┈┈┈"
)
@borg.on(admin_cmd(outgoing=True, pattern="bot$"))
async def bot(e):
await e.edit(
"` \n ╲╲╭━━━━╮ \n╭╮┃▆┈┈▆┃╭╮ \n┃╰┫▽▽▽┣╯┃ \n╰━┫△△△┣━╯`"
"`\n╲╲┃┈┈┈┈┃ \n╲╲┃┈┏┓┈┃ `"
)
@borg.on(admin_cmd(outgoing=True, pattern="hai$"))
async def hey(e):
await e.edit(
"\n┈┈┈╱▔▔▔▔╲┈╭━━━━━\n┈┈▕▂▂▂▂▂▂▏┃HELLO!┊😀`"
"`\n┈┈▕▔▇▔▔┳▔▏╰┳╮HELLO!┊\n┈┈▕╭━╰╯━╮▏━╯╰━━━\n╱▔▔▏▅▅▅▅▕▔▔╲┈┈┈┈`"
"`\n▏┈┈╲▂▂▂▂╱┈┈┈▏┈┈┈`"
)
@borg.on(admin_cmd(outgoing=True, pattern="nou$"))
async def nou(e):
await e.edit(
"`\n┈╭╮╭╮\n┈┃┃┃┃\n╭┻┗┻┗╮`"
"`\n┃┈▋┈▋┃\n┃┈╭▋━╮━╮\n┃┈┈╭╰╯╰╯╮`"
"`\n┫┈┈ NoU\n┃┈╰╰━━━━╯`"
"`\n┗━━┻━┛`"
)
@borg.on(admin_cmd(outgoing=True, pattern="mf$"))
async def gtfo(e):
await e.edit(
"\n......................................../´¯/) "
"\n......................................,/¯../ "
"\n...................................../..../ "
"\n..................................../´.¯/"
"\n..................................../´¯/"
"\n..................................,/¯../ "
"\n................................../..../ "
"\n................................./´¯./"
"\n................................/´¯./"
"\n..............................,/¯../ "
"\n............................./..../ "
"\n............................/´¯/"
"\n........................../´¯./"
"\n........................,/¯../ "
"\n......................./..../ "
"\n....................../´¯/"
"\n....................,/¯../ "
"\n.................../..../ "
"\n............./´¯/'...'/´¯¯`·¸ "
"\n........../'/.../..../......./¨¯\ "
"\n........('(...´...´.... ¯~/'...') "
"\n.........\.................'...../ "
"\n..........''...\.......... _.·´ "
"\n............\..............( "
"\n..............\.............\..."
)
@borg.on(admin_cmd(outgoing=True, pattern="sayhi$"))
async def shalom(e):
await e.edit(
"\n💛💛💛💛💛💛💛💛💛"
"\n💛🔷🔷🔷🔷🔷🔷🔷💛"
"\n💛💛💛💛🔷💛💛💛💛"
"\n💛💛💛💛🔷💛💛💛💛"
"\n💛💛💛💛🔷💛💛💛💛"
"\n💛🔷🔷🔷🔷️🔷🔷🔷💛"
"\n💛💛💛💛💛💛💛💛💛"
"\n💛💛💛💛💛💛💛💛💛"
"\n💛🔷💛💛️💛💛💛🔷💛"
"\n💛🔷🔷🔷🔷🔷🔷🔷💛"
"\n💛🔷🔷🔷🔷🔷🔷️🔷💛"
"\n💛🔷💛💛💛💛️💛🔷💛"
"\n💛💛💛💛💛💛💛💛💛"
)
@borg.on(admin_cmd(outgoing=True, pattern=r"(?:penis|dick)\s?(.)?"))
async def emoji_penis(e):
emoji = e.pattern_match.group(1)
titid = GAMBAR_TITIT
if emoji:
titid = titid.replace("🍆", emoji)
await e.edit(titid)
@borg.on(admin_cmd(pattern=f"muth", outgoing=True))
async def _(event):
if event.fwd_from:
return
animation_interval = 0.3
animation_ttl = range(0, 100)
animation_chars = [
"8✊️===D",
"8=✊️==D",
"8==✊️=D",
"8===✊️D",
"8==✊️=D",
"8=✊️==D",
"8✊️===D",
"8===✊️D💦",
"8==✊️=D💦💦",
"8=✊️==D💦💦💦",
]
for i in animation_ttl:
await asyncio.sleep(animation_interval)
await event.edit(animation_chars[i % 8])
emojis = {
"yee": "ツ",
"happy": "(ʘ‿ʘ)",
"veryhappy": "=͟͟͞͞٩(๑☉ᴗ☉)੭ु⁾⁾",
"amazed": "ヾ(o✪‿✪o)シ",
"crying": "༎ຶ︵༎ຶ",
"dicc": "╰U╯☜(◉ɷ◉ )",
"fek": "╰U╯\n(‿ˠ‿)",
"ded": "✖‿✖",
"sad": "⊙︿⊙",
"lenny": "( ͡°( ͡° ͜ʖ( ͡° ͜ʖ ͡°)ʖ ͡°) ͡°)",
"idc": "¯\_(ツ)_/¯",
"f": "😂😂😂😂😂😂😂😂\n😂😂😂😂😂😂😂😂😂\n😂😂\n😂😂\n😂😂😂😂😂😂\n😂😂😂😂😂😂\n😂😂\n😂😂\n😂😂\n😂😂\n😂😂",
}
unpacked_emojis = ""
for emoji in emojis:
unpacked_emojis += f"`{emoji}`\n"
@borg.on(admin_cmd(pattern="emoji ?(.*)"))
async def _(event):
if event.fwd_from:
return
input_str = event.pattern_match.group(1)
try:
req_emoji = emojis[str(input_str)]
await event.edit(req_emoji)
except KeyError:
await event.edit("Emoji not found!")