• 欢迎来到小可 · Wiki,人人可编辑的,多平台聊天机器人“小可”的官方文档资源。
  • 小可很可爱,请给我们打钱
  • 原 MkDocs 已迁入本站。若发现 404 属正常现象,请点击左上角搜索您想要的模块。

配置文件

来自小可 · Wiki,人人可编辑的,QQ机器人“小可”的官方文档资源
Dorowolf讨论 | 贡献2023年6月29日 (四) 07:26的版本 (创建页面,内容为“本文将说明配置文件(<code>config.cfg</code>)中各参数的用途。 刚开始使用的机器人拥有以下默认配置: <syntaxhighlight lang="properties"> [secret] db_path = mysql+pymysql:// Check_accessKeyId = Check_accessKeySecret = web_render = netease_cloud_music_api_url = botarcapi_url = botarcapi_agent = dc_token = tg_token = openai_api_key = nl2c_model = curseforge_api_key = exchange_rate_api_key = [cfg] base_superuser = QQ|2596322644…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

本文将说明配置文件(config.cfg)中各参数的用途。

刚开始使用的机器人拥有以下默认配置:

[secret]
db_path = mysql+pymysql://
Check_accessKeyId =
Check_accessKeySecret =
web_render =
netease_cloud_music_api_url =
botarcapi_url =
botarcapi_agent =
dc_token =
tg_token =
openai_api_key =
nl2c_model =
curseforge_api_key =
exchange_rate_api_key =

[cfg]
base_superuser = QQ|2596322644
debug = False
cache_path = ./cache/
extra_services = False
db_cache = False
bug_report_url = https://s.wd-ljt.com/botreportbug
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
qq_msg_logging_to_db = True
qq_host = 127.0.0.1:11451
qq_account = 2314163511
qq_enable_dirty_check = True
qq_enable_urlmanager = True
qq_disable_temp_session = False
web_render_local =
slower_schedule = False
enable_tos = False
enable_analytics = True
allow_request_private_ip = False
enable_eval = True
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
qq_enable_listening_self_message = False
Cookie帮助我们提供我们的服务。通过使用我们的服务,您同意我们使用cookie。