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