Skip to content

Commit

Permalink
fixing eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardoc7 committed May 26, 2022
1 parent d035f8d commit 54d43f1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/bot/messages/commands/HelpCommandHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ export const HelpCommandHandler = {

const atendimento_object = {
atendido: msg.from,
atendente: 'numero_atendimento@c.us',
atendente: '555555555555@c.us',
};

redisClient.set('atendimento:' + msg.from, 'true', { EX: 600 });
redisClient.set('atendimento:numero_atendimento@c.us', 'true');
redisClient.set('atendimento:555555555555@c.us', 'true');
redisClient.set(
'atendimento:numero_atendimento@c.us:' + contact.pushname.toLowerCase(),
'atendimento:555555555555@c.us:' + contact.pushname.toLowerCase(),
JSON.stringify(atendimento_object),
);

return await client.sendMessage('numero_atendimento@c.us', message_to_reply);
return await client.sendMessage('555555555555@c.us', message_to_reply);
},
};

0 comments on commit 54d43f1

Please sign in to comment.