Looks like you’re using discord.js version 13, which requires you pass an intents option to the Client() constructor.
Client()