-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathScript.py
More file actions
154 lines (123 loc) ยท 6.88 KB
/
Script.py
File metadata and controls
154 lines (123 loc) ยท 6.88 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
class script(object):
START_TXT = """๐ธ๐...๐ธ๐... {} ๐
๐จ'๐ ๐ฏ๐๐๐พ๐๐ฟ๐๐
๐ ๐๐๐-๐ฅ๐๐
๐๐พ๐ ๐ก๐๐ ๐ธ๐๐ ๐ข๐บ๐ ๐ด๐๐พ ๐ฌ๐พ ๐ ๐ ๐ ๐ ๐๐๐-๐ฟ๐๐
๐๐พ๐ ๐๐ ๐ธ๐๐๐ ๐ฆ๐๐๐๐
๐จ๐๐ ๐ค๐บ๐๐ ๐ณ๐ ๐ด๐๐พ ๐ฌ๐พ; ๐ฉ๐๐๐ ๐ ๐ฝ๐ฝ ๐ฌ๐พ ๐ณ๐ ๐ธ๐๐๐ ๐ฆ๐๐๐๐ ๐ ๐ ๐ ๐ฝ๐๐๐,
๐ณ๐๐บ๐๐ ๐ ๐
๐
, ๐ ๐๐๐
๐
๐ฏ๐๐๐๐๐ฝ๐พ ๐ฌ๐๐๐๐พ๐ ๐ณ๐๐พ๐๐พ...๐ค๐คช
โ ๏ธ๐ฌ๐๐๐พ ๐ง๐พ๐
๐ ๐ง๐๐ /help
๐ ๐ฏ๐๐๐พ๐๐พ๐ฝ ๐ป๐ @Jithis7
"""
HELP_TXT = """
๐๐ปโโ๏ธ ๐ง๐พ๐
๐
๐๐๐ {} ๐ค
โ ๐๐'๐ ๐ญ๐๐๐พ ๐ข๐๐๐๐
๐๐ผ๐บ๐๐พ๐ฝ...๐ค
โ ๐ฒ๐พ๐บ๐๐ผ๐ ๐๐๐๐๐ ๐๐๐
๐๐๐พ ๐๐๐ฝ๐พ
๐ณ๐๐๐ ๐๐พ๐๐๐๐ฝ ๐๐๐๐๐ ๐๐ ๐บ๐๐ ๐ผ๐๐บ๐, ๐ฉ๐๐๐ ๐๐๐๐พ <b>Bot Username</b> ๐บ๐๐ฝ ๐๐๐พ๐ ๐
๐พ๐บ๐๐พ ๐บ ๐๐๐บ๐ผ๐พ ๐บ๐๐ฝ ๐๐พ๐บ๐๐ผ๐ ๐บ๐๐ ๐๐๐๐๐พ ๐๐๐ ๐๐บ๐๐...
โ ๐ ๐๐บ๐๐
๐บ๐ป๐
๐พ ๐ข๐๐๐๐บ๐๐ฝ๐
/start - Check I'm Alive..
/status - Bot Status
/info - User info
/alive - To check you are alive
/ping - To get your ping
/id - User id
/stats - Db status
/broadcast - Broadcast (๐ฎ๐๐๐พ๐ ๐ฎ๐๐
๐)
โ ๐ญ๐๐๐๐ผ๐พ ๐:-
โ๐ฃ๐๐๐ ๐ฒ๐๐บ๐ ๐ฌ๐พ...๐ค
๐ ๐ฏ๐๐๐พ๐๐พ๐ฝ ๐ป๐ @Jithis7
"""
ABOUT_TXT = """
โ ๐ข๐๐พ๐บ๐๐๐ : <a href='https://t.me/Jithis7'>๐ณ๐๐๐ ๐ฏ๐พ๐๐๐๐</a>
โ ๐ซ๐บ๐๐๐๐บ๐๐พ : ๐ฏ๐๐๐๐๐ ๐ฅ
โ ๐ซ๐๐ป๐๐บ๐๐ : ๐ฏ๐๐๐๐๐๐บ๐ ๐บ๐๐๐๐ผ๐๐ ๐ข.๐ฃ๐ฉ.๐ฃ
โ ๐ฒ๐พ๐๐๐พ๐ : Contabo
โ ๐ฃ๐บ๐๐บ๐ป๐บ๐๐พ : <a href='https://www.mongodb.com'>๐ฌ๐๐๐๐๐ฃ๐ก ๐ฅ๐๐พ๐พ ๐ณ๐๐พ๐</a>
โ ๐ก๐๐๐
๐ฝ ๐ฒ๐๐บ๐๐๐ : v1.0.1 [BeTa]
โ Movie ๐ฆ๐๐๐๐ : <a href='https://t.me/wudixh'>๐ณ๐บ๐ ๐ง๐พ๐๐พ</a>"""
SOURCE_TXT = """<b>NOTE:</b>
Special Thanks to EvaMaria and Professor-Bot for the codes
<b>DEV:</b>
- <a href=https://t.me/Jithis7>ใแดษชสแดใ</a>
- Source - https://github.com/GouthamSER/Filter-Bot"""
MANUELFILTER_TXT = """Help: <b>Filters</b>
- Filter is the feature were users can set automated replies for a particular keyword and PiroAutoFilterBot will respond whenever a keyword is found the message
<b>NOTE:</b>
1. PiroAutoFilterBot should have admin privillage.
2. only admins can add filters in a chat.
3. alert buttons have a limit of 64 characters.
<b>Commands and Usage:</b>
โข /filter - <code>add a filter in chat</code>
โข /filters - <code>list all the filters of a chat</code>
โข /del - <code>delete a specific filter in chat</code>
โข /delall - <code>delete the whole filters in a chat (chat owner only)</code>
<b>Adv Global Filter </b>
โข /gfilter - <code>แดแด แดแด
แด
ษขสแดสแดส าษชสแดแดสs</code>
โข /gfilters - <code>แดแด แด ษชแดแดก สษชsแด แดา แดสส ษขสแดสแดส าษชสแดแดสs<code>
โข /delg - <code>แดแด แด
แดสแดแดแด แด sแดแดแดษชาษชแด ษขสแดสแดส าษชสแดแดส</code>
โข /delallg - <code>แดแด แด
แดสแดแดแด แดสส ษขสแดสแดส ๊ฐษชสแดแดส๊ฑ</code>"""
BUTTON_TXT = """Help: <b>Buttons</b>
- KuttuBot Supports both url and alert inline buttons.
<b>NOTE:</b>
1. Telegram will not allows you to send buttons without any content, so content is mandatory.
2. KuttuBot supports buttons with any telegram media type.
3. Buttons should be properly parsed as markdown format
<b>URL buttons:</b>
<code>[Button Text](buttonurl:https://t.me/PiroAutoFilterBot)</code>
<b>Alert buttons:</b>
<code>[Button Text](buttonalert:This is an alert message)</code>"""
AUTOFILTER_TXT = """Help: <b>Auto Filter</b>
<b>NOTE:</b>
1. Make me the admin of your channel if it's private.
2. make sure that your channel does not contains camrips, porn and fake files.
3. Forward the last message to me with quotes.
I'll add all the files in that channel to my db."""
CONNECTION_TXT = """Help: <b>Connections</b>
- Used to connect bot to PM for managing filters
- it helps to avoid spamming in groups.
<b>NOTE:</b>
1. Only admins can add a connection.
2. Send <code>/connect</code> for connecting me to ur PM
<b>Commands and Usage:</b>
โข /connect - <code>connect a particular chat to your PM</code>
โข /disconnect - <code>disconnect from a chat</code>
โข /connections - <code>list all your connections</code>"""
EXTRAMOD_TXT = """Help: <b>Extra Modules</b>
<b>NOTE:</b>
these are the extra features of PiroAutoFilterBot
<b>Commands and Usage:</b>
โข /id - <code>get id of a specified user.</code>
โข /info - <code>get information about a user.</code>
โข /imdb - <code>get the film information from IMDb source.</code>
โข /search - <code>get the film information from various sources.</code>"""
ADMIN_TXT = """Help: <b>Admin mods</b>
<b>NOTE:</b>
This module only works for my admins
<b>Commands and Usage:</b>
โข /logs - <code>to get the rescent errors</code>
โข /stats - <code>to get status of files in db.</code>
โข /delete - <code>to delete a specific file from db.</code>
โข /users - <code>to get list of my users and ids.</code>
โข /chats - <code>to get list of the my chats and ids </code>
โข /leave - <code>to leave from a chat.</code>
โข /disable - <code>do disable a chat.</code>
โข /ban - <code>to ban a user.</code>
โข /unban - <code>to unban a user.</code>
โข /channel - <code>to get list of total connected channels</code>
โข /broadcast - <code>to broadcast a message to all users</code>
โข /inkick - <code>command with required arguments and i will kick members from group.</code>
โข /instatus - <code>to check current status of chat member from group.</code>
โข /inkick within_month long_time_ago - <code>to kick users who are offline for more than 6-7 days.</code>
โข /inkick long_time_ago - <code>to kick members who are offline for more than a month and Deleted Accounts.</code>
โข /dkick - <code>to kick deleted accounts."""
STATUS_TXT = """๐ณ๐๐๐บ๐
๐ฅ๐๐
๐พ๐: <code>{}</code>
๐ณ๐๐๐บ๐
๐ฌ๐พ๐๐ป๐พ๐๐: <code>{}</code>
๐ณ๐๐๐บ๐
๐ข๐๐บ๐๐: <code>{}</code>
๐ด๐๐พ๐ฝ ๐ฒ๐๐๐๐บ๐๐พ: <code>{}</code>
"""
LOG_TEXT_G = """#NewGroup
Group = {}(<code>{}</code>)
Total Members = <code>{}</code>
Added By - {}
"""
LOG_TEXT_P = """#NewUser
ID๐ซ - <code>{}</code>
Name๐จ๐ฟโ๐คโ๐จ๐ฟ - {}
"""