forked from sujay5372bot/Sujaydemolo2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample_info.py
More file actions
26 lines (21 loc) · 785 Bytes
/
sample_info.py
File metadata and controls
26 lines (21 loc) · 785 Bytes
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
from info import DATABASE_URI, SECONDDB_URI
# Bot information
SESSION = 'Media_search'
USER_SESSION = 'User_Bot'
API_ID = 12345
API_HASH = '0123456789abcdef0123456789abcdef'
BOT_TOKEN = '123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11'
USERBOT_STRING_SESSION = ''
# Bot settings
CACHE_TIME = 300
USE_CAPTION_FILTER = False
# Admins, Channels & Users
ADMINS = [12345789, 'admin123', 98765432]
CHANNELS = [-10012345678, -100987654321, 'channelusername']
AUTH_USERS = []
AUTH_CHANNEL = None
# MongoDB information
DATABASE_NAME = 'Telegram'
COLLECTION_NAME = 'channel_files' # If you are using the same database, then use different collection name for each bot
#temp dict for storing the db uri which will be used for storing user, chat and file infos
tempDict = {'indexDB': SECONDDB_URI}