2023-07-14 17:02:01 +00:00
|
|
|
|
# https://toml.io/en/v1.0.0
|
2023-07-15 09:35:54 +00:00
|
|
|
|
# REMEMBER: TOML is not like Python. Do not use Python syntax here.
|
2023-07-14 17:02:01 +00:00
|
|
|
|
# Example: Boolean values in TOML must be lowercase.
|
2023-07-17 03:49:41 +00:00
|
|
|
|
# If you don't need some functions, please delete the corresponding keys.
|
2023-07-14 17:02:01 +00:00
|
|
|
|
|
2023-06-29 12:57:46 +00:00
|
|
|
|
[secret]
|
|
|
|
|
db_path = "mysql+pymysql://"
|
2023-07-05 16:23:07 +00:00
|
|
|
|
check_accessKeyId =
|
|
|
|
|
check_accessKeySecret =
|
2023-06-29 12:57:46 +00:00
|
|
|
|
web_render =
|
2023-07-29 13:30:26 +00:00
|
|
|
|
proxy =
|
2023-06-29 12:57:46 +00:00
|
|
|
|
botarcapi_url =
|
|
|
|
|
botarcapi_agent =
|
|
|
|
|
dc_token =
|
|
|
|
|
tg_token =
|
2023-07-30 09:41:01 +00:00
|
|
|
|
matrix_homeserver =
|
|
|
|
|
matrix_user =
|
|
|
|
|
matrix_token =
|
2023-07-07 17:30:31 +00:00
|
|
|
|
kook_token =
|
2023-06-29 12:57:46 +00:00
|
|
|
|
openai_api_key =
|
|
|
|
|
nl2c_model =
|
|
|
|
|
curseforge_api_key =
|
|
|
|
|
exchange_rate_api_key =
|
2023-07-23 08:22:30 +00:00
|
|
|
|
wolfram_alpha_appid =
|
2023-06-29 12:57:46 +00:00
|
|
|
|
|
|
|
|
|
[cfg]
|
|
|
|
|
base_superuser = "QQ|2596322644"
|
2023-07-14 16:57:34 +00:00
|
|
|
|
debug = false
|
2023-06-29 12:57:46 +00:00
|
|
|
|
cache_path = "./cache/"
|
2023-07-04 16:52:00 +00:00
|
|
|
|
command_prefix = ["~", "~"]
|
|
|
|
|
confirm_command = ["是", "对", "對", "yes", "Yes", "YES", "y", "Y"]
|
2023-06-29 12:57:46 +00:00
|
|
|
|
bug_report_url = "https://s.wd-ljt.com/botreportbug"
|
2023-07-23 08:22:30 +00:00
|
|
|
|
bug_report_targets =
|
2023-06-29 12:57:46 +00:00
|
|
|
|
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-07-14 07:59:01 +00:00
|
|
|
|
rickroll_url = "https://wdf.ink/6OUp"
|
2023-07-13 04:26:10 +00:00
|
|
|
|
web_render_local =
|
2023-06-29 12:57:46 +00:00
|
|
|
|
qq_account = 2314163511
|
2023-07-07 17:30:31 +00:00
|
|
|
|
qq_host = "127.0.0.1:11451"
|
2023-07-23 08:22:30 +00:00
|
|
|
|
qq_invite_join_group_notice = true
|
2023-07-14 16:57:34 +00:00
|
|
|
|
qq_disable_temp_session = false
|
|
|
|
|
qq_enable_listening_self_message = false
|
|
|
|
|
allow_request_private_ip = false
|
2023-07-29 16:26:34 +00:00
|
|
|
|
allow_bot_auto_approve_group_invite = false
|
2023-07-29 16:24:35 +00:00
|
|
|
|
qq_join_group_application_link = "https://github.com/Teahouse-Studios/bot/issues/new?assignees=OasisAkari&labels=New&template=add_new_group.yaml&title=%5BNEW%5D%3A+"
|
2023-07-14 16:57:34 +00:00
|
|
|
|
slower_schedule = false
|
|
|
|
|
enable_dirty_check = true
|
|
|
|
|
enable_urlmanager = true
|
|
|
|
|
enable_tos = false
|
|
|
|
|
enable_analytics = true
|
|
|
|
|
enable_eval = true
|
|
|
|
|
enable_rickroll = true
|
2023-06-29 12:57:46 +00:00
|
|
|
|
coin_limit = 10000
|
|
|
|
|
coin_faceup_rate = 4994
|
|
|
|
|
coin_facedown_rate = 4994
|
|
|
|
|
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
|