You are reading the documentation for the next version of discord.js. Documentation for v13/v14+ has been moved to

The most popular way to build Discord bots.

discord.js is a powerful Node.js module that allows you to interact with the Discord API very easily. It takes a much more object-oriented approach than most other JS Discord libraries, making your bot's code significantly tidier and easier to comprehend.