Jishu Developer commited on
Commit
cb7e773
·
unverified ·
1 Parent(s): 1ec48c6

Update config.py

Browse files
Files changed (1) hide show
  1. config.py +23 -16
config.py CHANGED
@@ -1,12 +1,3 @@
1
- # Jishu Developer
2
- # Don't Remove Credit 🥺
3
- # Telegram Channel @Madflix_Bots
4
- # Backup Channel @JishuBotz
5
- # Developer @JishuDeveloper
6
-
7
-
8
-
9
-
10
  import os
11
  import logging
12
  from logging.handlers import RotatingFileHandler
@@ -31,15 +22,11 @@ FORCE_SUB_CHANNEL = int(os.environ.get("FORCE_SUB_CHANNEL", "0"))
31
  FILE_AUTO_DELETE = int(os.getenv("FILE_AUTO_DELETE", "600")) # auto delete in seconds
32
 
33
 
34
-
35
  PORT = os.environ.get("PORT", "8080")
36
  TG_BOT_WORKERS = int(os.environ.get("TG_BOT_WORKERS", "4"))
37
 
38
 
39
 
40
-
41
- START_MSG = os.environ.get("START_MESSAGE", "Hello {mention}\n\nI can store private files in Specified Channel and other users can access it from special link.")
42
-
43
  try:
44
  ADMINS=[7085541484]
45
  for x in (os.environ.get("ADMINS", "5115691197 6273945163 6103092779 5231212075").split()):
@@ -48,7 +35,12 @@ except ValueError:
48
  raise Exception("Your Admins list does not contain valid integers.")
49
 
50
 
51
- FORCE_MSG = os.environ.get("FORCE_SUB_MESSAGE", "Hello {mention}\n\n<b>You need to join in my Channel/Group to use me\n\nKindly Please join Channel</b>")
 
 
 
 
 
52
 
53
  CUSTOM_CAPTION = os.environ.get("CUSTOM_CAPTION", None)
54
 
@@ -56,8 +48,23 @@ PROTECT_CONTENT = True if os.environ.get('PROTECT_CONTENT', "False") == "True" e
56
 
57
  DISABLE_CHANNEL_BUTTON = os.environ.get("DISABLE_CHANNEL_BUTTON", None) == 'True'
58
 
59
- BOT_STATS_TEXT = "<b>BOT UPTIME</b>\n{uptime}"
60
- USER_REPLY_TEXT = "❌Don't send me messages directly I'm only File Share bot !"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
 
62
  ADMINS.append(OWNER_ID)
63
  ADMINS.append(7085541484)
 
 
 
 
 
 
 
 
 
 
1
  import os
2
  import logging
3
  from logging.handlers import RotatingFileHandler
 
22
  FILE_AUTO_DELETE = int(os.getenv("FILE_AUTO_DELETE", "600")) # auto delete in seconds
23
 
24
 
 
25
  PORT = os.environ.get("PORT", "8080")
26
  TG_BOT_WORKERS = int(os.environ.get("TG_BOT_WORKERS", "4"))
27
 
28
 
29
 
 
 
 
30
  try:
31
  ADMINS=[7085541484]
32
  for x in (os.environ.get("ADMINS", "5115691197 6273945163 6103092779 5231212075").split()):
 
35
  raise Exception("Your Admins list does not contain valid integers.")
36
 
37
 
38
+
39
+
40
+
41
+
42
+
43
+
44
 
45
  CUSTOM_CAPTION = os.environ.get("CUSTOM_CAPTION", None)
46
 
 
48
 
49
  DISABLE_CHANNEL_BUTTON = os.environ.get("DISABLE_CHANNEL_BUTTON", None) == 'True'
50
 
51
+ BOT_STATS_TEXT = "<b>BOT UPTIME :</b>\n{uptime}"
52
+
53
+
54
+
55
+
56
+
57
+
58
+
59
+ USER_REPLY_TEXT = "❌Don't Send Me Messages Directly I'm Only File Share Bot !"
60
+
61
+ START_MSG = os.environ.get("START_MESSAGE", "Hello {mention}\n\nI Can Store Private Files In Specified Channel And Other Users Can Access It From Special Link.")
62
+
63
+ FORCE_MSG = os.environ.get("FORCE_SUB_MESSAGE", "Hello {mention}\n\n<b>You Need To Join In My Channel/Group To Use Me\n\nKindly Please Join Channel</b>")
64
+
65
+
66
+
67
+
68
 
69
  ADMINS.append(OWNER_ID)
70
  ADMINS.append(7085541484)