Karma
commited on
Commit
·
7a6546b
1
Parent(s):
06d0e33
Delete variables.py
Browse files- variables.py +0 -85
variables.py
DELETED
@@ -1,85 +0,0 @@
|
|
1 |
-
# https://github.com/Infamous-Hydra/YaeMiko
|
2 |
-
# https://github.com/Team-ProjectCodeX
|
3 |
-
|
4 |
-
|
5 |
-
class Config(object):
|
6 |
-
# Configuration class for the bot
|
7 |
-
|
8 |
-
# Enable or disable logging
|
9 |
-
LOGGER = True
|
10 |
-
|
11 |
-
# <================================================ REQUIRED ======================================================>
|
12 |
-
# Telegram API configuration
|
13 |
-
API_ID = 6433468 # Get this value from my.telegram.org/apps
|
14 |
-
API_HASH = "7895dfd061f656367ccab30032"
|
15 |
-
|
16 |
-
# Database configuration (PostgreSQL)
|
17 |
-
DATABASE_URL = "postgres://ierjlkr:[email protected]/ierjlkr"
|
18 |
-
|
19 |
-
# Event logs chat ID and message dump chat ID
|
20 |
-
EVENT_LOGS = -1001629811868
|
21 |
-
MESSAGE_DUMP = -1001629811868
|
22 |
-
|
23 |
-
# MongoDB configuration
|
24 |
-
MONGO_DB_URI = "mongodb+srv://t45:[email protected]/?retryWrites=true&w=majority"
|
25 |
-
|
26 |
-
# Support chat and support ID
|
27 |
-
SUPPORT_CHAT = "ProjectCodeXSupport"
|
28 |
-
SUPPORT_ID = -1001629811868
|
29 |
-
|
30 |
-
# Database name
|
31 |
-
DB_NAME = "MikoDB"
|
32 |
-
|
33 |
-
# Bot token
|
34 |
-
TOKEN = "2323839365:AAFgfdadqawlfdsM7slOa33eM_ghop" # Get bot token from @BotFather on Telegram
|
35 |
-
|
36 |
-
# Owner's Telegram user ID (Must be an integer)
|
37 |
-
OWNER_ID = 5907205317
|
38 |
-
# <=======================================================================================================>
|
39 |
-
|
40 |
-
# <================================================ OPTIONAL ======================================================>
|
41 |
-
# Optional configuration fields
|
42 |
-
|
43 |
-
# List of groups to blacklist
|
44 |
-
BL_CHATS = []
|
45 |
-
|
46 |
-
# User IDs of sudo users, dev users, support users, tiger users, and whitelist users
|
47 |
-
DRAGONS = [] # Sudo users
|
48 |
-
DEV_USERS = [] # Dev users
|
49 |
-
DEMONS = [] # Support users
|
50 |
-
TIGERS = [] # Tiger users
|
51 |
-
WOLVES = [] # Whitelist users
|
52 |
-
|
53 |
-
# Toggle features
|
54 |
-
ALLOW_CHATS = True
|
55 |
-
ALLOW_EXCL = True
|
56 |
-
DEL_CMDS = True
|
57 |
-
INFOPIC = True
|
58 |
-
|
59 |
-
# Modules to load or exclude
|
60 |
-
LOAD = []
|
61 |
-
NO_LOAD = []
|
62 |
-
|
63 |
-
# Global ban settings
|
64 |
-
STRICT_GBAN = True
|
65 |
-
|
66 |
-
# Temporary download directory
|
67 |
-
TEMP_DOWNLOAD_DIRECTORY = "./"
|
68 |
-
# <=======================================================================================================>
|
69 |
-
|
70 |
-
|
71 |
-
# <=======================================================================================================>
|
72 |
-
|
73 |
-
|
74 |
-
class Production(Config):
|
75 |
-
# Production configuration (inherits from Config)
|
76 |
-
|
77 |
-
# Enable or disable logging
|
78 |
-
LOGGER = True
|
79 |
-
|
80 |
-
|
81 |
-
class Development(Config):
|
82 |
-
# Development configuration (inherits from Config)
|
83 |
-
|
84 |
-
# Enable or disable logging
|
85 |
-
LOGGER = True
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|