mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-20 20:59:16 +00:00
code cleanup
This commit is contained in:
@@ -166,11 +166,6 @@ const wbotMessageListener = (whatsapp: Whatsapp): void => {
|
|||||||
const wbot = getWbot(whatsappId);
|
const wbot = getWbot(whatsappId);
|
||||||
const io = getIO();
|
const io = getIO();
|
||||||
|
|
||||||
if (!wbot) {
|
|
||||||
console.log("Wbot not initialized");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
wbot.on("message_create", async msg => {
|
wbot.on("message_create", async msg => {
|
||||||
console.log(msg.type);
|
console.log(msg.type);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user