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

Commit

Permalink
Merge pull request #10 from A2C29K9/revert-9-master
Browse files Browse the repository at this point in the history
Revert "bug fix"
  • Loading branch information
HsiangNianian committed Dec 22, 2022
2 parents fdc379b + 95dacca commit 17a371d
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 17a371d

Please sign in to comment.