-
Notifications
You must be signed in to change notification settings - Fork 9
/
config.toml.example
30 lines (25 loc) · 1.34 KB
/
config.toml.example
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
discord_token = "<YOUR_DISCORD_APP_TOKEN>"
#dbl_api_key = "<YOUR_DBL_API_KEY>" # Your discordbots.org API key. After registering a bot, get your key here: https://discordbots.org/api/docs#mybots. (Uncomment the line by removing the leading '#' if you want to use this feature)
command_prefix = "~"
bot_owners = [
123456, # Paste the Discord user IDs of your bot owners here
789123, # (bot owners have full permissions on all commands)
]
# Declares the level of logging to use. Read the documentation for the `log` crate for more information.
log_level_term = "Info"
log_level_file = "Debug"
log_file = "rustacean.log"
# The maximum load per container launch (for 1 core) from 0 to 1 (for multiple core you can go up to the number of cores you have)
cpu_load = "0.80"
# The maximum RAM used by a single container (m for MB and g for GB according to the docker documentation)
ram_load = "250m"
kernel_memory = "20m"
compilation_timeout = 30
execution_timeout = 10
db_connection_pool_size = 8
# If you want to be pinged about the status of the bot, uncomment and fill the following fields.
# webhook example: https://discordapp.com/api/webhooks/{webhook_id}/{webhook_token}
#webhook_id = 123456789
#webhook_token = "AbC123xYz"
#webhook_frequency = 60 # In minutes
#webhook_role = "123456" # Id of the role you want to ping when something went wrong with the bot