Kanhshsh commited on
Commit
0422aab
·
verified ·
1 Parent(s): 6e2d4cc

Update info.py

Browse files
Files changed (1) hide show
  1. info.py +6 -6
info.py CHANGED
@@ -34,12 +34,12 @@ STREAM_API = (environ.get('STREAM_API', 'ae0832f39e24094a0661626a792e6a2b8880e31
34
  STREAMHTO = (environ.get('STREAMHTO', 'https://t.me/HowToOpenLinkHP/69'))
35
 
36
  # Admins, Channels & Users
37
- ADMINS = [int(admin) if id_pattern.search(admin) else admin for admin in environ.get('ADMINS', '').split()]
38
- CHANNELS = [int(ch) if id_pattern.search(ch) else ch for ch in environ.get('CHANNELS', '').split()] #Channel id for auto indexing ( make sure bot is admin )
39
  auth_users = [int(user) if id_pattern.search(user) else user for user in environ.get('AUTH_USERS', '').split()]
40
  AUTH_USERS = (auth_users + ADMINS) if auth_users else []
41
  PREMIUM_USER = [int(user) if id_pattern.search(user) else user for user in environ.get('PREMIUM_USER', '').split()]
42
- auth_channel = environ.get('AUTH_CHANNEL', '') #Channel / Group Id for force sub ( make sure bot is admin )
43
  auth_grp = environ.get('AUTH_GROUP')
44
  AUTH_CHANNEL = int(auth_channel) if auth_channel and id_pattern.search(auth_channel) else None
45
  AUTH_GROUPS = [int(ch) for ch in auth_grp.split()] if auth_grp else None
@@ -67,12 +67,12 @@ MAX_B_TN = environ.get("MAX_B_TN", "5")
67
  MAX_BTN = is_enabled((environ.get('MAX_BTN', "True")), True)
68
  PORT = environ.get("PORT", "8080")
69
  GRP_LNK = environ.get('GRP_LNK', 'https://t.me/')
70
- CHNL_LNK = environ.get('CHNL_LNK', 'https://t.me/')
71
- TUTORIAL = environ.get('TUTORIAL', 'https://t.me/') # Tutorial video link for opening shortlink website
72
  IS_TUTORIAL = bool(environ.get('IS_TUTORIAL', True))
73
  MSG_ALRT = environ.get('MSG_ALRT', 'ᴍᴀɪɴᴛᴀɪɴᴇᴅ ʙʏ : ʜᴘ')
74
  LOG_CHANNEL = int(environ.get('LOG_CHANNEL', '')) #Log channel id ( make sure bot is admin )
75
- SUPPORT_CHAT = environ.get('SUPPORT_CHAT', 'https://t.me/') #Support group link ( make sure bot is admin )
76
  P_TTI_SHOW_OFF = is_enabled((environ.get('P_TTI_SHOW_OFF', "False")), False)
77
  IMDB = is_enabled((environ.get('IMDB', "False")), False)
78
  AUTO_FFILTER = is_enabled((environ.get('AUTO_FFILTER', "True")), True)
 
34
  STREAMHTO = (environ.get('STREAMHTO', 'https://t.me/HowToOpenLinkHP/69'))
35
 
36
  # Admins, Channels & Users
37
+ ADMINS = [int(admin) if id_pattern.search(admin) else admin for admin in environ.get('ADMINS', '5873900195').split()]
38
+ CHANNELS = [int(ch) if id_pattern.search(ch) else ch for ch in environ.get('CHANNELS', '-1002851899064').split()] #Channel id for auto indexing ( make sure bot is admin )
39
  auth_users = [int(user) if id_pattern.search(user) else user for user in environ.get('AUTH_USERS', '').split()]
40
  AUTH_USERS = (auth_users + ADMINS) if auth_users else []
41
  PREMIUM_USER = [int(user) if id_pattern.search(user) else user for user in environ.get('PREMIUM_USER', '').split()]
42
+ auth_channel = environ.get('AUTH_CHANNEL', '-1002851899064') #Channel / Group Id for force sub ( make sure bot is admin )
43
  auth_grp = environ.get('AUTH_GROUP')
44
  AUTH_CHANNEL = int(auth_channel) if auth_channel and id_pattern.search(auth_channel) else None
45
  AUTH_GROUPS = [int(ch) for ch in auth_grp.split()] if auth_grp else None
 
67
  MAX_BTN = is_enabled((environ.get('MAX_BTN', "True")), True)
68
  PORT = environ.get("PORT", "8080")
69
  GRP_LNK = environ.get('GRP_LNK', 'https://t.me/')
70
+ CHNL_LNK = environ.get('CHNL_LNK', 'https://t.me/Trusted_Sellers_of_pd')
71
+ TUTORIAL = environ.get('TUTORIAL', 'https://t.me/Trusted_Sellers_Of_Pd/5') # Tutorial video link for opening shortlink website
72
  IS_TUTORIAL = bool(environ.get('IS_TUTORIAL', True))
73
  MSG_ALRT = environ.get('MSG_ALRT', 'ᴍᴀɪɴᴛᴀɪɴᴇᴅ ʙʏ : ʜᴘ')
74
  LOG_CHANNEL = int(environ.get('LOG_CHANNEL', '')) #Log channel id ( make sure bot is admin )
75
+ SUPPORT_CHAT = environ.get('SUPPORT_CHAT', '') #Support group link ( make sure bot is admin )
76
  P_TTI_SHOW_OFF = is_enabled((environ.get('P_TTI_SHOW_OFF', "False")), False)
77
  IMDB = is_enabled((environ.get('IMDB', "False")), False)
78
  AUTO_FFILTER = is_enabled((environ.get('AUTO_FFILTER', "True")), True)