forked from Infamous-Hydra/YaeMiko
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.py
85 lines (59 loc) · 2.56 KB
/
variables.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# https://github.com/Infamous-Hydra/YaeMiko
# https://github.com/Team-ProjectCodeX
class Config(object):
# Configuration class for the bot
# Enable or disable logging
LOGGER = True
# <================================================ REQUIRED ======================================================>
# Telegram API configuration
API_ID = 6433468 # Get this value from my.telegram.org/apps
API_HASH = "7895dfd061f656367ccab30032"
# Database configuration (PostgreSQL)
DATABASE_URL = "postgres://ierjlkr:[email protected]/ierjlkr"
# Event logs chat ID and message dump chat ID
EVENT_LOGS = -1002023182491
MESSAGE_DUMP = -1002023182491
# MongoDB configuration
MONGO_DB_URI = "mongodb+srv://botmaker9675208:[email protected]/?retryWrites=true&w=majority&appName=Cluster0"
# Support chat and support ID
SUPPORT_CHAT = "nothing_bots_support"
SUPPORT_ID = -1002084958808
# Database name
DB_NAME = "cluster0"
# Bot token
TOKEN = "7040644595:AAGeIzCxS1WyZD8omiOzT98zXft5NCXSCSE" # Get bot token from @BotFather on Telegram
# Owner's Telegram user ID (Must be an integer)
OWNER_ID = 6848223695
# <=======================================================================================================>
# <================================================ OPTIONAL ======================================================>
# Optional configuration fields
# List of groups to blacklist
BL_CHATS = []
# User IDs of sudo users, dev users, support users, tiger users, and whitelist users
DRAGONS = [] # Sudo users
DEV_USERS = [] # Dev users
DEMONS = [] # Support users
TIGERS = [] # Tiger users
WOLVES = [] # Whitelist users
# Toggle features
ALLOW_CHATS = True
ALLOW_EXCL = True
DEL_CMDS = True
INFOPIC = True
# Modules to load or exclude
LOAD = []
NO_LOAD = []
# Global ban settings
STRICT_GBAN = True
# Temporary download directory
TEMP_DOWNLOAD_DIRECTORY = "./"
# <=======================================================================================================>
# <=======================================================================================================>
class Production(Config):
# Production configuration (inherits from Config)
# Enable or disable logging
LOGGER = True
class Development(Config):
# Development configuration (inherits from Config)
# Enable or disable logging
LOGGER = True