const {Client, Events, GatewayIntentBits} = require('discord.js');const client = new Client({intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages]});client.on(Events.ClientReady, () => { console.log(`Logged in as ${client.user.tag}!`);});client.on(Events.MessageCreate, (message) => { if (message.content === 'ping') { message.reply('pong'); }});client.login("Token")