mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: 优化一些稳定性
This commit is contained in:
parent
1563e49a25
commit
54f68132f9
3 changed files with 9 additions and 5 deletions
|
|
@ -506,7 +506,7 @@ export class chatgpt extends plugin {
|
|||
async chatgpt (e) {
|
||||
let prompt
|
||||
if (this.toggleMode === 'at') {
|
||||
if (!e.raw_message || e.msg.startsWith('#')) {
|
||||
if (!e.raw_message || e.msg?.startsWith('#')) {
|
||||
return false
|
||||
}
|
||||
if (e.isGroup && !e.atme) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue