mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 05:47:11 +00:00
fix: 优化一些tool
This commit is contained in:
parent
b7ac3bff30
commit
8257779f5c
9 changed files with 29 additions and 22 deletions
|
|
@ -11,10 +11,10 @@ export class SendMusicTool extends AbstractTool {
|
|||
},
|
||||
groupId: {
|
||||
type: 'string',
|
||||
description: '群号或qq号,发送目标'
|
||||
description: '群号或qq号,发送目标,为空则发送到当前聊天'
|
||||
}
|
||||
},
|
||||
required: ['keyword', 'groupId']
|
||||
required: ['keyword']
|
||||
}
|
||||
|
||||
func = async function (opts) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue