forked from Itz-fork/Mega.nz-Bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
68 lines (53 loc) · 1.71 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Copyright (c) 2021 Itz-fork
import os
if os.environ.get("LOGS_CHANNEL"):
log_channel = int(os.environ.get("LOGS_CHANNEL"))
else:
log_channel = None
class Config(object):
APP_ID = int(os.environ.get("APP_ID", 1234567))
API_HASH = os.environ.get("API_HASH", "")
BOT_TOKEN = os.environ.get("BOT_TOKEN", "")
AUTH_USERS = set(int(x) for x in os.environ.get("AUTH_USERS", "").split())
DOWNLOAD_LOCATION = "./NexaBots"
IS_PUBLIC_BOT = os.environ.get("IS_PUBLIC_BOT", "False")
LOGS_CHANNEL = log_channel
TG_MAX_SIZE = 2040108421
# Mega User Account
MEGA_EMAIL = os.environ.get("MEGA_EMAIL", "")
MEGA_PASSWORD = os.environ.get("MEGA_PASSWORD", "")
# Text Prints
B_START_TEXT = """
__ ___ ___ __
/ |/ /__ ___ ____ _ ___ ___ ____ / _ )___ / /_
/ /|_/ / -_) _ `/ _ `/ _ / _ \/_ / /___/ / _ / _ \/ __/
/_/ /_/\__/\_, /\_,_/ (_) /_//_//__/ /____/\___/\__/
/___/
Process: {}
"""
PROCESS_TEXT = """
Process: {}
"""
LOGGED_AS_USER = """
Successfully Logged Into Mega.nz User Account
"""
LOGIN_ERROR_TEXT = """
Can't Get Mega Email and Password Login as an Anonymouse User
"""
ERROR_TEXT = """
_____
| ____|_ __ _ __ ___ _ __
| _| | '__| '__/ _ \| '__|
| |___| | | | | (_) | |
|_____|_| |_| \___/|_|
Log: {}
Save the Log file and Send it to @Nexa_bots for Help :)
"""
START_TEXT="""
_ __ ____ __
/ | / /__ _ ______ _ / __ )____ / /______
/ |/ / _ \| |/_/ __ `/ / __ / __ \/ __/ ___/
/ /| / __/> </ /_/ / / /_/ / /_/ / /_(__ )
/_/ |_/\___/_/|_|\__,_/ /_____/\____/\__/____/
Bot is Running Now! Join @NexaBotsUpdates
"""