mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
奇怪的错误,忽略提示不影响使用
This commit is contained in:
parent
065d377bd0
commit
b3c3990831
1 changed files with 5 additions and 1 deletions
|
|
@ -67,7 +67,11 @@ async function User (fastify, options) {
|
|||
let bots = getBots()
|
||||
for (let bot of bots) {
|
||||
if(isTrss) {
|
||||
bot.pickFriend(master).sendMsg(`收到工具箱快捷登录请求,1分钟内有效:${otp}`)
|
||||
try {
|
||||
bot.pickFriend(master).sendMsg(`收到工具箱快捷登录请求,1分钟内有效:${otp}`)
|
||||
} catch (error) {
|
||||
logger.error(error)
|
||||
}
|
||||
} else {
|
||||
bot.pickUser(master).sendMsg(`收到工具箱快捷登录请求,1分钟内有效:${otp}`)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue