desativaçao de codigo de bot

pull/20/head
adriano 2023-08-08 14:02:51 -03:00
parent 4ee662f4ff
commit 18db49c88c
1 changed files with 1 additions and 1 deletions

View File

@ -596,7 +596,7 @@ const handleMessage = async (msg: any, wbot: any): Promise<void> => {
//Habilitar esse caso queira usar o bot //Habilitar esse caso queira usar o bot
// const botInfo = await BotIsOnQueue('botqueue') // const botInfo = await BotIsOnQueue('botqueue')
const botInfo = { isOnQueue: false, botQueueId: 0, userIdBot: 0 }; // const botInfo = { isOnQueue: false, botQueueId: 0, userIdBot: 0 };
if (msg && !msg.fromMe && ticket.status == "pending") { if (msg && !msg.fromMe && ticket.status == "pending") {