Skip to content

Commit cf9e9d0

Browse files
authored
Updated This File (Fixed...)
1 parent 0936ea0 commit cf9e9d0

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

config.py

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,45 @@
11
# (c) @RknDeveloperr
22
# Rkn Developer
33
# Don't Remove Credit 😔
4-
# Telegram Channel @RknDeveloper & @Rkn_Bots
4+
# Telegram Channel @RknDeveloper & @Rkn_Botz
55
# Developer @RknDeveloperr
66

77
import re, os, time
88
id_pattern = re.compile(r'^.\d+$')
99

1010
class Rkn_Bots(object):
11-
# Rkn client config
11+
12+
# Rkn client config ( required.. 😥)
1213
API_ID = os.environ.get("API_ID", "")
1314
API_HASH = os.environ.get("API_HASH", "")
1415
BOT_TOKEN = os.environ.get("BOT_TOKEN", "")
1516

16-
#start_pic
17+
# start_pic
1718
RKN_PIC = os.environ.get("RKN_PIC", "https://telegra.ph/file/21a8e96b45cd6ac4d3da6.jpg")
1819

19-
2020
# wes response configuration
2121
BOT_UPTIME = time.time()
2222
PORT = int(os.environ.get("PORT", "8080"))
23-
FORCE_SUB = os.environ.get("FORCE_SUB", "")
23+
24+
# force subs channel ( required.. 😥)
25+
FORCE_SUB = os.environ.get("FORCE_SUB", "Rkn_Botz")
2426

25-
# database config
27+
# database config ( required.. 😥)
2628
DB_NAME = os.environ.get("DB_NAME", "AutoCaption_V05_Bot")
2729
DB_URL = os.environ.get("DB_URL", "")
2830

29-
#caption
30-
DEF_CAP = os.environ.get("DEF_CAP",
31-
"<b><a href='telegram.me/Rkn_Bots'>{file_name} Telegram : @RknDeveloper\n\nForward the file before Downloading.</a></b>",
31+
# default caption
32+
DEF_CAP = os.environ.get("DEF_CAP", "<b><a href='https//:t.me/Rkn_Botz'>{file_name} Main Telegram Channel: @RknDeveloper</a></b>",
3233
)
3334

34-
#sticker Id
35+
# sticker Id
3536
STICKER_ID = os.environ.get("STICKER_ID", "CAACAgIAAxkBAAELFqBllhB70i13m-woXeIWDXU6BD2j7wAC9gcAAkb7rAR7xdjVOS5ziTQE")
3637

37-
#admin id
38+
# admin id ( required.. 😥)
3839
ADMIN = [int(admin) if id_pattern.search(admin) else admin for admin in os.environ.get('ADMIN', '').split()]
3940

4041

4142
# Rkn Developer
4243
# Don't Remove Credit 😔
43-
# Telegram Channel @RknDeveloper & @Rkn_Bots
44+
# Telegram Channel @RknDeveloper & @Rkn_Botz
4445
# Developer @RknDeveloperr

0 commit comments

Comments
 (0)