mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
fix: 原来是这样
This commit is contained in:
parent
37572bd635
commit
7e559881eb
1 changed files with 4 additions and 1 deletions
|
|
@ -17,7 +17,10 @@ export class APTool extends AbstractTool {
|
|||
|
||||
func = async function (opts, e) {
|
||||
let { prompt } = opts
|
||||
e.message = e.message.filter(m => m.type !== 'at' || m.qq !== Bot.uin)
|
||||
if (e.at === Bot.uin) {
|
||||
e.at = null
|
||||
}
|
||||
e.atBot = false
|
||||
let ap
|
||||
try {
|
||||
// eslint-disable-next-line camelcase
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue