forked from abishikth-jos/renameprobot
-
Notifications
You must be signed in to change notification settings - Fork 1
/
sample_config.py
36 lines (21 loc) 路 1.11 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
36
#-------------------------------------- https://github.com/m4mallu/renameprobot --------------------------------------#
import os
class Config(object):
# get a token from @BotFather
TG_BOT_TOKEN = os.environ.get("TG_BOT_TOKEN")
# Get these values from my.telegram.org
APP_ID = int(os.environ.get("APP_ID"))
API_HASH = os.environ.get("API_HASH")
# Array to store users who are authorized to use the bot
AUTH_USERS = set(int(x) for x in os.environ.get("AUTH_USERS", "").split())
# Channels to forward the formatted video (Optional, Prefix: "-100", Bot should be an admin of the channels)
CHANNEL1_ID = os.environ.get("CHANNEL1_ID")
CHANNEL1_NAME = os.environ.get("CHANNEL1_NAME")
CHANNEL2_ID = os.environ.get("CHANNEL2_ID")
CHANNEL2_NAME = os.environ.get("CHANNEL2_NAME")
CHANNEL3_ID = os.environ.get("CHANNEL3_ID")
CHANNEL3_NAME = os.environ.get("CHANNEL3_NAME")
CHANNEL4_ID = os.environ.get("CHANNEL4_ID")
CHANNEL4_NAME = os.environ.get("CHANNEL4_NAME")
CHANNEL5_ID = os.environ.get("CHANNEL5_ID")
CHANNEL5_NAME = os.environ.get("CHANNEL5_NAME")