mirror of
https://github.com/avipatilpro/FileStreamBot.git
synced 2026-01-15 14:22:53 -03:00
Initial Commit
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# (c) @EverythingSuckz | @AbirHasan2005
|
||||
# (c) @AvishkarPatil | @EverythingSuckz
|
||||
|
||||
from os import getenv, environ
|
||||
from dotenv import load_dotenv
|
||||
@@ -10,7 +10,7 @@ class Var(object):
|
||||
API_ID = int(getenv('API_ID'))
|
||||
API_HASH = str(getenv('API_HASH'))
|
||||
BOT_TOKEN = str(getenv('BOT_TOKEN'))
|
||||
SESSION_NAME = str(getenv('SESSION_NAME', 'AHFile2LinkBot'))
|
||||
SESSION_NAME = str(getenv('SESSION_NAME', 'F2LxBot'))
|
||||
SLEEP_THRESHOLD = int(getenv('SLEEP_THRESHOLD', '60'))
|
||||
WORKERS = int(getenv('WORKERS', '4'))
|
||||
BIN_CHANNEL = int(getenv('BIN_CHANNEL'))
|
||||
@@ -27,4 +27,4 @@ class Var(object):
|
||||
FQDN = str(getenv('FQDN', BIND_ADRESS)) if not ON_HEROKU else APP_NAME+'.herokuapp.com'
|
||||
DATABASE_URL = str(getenv('DATABASE_URL'))
|
||||
UPDATES_CHANNEL = str(getenv('UPDATES_CHANNEL', None))
|
||||
BANNED_CHANNELS = list(set(int(x) for x in str(getenv("BANNED_CHANNELS", "-1001362659779")).split()))
|
||||
BANNED_CHANNELS = list(set(int(x) for x in str(getenv("BANNED_CHANNELS", "-1001362659779")).split()))
|
||||
|
||||
Reference in New Issue
Block a user