Issue title: Bot not response / BOT Not listening chats
 Issue body: ### Is there an existing issue for this?

- [X] I have searched the existing issues

### Describe the bug

hello whatasapp-web.js

I use it for manage my server,downloads and etc
i maarked it bug because i well done check it for 3 device windows 10,ubuntu 20 and ubuntu 20 for my vps
my problem is bot didn't listening my chat

i well done use example script for bot in your repository github

for my example script listening bot

`
  client.on('message', async msg => {
    const contact = await msg.getContact();
        console.log(color('[','white'), color('!'), color(']','white'),`  ${contact.pushname} : ${msg.body}`);

  });

`
but
before the bot runs normally for 2 days ago

so I'm very grateful someone can solve my problem
Thanks You all

### Expected behavior

``

### Steps to Reproduce the Bug or Issue

``

### Relevant Code


  client.on('message', async msg => {
    const contact = await msg.getContact();
        console.log(color('[','white'), color('!'), color(']','white'),`  ${contact.pushname} : ${msg.body}`);

  });

### Browser Type

Google Chrome

### WhatsApp Account Type

Standard

### Does your WhatsApp account have multidevice enabled?

Yes, I am using Multi Device

### Environment

Windows 10 and 2 device os UBUNTU 20

### Additional context

_No response_
 Comments: 
 Comment 0: same issues,,,help solution
 Comment 1: Please update to v1.18.0, it has just been released with a fix.
{'source': 'GithubIssues', 'repo_name_with_owner': 'pedroslopez/whatsapp-web.js', 'issue_id': 1417625912, 'repo_stars': 8017.0}