forked from callsmusic/vcpb
-
Notifications
You must be signed in to change notification settings - Fork 4
/
sample_config.py
35 lines (26 loc) · 1.01 KB
/
sample_config.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
# Just copy this file to config.py and change it to your info.
from pyrogram import filters
# Get these two from https://my.telegram.org
API_ID = 1234567
API_HASH = "ab1c23def45fg67890h123i45678j9kl"
# Get this from @Botfather
TOKEN = "1234567890:ABCdEFgHij1KlMNop_QrStuVWxyzuA-EmXI"
# The IDs of the users which can stream, skip, pause and change volume
SUDO_USERS = [
383407735,
951435494,
1392620345
]
# The ID of the group where your bot streams
GROUP = -1001402753006
# Users must join the group before using the bot (note: the bot should be admin in the group if you enable this)
USERS_MUST_JOIN = False
# Send "now playing" messages to the group
LOG = True
# Choose the preferred language for your bot. If English leave as it is, or change to the code of any supported language.
LANG = "en"
# Max video duration allowed for user downloads in minutes
DUR_LIMIT = 5
# No need to touch the following.
LOG_GROUP = GROUP if LOG else None
SUDO_FILTER = filters.user(SUDO_USERS)