const { Client, GatewayIntentBits, Message } = require('discord.js');const { token } = require('./config.json');const client = new Client({ intents: [GatewayIntentBits.Guilds, GatewayIntentBits.DirectMessages, GatewayIntentBits.MessageContent] });client.on("ready", function(){ console.log(`the client becomes ready to start`); console.log(`I am ready! Logged in as ${client.user.tag}!`);});client.on("messageCreate", function(message){ console.log(`a message was created`); console.log({message});});client.login(token);