Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

Revert "bug fix" #10

Merged
merged 1 commit into from
Dec 22, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion script/t2i.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ local enableTranslate = 1 -- 1为开启
if tags == "Baka" then return "有笨蛋!tags都不会写欸——但是我不说是谁*" end

for k = 1, #whlstfromGroup do
if msg.gid == whlstfromGroup[k] and enableTranslate == 1 then
if msg.gid == msg.gid == whlstfromGroup[k] and enableTranslate == 1 then
sendMsg("t2i...(翻译已开启,可能会损失部分信息,高阶魔法师建议关闭。)", msg.fromGroup, msg.fromQQ)
requestApi = "https://ovooa.com/API/qqfy/api.php?type=male&msg=" .. prompt
status , translatedPrompt = http.get(requestApi)
Expand Down