-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.py.example
More file actions
49 lines (40 loc) · 1.74 KB
/
Copy pathsettings.py.example
File metadata and controls
49 lines (40 loc) · 1.74 KB
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
# As far as we know,
# the settings in this file take effect only after the entire bot is restarted.
# --- Paths and modules(cogs) ---
paths = {
"cogs": "cogs",
"token_file": ".ds_bot_token",
"config_ini": "config.ini"
}
# The configurable path to the Google GenAI token and others has not yet been implemented.
# --- Channels and Guilds IDs settings ---
channels = {
"bot_news": 123,
"terminal_channel": 123, # A channel where users can use the bot's commands. We plan to remove this setting.
"statistic": [123, 123], # The channel(s) where the bot can post and edit its own messages.
"add_logs": 123 # For the error handler (CoolDown and others)
}
# For "statistic" channels: Ideally, there should be no other messages in the channel besides those from the bot
guilds = [123, 456]
main_guild_id = 123
# --- Modules and embeds ---
enable_battery_embed = 0
enable_currency_embed = 1
enable_hosting_embed = 1
enable_uptime_embed = 1
enable_active_cogs_embed = 1
# <integer_server_id>: ["embed_name1", "embed_name2", ...].
# You can retrieve `embed_name` from `core.cache.embeds_to_send`
embeds_blacklist = {
123: ["battery"],
456: ["battery", "currency"]
}
# --- Battery settings (You can skip this if you don't have a battery (Android hosting with Termux)) ---
is_battery = 0 # Whether the device has a battery
min_safe_percent_charge = 35
max_safe_percent_charge = 70
battery_update_seconds = 180 # (Seconds) The number of seconds between each update of the battery status (charge, current, etc.)
# --- Other ---
is_processor_info = 1
owner_id = 123 # Under question of necessity, since the bot itself knows its owner's ID through bot.something
safe_seconds_before_start = 60 # (Seconds) Minimum time between bot launch notifications