-
Notifications
You must be signed in to change notification settings - Fork 21
/
config.py.sample
29 lines (28 loc) · 1.73 KB
/
config.py.sample
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
# Developed by: MasterkinG32
# Date: 2024
# Github: https://github.com/masterking32
# Telegram: https://t.me/MasterCryptoFarmBot
config = {
"web_server": {
# Host to listen on. For local, use "127.0.0.1".
# For public access over the internet, use "0.0.0.0" or your public IP address.
# Ensure the port is open in your firewall and router settings.
"host": "127.0.0.1", # Default: 127.0.0.1
# Port to listen on. Choose a port number between 1 and 65535.
# Ensure the chosen port is not already in use by another application.
"port": 3232, # Default: 3232
},
"telegram_api": {
# Telegram API credentials. Obtain your API ID and API Hash from https://my.telegram.org/apps.
"api_id": 1234, # Your unique Telegram API ID
# Your unique Telegram API Hash. Keep this value secure and do not share it publicly.
"api_hash": "", # Your unique Telegram API Hash
},
"auto_update": True, # Automatically update the main bot. If set to True, the bot will restart after an update. Ensure you run the bot with start_linux.sh or start_windows.cmd.
"auto_update_modules": True, # Automatically update bot modules.
"update_check_interval": 3600, # Interval in seconds to check for updates. Default: 3600 seconds (1 hour).
"run_delay": 60, # Delay in seconds before starting the bot modules. Default: 60 second.
"display_module_logs_in_console": False, # If set to True, module logs will be displayed in the mcf console.
"auto_setup_accounts": False, # Automatically set up your Telegram accounts by adding a last name and profile picture. (Adding a username is mandatory)
"max_flood_wait" : 600, # Wait for X second when flood errors raised
}