Skip to content

Commit

Permalink
Merge pull request #1455 from Teahouse-Studios/dev/test
Browse files Browse the repository at this point in the history
Dev/test
  • Loading branch information
OasisAkari authored Nov 27, 2024
2 parents 839a43c + c12579c commit a732058
Show file tree
Hide file tree
Showing 45 changed files with 562 additions and 610 deletions.
12 changes: 6 additions & 6 deletions assets/config_store/en_us/bot_aiocqhttp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
[bot_aiocqhttp]
# The basic config section of the platform. The value ​​filled in here can be displayed in the message. Please do not fill in sensitive information in this section.
qq_account = 2314163511 # Bot QQ number. (Required when using the Onebot Protocol side to deploy the QQ bot)
qq_enable_listening_self_message = false # Whether to enable self-message monitoring when using the Onebot protocol.
qq_disable_temp_session = true # Whether to enable temp sessions when using the Onebot Protocol.
qq_allow_approve_friend = false # Whether to automatically approve friend requests when using the Onebot protocol.
qq_allow_approve_group_invite = false # Whether to automatically accept group invitations when using the Onebot protocol.
enable = false # Whether to enable this platform.
qq_frame_type = "mirai" # The framework type of the Onebot protocol that Aiocqhttp connects to.
qq_enable_listening_self_message = false
qq_disable_temp_session = true
qq_allow_approve_friend = false
qq_allow_approve_group_invite = false
enable = false
qq_frame_type = "mirai"

[bot_aiocqhttp_secret]
# The secret config section of the platform. The bot will try to intercept if the value here accidentally appears in the message sent, but be careful to prevent leakage.
Expand Down
1 change: 1 addition & 0 deletions assets/config_store/en_us/bot_api.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ jwt_secret = "<Replace me with str value>" # The authentication key for the buil
[bot_api]
# The basic config section of the platform. The value ​​filled in here can be displayed in the message. Please do not fill in sensitive information in this section.
enable = true # Whether to enable this platform.
api_port = 5000
10 changes: 5 additions & 5 deletions assets/config_store/en_us/bot_matrix.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
[bot_matrix]
# The basic config section of the platform. The value ​​filled in here can be displayed in the message. Please do not fill in sensitive information in this section.
enable = false # Whether to enable this platform.
matrix_homeserver = "https://matrix.org" # Matrix bot homeserver.
matrix_user = "@akaribot:matrix.org" # Matrix bot fully restricted user ID.
matrix_device_name = "<Replace me with str value>" # Matrix bot device name, it can be filled in at will.
matrix_homeserver = "https://matrix.org"
matrix_user = "@akaribot:matrix.org"
matrix_device_name = "<Replace me with str value>"

[bot_matrix_secret]
# The secret config section of the platform. The bot will try to intercept if the value here accidentally appears in the message sent, but be careful to prevent leakage.
matrix_device_id = "<Replace me with str value>" # Matrix bot device ID.
matrix_token = "<Replace me with str value>" # Matrix bot token.
matrix_megolm_backup_passphrase = "<Replace me with str value>" # Matrix bot's Megolm backup passphrase.
matrix_token = "<Replace me with str value>"
matrix_megolm_backup_passphrase = "<Replace me with str value>"
6 changes: 3 additions & 3 deletions assets/config_store/en_us/bot_ntqq.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
[bot_ntqq]
# The basic config section of the platform. The value ​​filled in here can be displayed in the message. Please do not fill in sensitive information in this section.
qq_bot_appid = "<Replace me with (int, str) value>" # The QQ official robot AppID.
enable = false # Whether to enable this platform.
qq_private_bot = false # Whether it is a private robot when using the QQ official robot.
qq_bot_enable_send_url = false # Whether to enable sending URLs when using QQ official robot.
enable = false
qq_private_bot = false
qq_bot_enable_send_url = false

[bot_ntqq_secret]
# The secret config section of the platform. The bot will try to intercept if the value here accidentally appears in the message sent, but be careful to prevent leakage.
Expand Down
5 changes: 4 additions & 1 deletion assets/config_store/en_us/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ ignored_sender = ["QQ|2854196310"] # Ignore user list. Users matching this list
issue_url = "https://github.com/Teahouse-Studios/bot/issues/new/choose" # Issue feedback URL.
enable_analytics = false # Whether to enable built-in statistics features.
qq_typing_emoji = 181 # When using QQ related protocol terminals, the response emoji ID attached to the message when processing the message. It needs to be supported by the protocol terminal. For details of emoji ID, see: https://bot.q.qq.com/wiki/develop/api/openapi/emoji/model.html#Emoji
api_port = 5000 # The port number of the API service.
enable_petal = false # Whether to enable the petal feature.
enable_rickroll = true # Whether rickroll the user when text filter detection fails.
rickroll_msg = "<Replace me with str value>" # Rickroll message when text filter check fails.
Expand All @@ -39,6 +38,7 @@ gained_petal_limit = 0 # The maximum number of petals users can get per day.
lost_petal_limit = 0 # The maximum number of petals users can lose per day.
use_secrets_random = false # Whether to use the random number generator based on the secrets library.
web_render_local = "<Replace me with str value>" # The local WebRender service address.
openai_api_key = "<Replace me with str value>" # OpenAI API Key. (For ask modules etc.)
enable_langsmith = "<Replace me>"
langsmith_endpoint = "<Replace me>"
langsmith_project = "<Replace me>"
Expand All @@ -61,7 +61,9 @@ dice_roll_limit = 10 # The maximum number of dice rolled per command of dice mod
dice_detail_count = 5 # The total number of dice rolled n times of dice module, it will no longer show details when this value is exceeded.
dice_count_limit = 10 # The maximum number of items in dice expressions of dice module.
ncmusic_enable_card = false # Whether enables card messages of ncmusic module. (Only valid on QQ platform)
osu_api_key = "<Replace me with str value>" # osu! API Key (for osu module)
wiki_whitelist_url = "<Replace me with str value>" # Wiki whitelist application URL.
qq_account = 2314163511 # Bot QQ number. (Required when using the Onebot Protocol side to deploy the QQ bot)
wordle_disable_image = false # Whether to disable images of wordle module.
slower_schedule = false # Whether to enable a slower scheduled task scheduler. (To reduce request pressure)

Expand All @@ -77,6 +79,7 @@ web_render = "<Replace me with str value>" # WebRender service URL.
openai_api_key = "<Replace me with str value>" # OpenAI API Key. (For ask modules etc.)
exchange_rate_api_key = "<Replace me with str value>" # API Key for ExchangeRate-API. (For exchange_rate module and exchange rate calculation)
wolfram_alpha_appid = "<Replace me with str value>" # WolframAlpha AppID. (For wolframalpha module)
jwt_secret = "<Replace me with str value>" # The authentication key for the built-in API, it can be filled in at will.
diving_fish_developer_token = "<Replace me with str value>" # Developer token for Diving Fish prober. (For maimai module)
curseforge_api_key = "<Replace me with str value>" # CurseForge API key. (For mod_dl module)
ncmusic_api = "<Replace me with str value>" # API address of NetEase Cloud Music API. (For ncmusic module)
Expand Down
12 changes: 6 additions & 6 deletions assets/config_store/zh_cn/bot_aiocqhttp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
[bot_aiocqhttp]
# 平台端的配置部分,此处填写的值可在消息中以明文形式展示。请不要在此部分填写敏感信息。
qq_account = 2314163511 # 机器人 QQ 号。(使用 Onebot 协议端部署 QQ 机器人时需要)
qq_enable_listening_self_message = false # 使用 Onebot 协议时,是否启用自身消息监听。
qq_disable_temp_session = true # 使用 Onebot 协议时,是否启用临时会话。
qq_allow_approve_friend = false # 使用 Onebot 协议时,是否自动同意好友请求。
qq_allow_approve_group_invite = false # 使用 Onebot 协议时,是否自动同意群邀请。
enable = false # 是否启用此平台。
qq_frame_type = "mirai" # Aiocqhttp 对接的 Onebot 协议的框架类型。
qq_enable_listening_self_message = false
qq_disable_temp_session = true
qq_allow_approve_friend = false
qq_allow_approve_group_invite = false
enable = false
qq_frame_type = "mirai"

[bot_aiocqhttp_secret]
# 平台端的密钥配置部分,此处的值若意外出现在发送的消息中,机器人会尝试拦截。但请务必提防泄露。
Expand Down
1 change: 1 addition & 0 deletions assets/config_store/zh_cn/bot_api.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ jwt_secret = "<Replace me with str value>" # 内置 API 的认证密钥,随意
[bot_api]
# 平台端的配置部分,此处填写的值可在消息中以明文形式展示。请不要在此部分填写敏感信息。
enable = true # 是否启用此平台。
api_port = 5000
10 changes: 5 additions & 5 deletions assets/config_store/zh_cn/bot_matrix.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
[bot_matrix]
# 平台端的配置部分,此处填写的值可在消息中以明文形式展示。请不要在此部分填写敏感信息。
enable = false # 是否启用此平台。
matrix_homeserver = "https://matrix.org" # Matrix 机器人的家服务器。
matrix_user = "@akaribot:matrix.org" # Matrix 机器人的完全限定用户 ID。
matrix_device_name = "<Replace me with str value>" # Matrix 机器人的设备名称,可随意填写。
matrix_homeserver = "https://matrix.org"
matrix_user = "@akaribot:matrix.org"
matrix_device_name = "<Replace me with str value>"

[bot_matrix_secret]
# 平台端的密钥配置部分,此处的值若意外出现在发送的消息中,机器人会尝试拦截。但请务必提防泄露。
matrix_device_id = "<Replace me with str value>" # Matrix 机器人设备 ID。
matrix_token = "<Replace me with str value>" # Matrix 机器人令牌。
matrix_megolm_backup_passphrase = "<Replace me with str value>" # Matrix 机器人的 Megolm 备份密码短语。
matrix_token = "<Replace me with str value>"
matrix_megolm_backup_passphrase = "<Replace me with str value>"
6 changes: 3 additions & 3 deletions assets/config_store/zh_cn/bot_ntqq.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
[bot_ntqq]
# 平台端的配置部分,此处填写的值可在消息中以明文形式展示。请不要在此部分填写敏感信息。
qq_bot_appid = "<Replace me with (int, str) value>" # QQ 机器人(官方)的 AppID。
enable = false # 是否启用此平台。
qq_private_bot = false # 使用 QQ 机器人(官方)时,是否为私域机器人。
qq_bot_enable_send_url = false # 使用 QQ 机器人(官方)时,是否启用发送 URL。
enable = false
qq_private_bot = false
qq_bot_enable_send_url = false

[bot_ntqq_secret]
# 平台端的密钥配置部分,此处的值若意外出现在发送的消息中,机器人会尝试拦截。但请务必提防泄露。
Expand Down
5 changes: 4 additions & 1 deletion assets/config_store/zh_cn/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ ignored_sender = ["QQ|2854196310"] # 无视的用户列表,匹配到此列表
issue_url = "https://github.com/Teahouse-Studios/bot/issues/new/choose" # 问题反馈网址。
enable_analytics = false # 是否启用内置的统计功能。
qq_typing_emoji = 181 # 使用 QQ 相关协议端时,正在处理消息时向消息挂上的回应表情 ID,需协议端支持。ID 详见:https://bot.q.qq.com/wiki/develop/api/openapi/emoji/model.html#Emoji
api_port = 5000 # API 服务的端口号。
enable_petal = false # 是否启用花瓣功能。
enable_rickroll = true # 当文字过滤检测失败时,是否 Rickroll 用户。
rickroll_msg = "<Replace me with str value>" # 文字过滤检测失败时的 Rickroll 消息。
Expand All @@ -39,6 +38,7 @@ gained_petal_limit = 0 # 单日获取花瓣上限。
lost_petal_limit = 0 # 单日失去花瓣上限。
use_secrets_random = false # 是否使用基于 secrets 库的随机数生成器。
web_render_local = "<Replace me with str value>" # 本地 WebRender 服务地址。
openai_api_key = "<Replace me with str value>" # OpenAI 的 API Key。(用于 ask 等模块)
enable_langsmith = "<Replace me>"
langsmith_endpoint = "<Replace me>"
langsmith_project = "<Replace me>"
Expand All @@ -61,7 +61,9 @@ dice_roll_limit = 10 # dice 模块一次命令投掷次数上限。
dice_detail_count = 5 # dice 模块 n 次投掷的骰子的总量超过该值时将不再显示详细信息。
dice_count_limit = 10 # dice 模块骰子表达式项数上限。
ncmusic_enable_card = false # ncmusic 模块是否启用卡片消息。(仅在 QQ 平台有效)
osu_api_key = "<Replace me with str value>" # osu! 的 API Key。(用于 osu 模块)
wiki_whitelist_url = "<Replace me with str value>" # Wiki 白名单申请网址。
qq_account = 2314163511 # 机器人 QQ 号。(使用 Onebot 协议端部署 QQ 机器人时需要)
wordle_disable_image = false # wordle 模块是否禁用图片。
slower_schedule = false # 是否启用更慢的计划任务调度器。(减少请求压力用)

Expand All @@ -77,6 +79,7 @@ web_render = "<Replace me with str value>" # WebRender 服务的 URL 地址。
openai_api_key = "<Replace me with str value>" # OpenAI 的 API Key。(用于 ask 等模块)
exchange_rate_api_key = "<Replace me with str value>" # ExchangeRate-API 的 API Key。(用于 exchange_rate 模块与计算汇率用)
wolfram_alpha_appid = "<Replace me with str value>" # WolframAlpha 的 AppID。(用于 wolframalpha 模块)
jwt_secret = "<Replace me with str value>" # 内置 API 的认证密钥,随意填写即可。
diving_fish_developer_token = "<Replace me with str value>" # Diving Fish 查分器的开发者令牌。(用于 maimai 模块)
curseforge_api_key = "<Replace me with str value>" # CurseForge 的 API Key。(用于 mod_dl 模块)
ncmusic_api = "<Replace me with str value>" # 网易云音乐 API 的 API 地址。(用于 ncmusic 模块)
Expand Down
12 changes: 6 additions & 6 deletions assets/config_store/zh_tw/bot_aiocqhttp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
[bot_aiocqhttp]
# 平台端的設定部分,此處填寫的值可在訊息中以明文顯示。請不要在此部分填寫敏感資訊。
qq_account = 2314163511 # 機器人 QQ 號。(使用 Onebot 協定端部署 QQ 機器人時需要)
qq_enable_listening_self_message = false # 使用 Onebot 協定時,是否啟用自身訊息監聽。
qq_disable_temp_session = true # 使用 Onebot 協定時,是否啟用臨時會話。
qq_allow_approve_friend = false # 使用 Onebot 協定時,是否自動同意好友請求。
qq_allow_approve_group_invite = false # 使用 Onebot 協定時,是否自動同意群組邀請。
enable = false # 是否啟用此平台。
qq_frame_type = "mirai" # Aiocqhttp 對接的 Onebot 協定的框架類型。
qq_enable_listening_self_message = false
qq_disable_temp_session = true
qq_allow_approve_friend = false
qq_allow_approve_group_invite = false
enable = false
qq_frame_type = "mirai"

[bot_aiocqhttp_secret]
# 平台端的金鑰設定部分,此處的值若意外出現在傳送的訊息中,機器人會嘗試攔截。但請務必提防洩漏。
Expand Down
1 change: 1 addition & 0 deletions assets/config_store/zh_tw/bot_api.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ jwt_secret = "<Replace me with str value>" # 內建 API 的認證金鑰,隨意
[bot_api]
# 平台端的設定部分,此處填寫的值可在訊息中以明文顯示。請不要在此部分填寫敏感資訊。
enable = true # 是否啟用此平台。
api_port = 5000
10 changes: 5 additions & 5 deletions assets/config_store/zh_tw/bot_matrix.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
[bot_matrix]
# 平台端的設定部分,此處填寫的值可在訊息中以明文顯示。請不要在此部分填寫敏感資訊。
enable = false # 是否啟用此平台。
matrix_homeserver = "https://matrix.org" # Matrix 機器人的家伺服器。
matrix_user = "@akaribot:matrix.org" # Matrix 機器人的完全限定使用者 ID。
matrix_device_name = "<Replace me with str value>" # Matrix 機器人的裝置名稱,可隨意填寫。
matrix_homeserver = "https://matrix.org"
matrix_user = "@akaribot:matrix.org"
matrix_device_name = "<Replace me with str value>"

[bot_matrix_secret]
# 平台端的金鑰設定部分,此處的值若意外出現在傳送的訊息中,機器人會嘗試攔截。但請務必提防洩漏。
matrix_device_id = "<Replace me with str value>" # Matrix 機器人裝置 ID。
matrix_token = "<Replace me with str value>" # Matrix 機器人令牌。
matrix_megolm_backup_passphrase = "<Replace me with str value>" # Matrix 機器人的 Megolm 備份密碼片語。
matrix_token = "<Replace me with str value>"
matrix_megolm_backup_passphrase = "<Replace me with str value>"
6 changes: 3 additions & 3 deletions assets/config_store/zh_tw/bot_ntqq.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
[bot_ntqq]
# 平台端的設定部分,此處填寫的值可在訊息中以明文顯示。請不要在此部分填寫敏感資訊。
qq_bot_appid = "<Replace me with (int, str) value>" # QQ 機器人(官方)的 AppID。
enable = false # 是否啟用此平台。
qq_private_bot = false # 使用 QQ 機器人(官方)時,是否為私域機器人。
qq_bot_enable_send_url = false # 使用 QQ 機器人(官方)時,是否啟用傳送 URL。
enable = false
qq_private_bot = false
qq_bot_enable_send_url = false

[bot_ntqq_secret]
# 平台端的金鑰設定部分,此處的值若意外出現在傳送的訊息中,機器人會嘗試攔截。但請務必提防洩漏。
Expand Down
5 changes: 4 additions & 1 deletion assets/config_store/zh_tw/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ ignored_sender = ["QQ|2854196310"] # 無視的使用者列表,匹配到此列
issue_url = "https://github.com/Teahouse-Studios/bot/issues/new/choose" # 問題報告網址。
enable_analytics = false # 是否啟用內建的統計功能。
qq_typing_emoji = 181 # 使用 QQ 相關協定端時,正在處理訊息時向訊息掛上的回應表情 ID,需協定端支援。 ID 詳見:https://bot.q.qq.com/wiki/develop/api/openapi/emoji/model.html#Emoji
api_port = 5000 # API 服務的連接埠號。
enable_petal = false # 是否啟用花瓣功能。
enable_rickroll = true # 當文字過濾偵測失敗時,是否 Rickroll 使用者。
rickroll_msg = "<Replace me with str value>" # 文字過濾偵測失敗時的 Rickroll 訊息。
Expand All @@ -39,6 +38,7 @@ gained_petal_limit = 0 # 單日取得花瓣上限。
lost_petal_limit = 0 # 單日失去花瓣上限。
use_secrets_random = false # 是否使用基於 secrets 庫的隨機數產生器。
web_render_local = "<Replace me with str value>" # 本地 WebRender 位址。
openai_api_key = "<Replace me with str value>" # OpenAI 的 API Key。(用於 ask 等模組)
enable_langsmith = "<Replace me>"
langsmith_endpoint = "<Replace me>"
langsmith_project = "<Replace me>"
Expand All @@ -61,7 +61,9 @@ dice_roll_limit = 10 # dice 模組一次指令投擲次數上限。
dice_detail_count = 5 # dice 模組 n 次投擲的骰子的總量超過該值時將不再顯示詳細資訊。
dice_count_limit = 10 # dice 模組骰子表示式項數上限。
ncmusic_enable_card = false # ncmusic 模組是否啟用卡片訊息。(僅在 QQ 平台有效)
osu_api_key = "<Replace me with str value>" # osu! 的 API Key。(用於 osu 模組)
wiki_whitelist_url = "<Replace me with str value>" # Wiki 白名單申請網址。
qq_account = 2314163511 # 機器人 QQ 號。(使用 Onebot 協定端部署 QQ 機器人時需要)
wordle_disable_image = false # wordle 模組是否停用圖片。
slower_schedule = false # 是否啟用更慢的排程任務調度器。(減少請求壓力用)

Expand All @@ -77,6 +79,7 @@ web_render = "<Replace me with str value>" # WebRender 服務的 URL 位址。
openai_api_key = "<Replace me with str value>" # OpenAI 的 API Key。(用於 ask 等模組)
exchange_rate_api_key = "<Replace me with str value>" # ExchangeRate-API 的 API Key。(用於 exchange_rate 模組與計算匯率用)
wolfram_alpha_appid = "<Replace me with str value>" # WolframAlpha 的 AppID。(用於 wolframalpha 模組)
jwt_secret = "<Replace me with str value>" # 內建 API 的認證金鑰,隨意填寫即可。
diving_fish_developer_token = "<Replace me with str value>" # Diving Fish 查分器的開發者令牌。(用於 maimai 模組)
curseforge_api_key = "<Replace me with str value>" # CurseForge 的 API Key。(用於 mod_dl 模組)
ncmusic_api = "<Replace me with str value>" # 網易雲音樂 API 的 API 位址。(用於 ncmusic 模組)
Expand Down
Binary file modified assets/config_store_packed/en_us.zip
Binary file not shown.
Binary file modified assets/config_store_packed/zh_cn.zip
Binary file not shown.
Binary file modified assets/config_store_packed/zh_tw.zip
Binary file not shown.
Loading

0 comments on commit a732058

Please sign in to comment.