Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
DoroWolf committed Nov 24, 2024
1 parent 0c648ea commit a74276d
Show file tree
Hide file tree
Showing 106 changed files with 507 additions and 508 deletions.
2 changes: 1 addition & 1 deletion assets/config_store/en_us/bot_aiocqhttp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[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 = 1234567 # Bot QQ number. (Required when using the Onebot Protocol side to deploy the QQ bot)
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.
Expand Down
6 changes: 3 additions & 3 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 = "<Replace me with str value>" # Matrix bot homeserver.
matrix_user = "<Replace me with str value>" # Matrix bot fully restricted user ID.
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.

[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_device_name = "<Replace me with str value>" # Matrix bot device name.
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.
8 changes: 4 additions & 4 deletions assets/config_store/en_us/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ enable_urlmanager = false # Whether to enable URLManager for URL springboard. (D
ignored_sender = ["QQ|2854196310"] # Ignore user list. Users matching this list will be ignored.
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
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.
enable_joke = true # Whether to enable the joke. It will occur at April 1st server time when enabled.
shuffle_rate = 0.1 # The random occurrence rate of jokes.
unloaded_modules = []
unloaded_modules = [] # Unloaded modules list. Modules matching this list will not be loaded.
debug = false # Whether to enable debug mode, more log information will be output when enabled.
report_targets = [] # Reporting session list, the value filled in here will be identified as the reporting session. (For example: when the bot executes a command error, the bot will send the error information to the corresponding session)
tos_warning_counts = 5 # Maximum number of warnings for ToS violations.
Expand All @@ -32,7 +32,7 @@ confirm_command = ["是", "对", "對", "yes", "Yes", "YES", "y", "Y"] # The key
command_prefix = ["~", ""] # Command prefix. The value filled in here will be recognized as the command prefix.
enable_tos = true # Whether to enable built-in ToS checking rules.
tos_temp_ban_time = 300 # Temporary ban duration for ToS violations.
qq_limited_emoji = "10060" # When using QQ related protocol terminals, the response emoji ID attached to the message when the message processing fails. 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
qq_limited_emoji = 10060 # When using QQ related protocol terminals, the response emoji ID attached to the message when the message processing fails. 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
allow_request_private_ip = false # Whether to allow bot to request local private IP addresses. (Prevent possible leakage)
enable_get_petal = false # Whether to allow get petals.
gained_petal_limit = 0 # The maximum number of petals users can get per day.
Expand Down Expand Up @@ -75,7 +75,7 @@ ff3_key = "25FDA29B045EE0034966792BAD5AF1C0" # The key used to encrypt sensitive
ff3_tweak = "1E915EC4922E78" # The key tweak used to encrypt sensitive information.
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 = "" # API Key for ExchangeRate-API. (For exchange_rate module and exchange rate calculation)
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)
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)
Expand Down
2 changes: 1 addition & 1 deletion assets/config_store/zh_cn/bot_aiocqhttp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[bot_aiocqhttp]
# 平台端的配置部分,此处填写的值可在消息中以明文形式展示。请不要在此部分填写敏感信息。
qq_account = 1234567 # 机器人 QQ 号。(使用 Onebot 协议端部署 QQ 机器人时需要)
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 协议时,是否自动同意好友请求。
Expand Down
6 changes: 3 additions & 3 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 = "<Replace me with str value>" # Matrix 机器人的家服务器。
matrix_user = "<Replace me with str value>" # Matrix 机器人的完全限定用户 ID。
matrix_homeserver = "https://matrix.org" # Matrix 机器人的家服务器。
matrix_user = "@akaribot:matrix.org" # Matrix 机器人的完全限定用户 ID。
matrix_device_name = "<Replace me with str value>" # Matrix 机器人的设备名称,可随意填写。

[bot_matrix_secret]
# 平台端的密钥配置部分,此处的值若意外出现在发送的消息中,机器人会尝试拦截。但请务必提防泄露。
matrix_device_id = "<Replace me with str value>" # Matrix 机器人设备 ID。
matrix_device_name = "<Replace me with str value>" # Matrix 机器人的设备名称。
matrix_token = "<Replace me with str value>" # Matrix 机器人令牌。
matrix_megolm_backup_passphrase = "<Replace me with str value>" # Matrix 机器人的 Megolm 备份密码短语。
8 changes: 4 additions & 4 deletions assets/config_store/zh_cn/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ enable_urlmanager = false # 是否启用 URLManager,用于 URL 跳板用。(
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
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 消息。
enable_joke = true # 是否启用玩笑,启用后将在服务器时间 4 月 1 日时发生。
shuffle_rate = 0.1 # 玩笑的随机发生率。
unloaded_modules = []
unloaded_modules = [] # 不加载的模块列表,匹配到此列表中的模块将不会被加载。
debug = false # 是否启用调试模式,启用后会输出更多的日志信息。
report_targets = [] # 上报会话列表,此处填写的值将会被识别为上报会话。(如:在机器人执行命令出错时,机器人将会把错误信息发送至对应会话)
tos_warning_counts = 5 # 违反 ToS 时的警告次数。
Expand All @@ -32,7 +32,7 @@ confirm_command = ["是", "对", "對", "yes", "Yes", "YES", "y", "Y"] # 确认
command_prefix = ["~", ""] # 命令前缀,此处填写的值将会被识别为命令前缀。
enable_tos = true # 是否启用内置的 ToS 检查规则。
tos_temp_ban_time = 300 # 违反 ToS 时的临时封禁时间。
qq_limited_emoji = "10060" # 使用 QQ 相关协议端时,消息处理失败时向消息挂上的回应表情 ID,需协议端支持。ID 详见:https://bot.q.qq.com/wiki/develop/api/openapi/emoji/model.html#Emoji
qq_limited_emoji = 10060 # 使用 QQ 相关协议端时,消息处理失败时向消息挂上的回应表情 ID,需协议端支持。ID 详见:https://bot.q.qq.com/wiki/develop/api/openapi/emoji/model.html#Emoji
allow_request_private_ip = false # 是否允许机器人请求本地私有 IP 地址。(防止可能的信息泄露)
enable_get_petal = false # 是否允许获取花瓣。
gained_petal_limit = 0 # 单日获取花瓣上限。
Expand Down Expand Up @@ -75,7 +75,7 @@ ff3_key = "25FDA29B045EE0034966792BAD5AF1C0" # 用于加密敏感信息的密钥
ff3_tweak = "1E915EC4922E78" # 用于加密敏感信息的密钥偏移量。
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 = "" # ExchangeRate-API 的 API Key。(用于 exchange_rate 模块与计算汇率用)
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 模块)
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 模块)
Expand Down
4 changes: 2 additions & 2 deletions assets/config_store/zh_tw/bot_aiocqhttp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[bot_aiocqhttp]
# 平台端的設定部分,此處填寫的值可在訊息中以明文顯示。請不要在此部分填寫敏感資訊。
qq_account = 1234567 # 機器人 QQ 號。(使用 Onebot 協定端部署 QQ 機器人時需要)
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 協定時,是否自動同意好友請求。
Expand All @@ -13,5 +13,5 @@ enable = false # 是否啟用此平台。
qq_frame_type = "mirai" # Aiocqhttp 對接的 Onebot 協定的框架類型。

[bot_aiocqhttp_secret]
# 平台端的密鑰設定部分,此處的值若意外出現在傳送的訊息中,機器人會嘗試攔截。但請務必提防洩漏。
# 平台端的金鑰設定部分,此處的值若意外出現在傳送的訊息中,機器人會嘗試攔截。但請務必提防洩漏。
qq_host = "<Replace me with str value>" # Aiocqhttp WebSocket 主伺服器的位址。(Onebot 協定端請使用反向 Websocket 方式連線)
2 changes: 1 addition & 1 deletion assets/config_store/zh_tw/bot_aiogram.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
enable = false # 是否啟用此平台。

[bot_aiogram_secret]
# 平台端的密鑰設定部分,此處的值若意外出現在傳送的訊息中,機器人會嘗試攔截。但請務必提防洩漏。
# 平台端的金鑰設定部分,此處的值若意外出現在傳送的訊息中,機器人會嘗試攔截。但請務必提防洩漏。
telegram_token = "<Replace me with str value>" # Telegram 機器人令牌。
2 changes: 1 addition & 1 deletion assets/config_store/zh_tw/bot_api.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# 例如:TOML 中的布林值必須是小寫。

[bot_api_secret]
# 平台端的密鑰設定部分,此處的值若意外出現在傳送的訊息中,機器人會嘗試攔截。但請務必提防洩漏。
# 平台端的金鑰設定部分,此處的值若意外出現在傳送的訊息中,機器人會嘗試攔截。但請務必提防洩漏。
jwt_secret = "<Replace me with str value>" # 內建 API 的認證金鑰,隨意填寫即可。

[bot_api]
Expand Down
2 changes: 1 addition & 1 deletion assets/config_store/zh_tw/bot_discord.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# 例如:TOML 中的布林值必須是小寫。

[bot_discord_secret]
# 平台端的密鑰設定部分,此處的值若意外出現在傳送的訊息中,機器人會嘗試攔截。但請務必提防洩漏。
# 平台端的金鑰設定部分,此處的值若意外出現在傳送的訊息中,機器人會嘗試攔截。但請務必提防洩漏。
discord_token = "<Replace me with str value>" # Discord 機器人令牌。

[bot_discord]
Expand Down
2 changes: 1 addition & 1 deletion assets/config_store/zh_tw/bot_kook.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
enable = false # 是否啟用此平台。

[bot_kook_secret]
# 平台端的密鑰設定部分,此處的值若意外出現在傳送的訊息中,機器人會嘗試攔截。但請務必提防洩漏。
# 平台端的金鑰設定部分,此處的值若意外出現在傳送的訊息中,機器人會嘗試攔截。但請務必提防洩漏。
kook_token = "<Replace me with str value>" # KOOK 機器人令牌。
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 = "<Replace me with str value>" # Matrix 機器人的家伺服器。
matrix_user = "<Replace me with str value>" # Matrix 機器人的完全限定使用者 ID。
matrix_homeserver = "https://matrix.org" # Matrix 機器人的家伺服器。
matrix_user = "@akaribot:matrix.org" # Matrix 機器人的完全限定使用者 ID。
matrix_device_name = "<Replace me with str value>" # Matrix 機器人的裝置名稱,可隨意填寫。

[bot_matrix_secret]
# 平台端的密鑰設定部分,此處的值若意外出現在傳送的訊息中,機器人會嘗試攔截。但請務必提防洩漏。
matrix_device_id = "<Replace me with str value>" # Matrix 機器人裝置 ID。
matrix_device_name = "<Replace me with str value>" # Matrix 機器人的裝置名稱。
# 平台端的金鑰設定部分,此處的值若意外出現在傳送的訊息中,機器人會嘗試攔截。但請務必提防洩漏。
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 備份密碼片語。
2 changes: 1 addition & 1 deletion assets/config_store/zh_tw/bot_ntqq.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ qq_private_bot = false # 使用 QQ 機器人(官方)時,是否為私域機
qq_bot_enable_send_url = false # 使用 QQ 機器人(官方)時,是否啟用傳送 URL。

[bot_ntqq_secret]
# 平台端的密鑰設定部分,此處的值若意外出現在傳送的訊息中,機器人會嘗試攔截。但請務必提防洩漏。
# 平台端的金鑰設定部分,此處的值若意外出現在傳送的訊息中,機器人會嘗試攔截。但請務必提防洩漏。
qq_bot_secret = "<Replace me with str value>" # QQ 機器人(官方)的 AppSecret。
Loading

0 comments on commit a74276d

Please sign in to comment.