-
Notifications
You must be signed in to change notification settings - Fork 494
/
script.py
69 lines (34 loc) · 1.67 KB
/
script.py
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
class script(object):
START_MSG = """ <b>Hi {}
You can call this as an Auto Filter Bot if you like :D
This is Version 2 of Auto Filter Bot
Bot gives button link to files in connected channels on query !
No need to add filters for your files or movies from now on!
For more click <i>help</i></b>"""
HELP_MSG = """<b>How to use the bot??</b>
<i>
* Add bot to your group with admin rights.
* Add bot to channels which you want to link with <b>all admin rights</b>!
</i>
<b>Bot Commands - Works in Group only</b>
(You need to be a Auth User in order to use these commands)
* <code>/add channelid</code> - Links channel to your group.
or
* <code>/add @channelusername</code> - Links channel to your group.
<i>NOTE : You can get your channel ID from @ChannelidHEXbot </i>
* <code>/del channelid</code> - Delinks channel from group
or
* <code>/del @channelusername</code> - Delinks channel from group
<i>NOTE : You can get connected channel details by <code>/filterstats</code> </i>
* <code>/delall</code> - Removes all connected channels and filters from group!
<i>Note : Dont add command delete bots in group! Otherwise, delall command wont work</i>
* <code>/filterstats</code> - Check connected channels and number of filters.
No need add each filter again!
Bot will automatically search for your files and give links to that!
<b>© @TroJanzHEX</b>"""
ABOUT_MSG = """⭕️<b>My Name : Auto Filter Bot V2</b>
⭕️<b>Creater :</b> @TroJanzHEX
⭕️<b>Language :</b> <code>Python3</code>
⭕️<b>Library :</b> <a href='https://docs.pyrogram.org/'>Pyrogram 1.0.7</a>
⭕️<b>Tutorial Video :</b> <a href='https://youtu.be/KQVYQAOsFYY'>Video Link</a>
"""