mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-16 12:12:55 -06:00
parent
427c994993
commit
d09fd4d84f
@ -964,7 +964,10 @@ export class OpenaiController extends ChatbotController implements ChatbotContro
|
||||
let session = await this.getSession(remoteJid, instance);
|
||||
|
||||
const content = getConversationMessage(msg);
|
||||
|
||||
|
||||
if(session?.status === 'paused') {
|
||||
return;
|
||||
}
|
||||
let findBot = (await this.findBotTrigger(this.botRepository, content, instance, session)) as OpenaiBot;
|
||||
|
||||
if (!findBot) {
|
||||
|
Loading…
Reference in New Issue
Block a user