-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtroll.py
More file actions
209 lines (199 loc) · 10.1 KB
/
troll.py
File metadata and controls
209 lines (199 loc) · 10.1 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
import asyncio
import random
from pyrogram import Client, filters
from command import fox_command, fox_sudo, who_message
from pyrogram.errors.exceptions.flood_420 import FloodWait
import os
@Client.on_message(fox_command("hack", "Troll", os.path.basename(__file__)) & fox_sudo())
async def hack(client, message):
message = await who_message(client, message)
perc = 0
while perc < 100:
text = "👮 Взлом пентагона в процессе..." + str(perc) + "%"
await message.edit(str(text))
perc += random.randint(1, 3)
await asyncio.sleep(0.1)
text = "✅ Пентагон успешно взломан!"
await message.edit(str(text))
await asyncio.sleep(3)
perc = 0
while perc < 100:
text = "⬇️ Скачивание данных..." + str(perc) + "%"
await message.edit(str(text))
perc += random.randint(1, 5)
await asyncio.sleep(0.15)
await asyncio.sleep(1)
text = "🐓 Нашли файлы, что ты - петух!"
await message.edit(text)
@Client.on_message(fox_command("drugs", "Troll", os.path.basename(__file__)) & fox_sudo())
async def drugs(client, message):
message = await who_message(client, message)
perc = 0
while perc < 100:
text = "💊 Поиск запрещённых препаратов " + str(perc) + "%"
await message.edit(str(text))
perc += random.randint(1, 3)
await asyncio.sleep(0.1)
text = "🚬 Найдено 3 кг шпекса"
await message.edit(str(text))
await asyncio.sleep(3)
text = "🌿⚗️ Оформляем вкид"
await message.edit(str(text))
await asyncio.sleep(5)
drugsss = ['😳 Вас успешно откачали, пожалуйста, больше не принимайте запрещённые препараты',
'🥴 Вы пожилой наркоман, вас не берёт одна доза, вам необходимо больше, попробуйте ещё раз оформить вкид',
'😖 Сегодня не ваш день, вы хоть и пожилой, но приняли слишком много. Окончательная причина смерти - передоз',
'😌 Вы оформили вкид, Вам понравилось']
drug = random.choice(drugsss)
await message.edit(drug)
@Client.on_message(fox_command("police", "Troll", os.path.basename(__file__), "[duration]") & fox_sudo())
async def police(client, message):
message = await who_message(client, message)
red_blue = "🔴🔴🔴⬜⬜⬜🔵🔵🔵"
blue_red = "🔵🔵🔵⬜⬜⬜🔴🔴🔴"
duration = 0
try:
need_duration = int(message.command[1])
except:
need_duration = 5
while need_duration != duration:
await message.edit(f"{red_blue}\n" * 3)
await asyncio.sleep(0.3)
await message.edit(f"{blue_red}\n" * 3)
await asyncio.sleep(0.3)
duration += 1
await message.edit("**Никому ни с места!**\nПрибыла **🚨 Полиция 🚨**\nГотовь вещички, **сынок**.")
end_message = '**1000-7, я умер, прости**'
messages_per_second = 7
sleep_time_ghoul = 0.1
@Client.on_message(fox_command("ghoul", "Troll", os.path.basename(__file__)) & fox_sudo())
async def ghoul_spam_handler(client, message):
message = await who_message(client, message)
i = 1000
while i > 0:
try:
await client.send_message(message.chat.id, f'{i} - 7 = {i-7}')
except FloodWait as e:
await asyncio.sleep(e.value)
i -= 7
await asyncio.sleep(1/messages_per_second)
if end_message != '':
await client.send_message(message.chat.id, end_message)
@Client.on_message(fox_command("stupid", "Troll", os.path.basename(__file__)) & fox_sudo())
async def stupid(client, message):
message = await who_message(client, message)
animation_interval = 0.5
animation_ttl = range(0, 14)
await message.edit_text("stupid boy")
animation_chars = [
"<b>YOUR BRAIN</b> ➡️ 🧠\n\n🧠 (^_^)🗑",
"<b>YOUR BRAIN</b> ➡️ 🧠\n\n🧠 (^_^) 🗑",
"<b>YOUR BRAIN</b> ➡️ 🧠\n\n🧠 (^_^) 🗑",
"<b>YOUR BRAIN</b> ➡️ 🧠\n\n🧠 (^_^) 🗑",
"<b>YOUR BRAIN</b> ➡️ 🧠\n\n🧠 (^_^) 🗑",
"<b>YOUR BRAIN</b> ➡️ 🧠\n\n🧠< (^_^ <) 🗑",
"<b>YOUR BRAIN</b> ➡️ 🧠\n\n(> ^_^)>🧠 🗑",
"<b>YOUR BRAIN</b> ➡️ 🧠\n\n (> ^_^)>🧠 🗑",
"<b>YOUR BRAIN</b> ➡️ 🧠\n\n (> ^_^)>🧠 🗑",
"<b>YOUR BRAIN</b> ➡️ 🧠\n\n (> ^_^)>🧠 🗑",
"<b>YOUR BRAIN</b> ➡️ 🧠\n\n (> ^_^)>🧠 🗑",
"<b>YOUR BRAIN</b> ➡️ 🧠\n\n (> ^_^)>🧠🗑",
"<b>YOUR BRAIN</b> ➡️ 🧠\n\n (> ^_^)>🗑",
"<b>YOUR BRAIN</b> ➡️ 🧠\n\n < (^_^ <)🗑",
]
for i in animation_ttl:
await asyncio.sleep(animation_interval)
await message.edit_text(animation_chars[i % 14])
@Client.on_message(fox_command("bombs", "Troll", os.path.basename(__file__)) & fox_sudo())
async def bombs(client, message):
message = await who_message(client, message)
await message.edit_text("▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n")
await asyncio.sleep(0.5)
await message.edit_text("💣💣💣💣 \n▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n")
await asyncio.sleep(0.5)
await message.edit_text("▪️▪️▪️▪️ \n💣💣💣💣 \n▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n")
await asyncio.sleep(0.5)
await message.edit_text("▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n💣💣💣💣 \n▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n")
await asyncio.sleep(0.5)
await message.edit_text("▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n💣💣💣💣 \n▪️▪️▪️▪️ \n")
await asyncio.sleep(0.5)
await message.edit_text("▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n💣💣💣💣 \n")
await asyncio.sleep(1)
await message.edit_text("▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n💥💥💥💥 \n")
await asyncio.sleep(0.5)
await message.edit_text("▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n💥💥💥💥 \n💥💥💥💥 \n")
await asyncio.sleep(0.5)
await message.edit_text("▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n▪️▪️▪️▪️ \n😵😵😵😵 \n")
await asyncio.sleep(0.5)
await message.edit_text("<b>DOMBIL BAMBAS......</b>")
await asyncio.sleep(2)
@Client.on_message(fox_command("call", "Troll", os.path.basename(__file__)) & fox_sudo())
async def cell(client, message):
message = await who_message(client, message)
animation_interval = 3
animation_ttl = range(0, 18)
await message.edit_text("Calling Pavel Durov (ceo of telegram)......")
animation_chars = [
"<b>Connecting To Telegram Headquarters...</b>",
"<b>Call Connected.</b>",
"<b>Telegram: Hello This is Telegram HQ. Who is this?</b>",
f"<b>Me: Yo this is FoxU, Please Connect me to my lil bro, Pavel Durov </b>",
"<b>User Authorised.</b>",
"<b>Calling Shivamani </b> <code>At +916969696969</code>",
"<b>Private Call Connected...</b>",
"<b>Me: Hello Sir, Please Ban This Telegram Account.</b>",
"<b>Shivamani : May I Know Who Is This?</b>",
f"<b>Me: Yo Brah, I Am FoxU</b>",
"<b>Shivamani : OMG!!! Long time no see, Wassup cat...\nI'll Make Sure That Guy Account Will Get Blocked Within 24Hrs.</b>",
"<b>Me: Thanks, See You Later Brah.</b>",
"<b>Shivamani : Please Don't Thank Brah, Telegram Is Our's. Just Gimme A Call When You Become Free.</b>",
"<b>Me: Is There Any Issue/Emergency???</b>",
"<b>Shivamani : Yes Sur, There Is A Bug In Telegram v69.6.9.\nI Am Not Able To Fix It. If Possible, Please Help Fix The Bug.</b>",
"<b>Me: Send Me The App On My Telegram Account, I Will Fix The Bug & Send You.</b>",
"<b>Shivamani : Sure Sur \nTC Bye Bye :)</b>",
"<b>Private Call Disconnected.</b>",
]
for i in animation_ttl:
await asyncio.sleep(animation_interval)
await message.edit_text(animation_chars[i % 18])
@Client.on_message(fox_command("kill", "Troll", os.path.basename(__file__)) & fox_sudo())
async def kill(client, message):
message = await who_message(client, message)
animation_interval = 0.3
animation_ttl = range(0, 103)
animation_chars = [
"Fiiiiire",
"( ・ิω・ิ)︻デ═一==>",
"====>____________",
"======>__________",
"========>",
"==========>",
"============>",
"==============>",
"==================>",
"======>;(^。^)ノ",
"( ̄ー ̄) DED",
"<b>Target killed successfully (°̥̥̥̥̥̥̥̥•̀.̫•́°̥̥̥̥̥̥̥)</b>",
]
await message.edit_text("You're goonnaa diieeeee!")
await asyncio.sleep(3)
for i in animation_ttl:
await asyncio.sleep(animation_interval)
await message.edit_text(animation_chars[i % 103])
@Client.on_message(fox_command("ZV", "Troll", os.path.basename(__file__), "") & fox_sudo())
async def ZV(client, message):
message = await who_message(client, message)
rofl_list = {
'З':'Z',
'з':'Z',
'С':'Z',
'с':'Z',
'В':'V',
'в':'V',
'О':'O',
'о':'O',
}
text = ' '.join(message.text.split()[1:])
for word, word_replace in rofl_list.items():
text = text.replace(word, word_replace)
await client.edit_message_text(message.chat.id, message.id, text)