fix: 修复gemini禁言和提出对非管理员不生效的问题

This commit is contained in:
ikechan8370 2025-02-16 21:29:47 +08:00
parent fcca28de37
commit 08afc95f06
2 changed files with 2 additions and 2 deletions

View file

@ -312,7 +312,7 @@ export class CustomGoogleGeminiClient extends GoogleGeminiClient {
let args = Object.assign(fc.args, {
isAdmin,
isOwner,
sender: this.e.sender,
sender: this.e.sender.user_id,
mode: 'gemini'
})
functionResponse.response.content = await chosenTool.func(args, this.e)