'client.loadEvents is not a function on discord js v13.6.0

I'm a beginner bot developer, currently I'm resuming my first project for the bot (old project)

the version of the discord.js that I use on this was 12.3.1

I had this problem

client.loadEvents('./src/events');
     ^

TypeError: client.loadEvents is not a function

and my discord.js is on version 13.6.0

Is there documentation about new update also appreciate for those that helping me

cheers.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source