2023-08-23 07:46:09 +00:00
|
|
|
|
# https://toml.io/en/v1.0.0
|
|
|
|
|
# REMEMBER: TOML is not like Python. Do not use Python syntax here.
|
|
|
|
|
# Example: Boolean values in TOML must be lowercase.
|
|
|
|
|
# If you don't need some functions, please delete the corresponding keys.
|
|
|
|
|
|
|
|
|
|
[secret]
|
|
|
|
|
db_path = "mysql+pymysql://"
|
|
|
|
|
check_accessKeyId =
|
|
|
|
|
check_accessKeySecret =
|
|
|
|
|
web_render =
|
|
|
|
|
proxy =
|
|
|
|
|
dc_token =
|
|
|
|
|
tg_token =
|
|
|
|
|
matrix_homeserver =
|
|
|
|
|
matrix_user =
|
2023-09-11 03:48:14 +00:00
|
|
|
|
matrix_device_id =
|
2023-09-11 06:41:29 +00:00
|
|
|
|
matrix_device_name =
|
2023-08-23 07:46:09 +00:00
|
|
|
|
matrix_token =
|
2023-09-11 03:34:30 +00:00
|
|
|
|
matrix_megolm_backup_passphrase =
|
2023-08-23 07:46:09 +00:00
|
|
|
|
kook_token =
|
|
|
|
|
openai_api_key =
|
|
|
|
|
curseforge_api_key =
|
|
|
|
|
exchange_rate_api_key =
|
|
|
|
|
wolfram_alpha_appid =
|
|
|
|
|
jwt_secret =
|
2023-09-11 09:46:54 +00:00
|
|
|
|
langsmith_api_key =
|
2023-08-23 07:46:09 +00:00
|
|
|
|
|
|
|
|
|
[cfg]
|
|
|
|
|
base_superuser = "QQ|2596322644"
|
|
|
|
|
debug = false
|
|
|
|
|
cache_path = "./cache/"
|
2023-10-27 17:11:27 +00:00
|
|
|
|
command_prefix = ["~", "~",]
|
|
|
|
|
confirm_command = ["是", "对", "對", "yes", "Yes", "YES", "y", "Y",]
|
|
|
|
|
disabled_bots =
|
2023-12-10 01:57:42 +00:00
|
|
|
|
locale = "zh_cn"
|
2023-12-09 16:01:32 +00:00
|
|
|
|
timezone_offset = "+8"
|
2023-08-23 07:46:09 +00:00
|
|
|
|
bug_report_url = "https://s.wd-ljt.com/botreportbug"
|
|
|
|
|
bug_report_targets =
|
|
|
|
|
donate_url = "https://afdian.net/@teahouse"
|
|
|
|
|
help_url = "https://bot.teahouse.team"
|
|
|
|
|
issue_url = "https://github.com/Teahouse-Studios/bot/issues/new/choose"
|
|
|
|
|
wiki_whitelist_url = "https://s.wd-ljt.com/botwhitelist"
|
2023-12-10 01:57:42 +00:00
|
|
|
|
rickroll_url = "https://wdf.ink/6OUp"
|
2023-08-23 07:46:09 +00:00
|
|
|
|
web_render_local =
|
|
|
|
|
qq_account = 2314163511
|
|
|
|
|
qq_host = "127.0.0.1:11451"
|
|
|
|
|
qq_invite_join_group_notice = true
|
|
|
|
|
qq_disable_temp_session = false
|
|
|
|
|
qq_enable_listening_self_message = false
|
|
|
|
|
allow_request_private_ip = false
|
|
|
|
|
allow_bot_auto_approve_group_invite = false
|
|
|
|
|
slower_schedule = false
|
|
|
|
|
enable_dirty_check = true
|
2023-11-10 13:49:49 +00:00
|
|
|
|
enable_rickroll = true
|
2023-08-23 07:46:09 +00:00
|
|
|
|
enable_urlmanager = true
|
|
|
|
|
enable_tos = false
|
2023-12-10 01:57:42 +00:00
|
|
|
|
tos_waring_counts = 5
|
2023-11-19 07:53:35 +00:00
|
|
|
|
tos_temp_ban_time = 300
|
2023-08-23 07:46:09 +00:00
|
|
|
|
enable_analytics = true
|
|
|
|
|
enable_eval = true
|
2023-10-27 17:11:27 +00:00
|
|
|
|
enable_get_petal = true
|
2023-12-10 01:57:42 +00:00
|
|
|
|
gained_petal_limit = 10
|
|
|
|
|
lost_petal_limit = 5
|
2023-08-23 07:46:09 +00:00
|
|
|
|
coin_limit = 10000
|
2023-09-30 07:09:18 +00:00
|
|
|
|
coin_faceup_rate = 4997
|
|
|
|
|
coin_facedown_rate = 4997
|
2023-08-23 07:46:09 +00:00
|
|
|
|
dice_limit = 100
|
|
|
|
|
dice_roll_limit = 10
|
|
|
|
|
dice_mod_max = 10000
|
|
|
|
|
dice_mod_min = -10000
|
|
|
|
|
dice_output_cnt = 50
|
|
|
|
|
dice_output_len = 200
|
|
|
|
|
dice_detail_cnt = 5
|
|
|
|
|
dice_count_limit = 10
|
|
|
|
|
api_port = 5000
|
2023-11-09 05:12:48 +00:00
|
|
|
|
enable_langsmith = false
|
2023-09-11 09:46:54 +00:00
|
|
|
|
langsmith_endpoint = "https://api.smith.langchain.com"
|
2023-11-09 05:12:48 +00:00
|
|
|
|
langsmith_project =
|