Run button need to create server

Question:
I’m new to replit, (also my fist time coding anything) so this question may sound stupid, but when I press the “run” button, it works, but it says to start a server to see the hosted output? What? Someone help please.
Best regards,
~Santiago

Replit Profile: https://replit.com/@santiagolopezca

1 Like

Hey, that’s showing up because your application is crashing.
You are providing incorrect intents, please check out this example from the discord.js@14 docs:

const { Client, GatewayIntentBits } = require('discord.js');

const client = new Client({
	intents: [
		GatewayIntentBits.Guilds,
		GatewayIntentBits.GuildMessages,
		GatewayIntentBits.MessageContent,
		GatewayIntentBits.GuildMembers,
	],
});
3 Likes