-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathperfectrussian.py
More file actions
37 lines (29 loc) · 900 Bytes
/
perfectrussian.py
File metadata and controls
37 lines (29 loc) · 900 Bytes
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
from pyrogram import Client, filters
from pyrogram.types import Message
from utils.misc import modules_help, prefix
from utils.scripts import with_reply
import random
@Client.on_message(filters.command("prus", prefix) & filters.me)
@with_reply
async def prussian_cmd(_, message: Message):
words = [
"сука",
"нахуй",
"блять",
"блядь",
"пиздец",
"еблан",
"уебан",
"уебок",
"пизда",
"очко",
"хуй",
]
splitted = message.reply_to_message.text.split()
for i in range(0, len(splitted), random.randint(2, 3)):
for j in range(1, 2):
splitted.insert(i, random.choice(words))
await message.edit(" ".join(splitted))
modules_help["perfectrussian"] = {
"prus": "translate your message into perfect 🇷🇺Russian",
}