-
Notifications
You must be signed in to change notification settings - Fork 337
/
configs.py
42 lines (34 loc) · 1.48 KB
/
configs.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
37
38
39
40
41
42
# (c) @AbirHasan2005
# Don't Forget That I Made This!
# So Give Credits!
import os
class Config(object):
BOT_TOKEN = os.environ.get("BOT_TOKEN")
API_ID = int(os.environ.get("API_ID", 12345))
API_HASH = os.environ.get("API_HASH")
STREAMTAPE_API_PASS = os.environ.get("STREAMTAPE_API_PASS", "NoNeed")
STREAMTAPE_API_USERNAME = os.environ.get("STREAMTAPE_API_USERNAME", "NoNeed")
LOG_CHANNEL = int(os.environ.get("LOG_CHANNEL"))
UPDATES_CHANNEL = os.environ.get("UPDATES_CHANNEL", None)
DOWN_PATH = os.environ.get("DOWN_PATH", "./downloads")
PRESET = os.environ.get("PRESET", "ultrafast")
OWNER_ID = int(os.environ.get("OWNER_ID", 1445283714))
CAPTION = "By @AHToolsBot"
BOT_USERNAME = os.environ.get("BOT_USERNAME", "VideoWatermark_Bot")
DATABASE_URL = os.environ.get("DATABASE_URL")
BROADCAST_AS_COPY = bool(os.environ.get("BROADCAST_AS_COPY", False))
ALLOW_UPLOAD_TO_STREAMTAPE = bool(os.environ.get("ALLOW_UPLOAD_TO_STREAMTAPE", False))
USAGE_WATERMARK_ADDER = """
Hi, I am Video Watermark Adder Bot!
**How to Added Watermark to a Video?**
**Usage:** First Send a JPG Image/Logo, then send any Video. Better add watermark to a MP4 or MKV Video.
__Note: I can only process one video at a time. As my server is Heroku, my health is not good. If you have any issues with Adding Watermark to a Video, then please Report at [Support Group](https://t.me/linux_repo).__
Desgined by @AbirHasan2005
"""
PROGRESS = """
Percentage : {0}%
Done ✅: {1}
Total 🌀: {2}
Speed 🚀: {3}/s
ETA 🕰: {4}
"""