Before you ask: I have the correct intents [Discord.GatewayIntentBits.GuildMessages, Discord.GatewayIntentBits.Guilds]
.
Here's what my code looks like.
const Discord = require("discord.js");
const client = new Discord.Client({intents: [Discord.GatewayIntentBits.GuildMessages, Discord.GatewayIntentBits.Guilds]});
// yada yada variables
client.on("messageCreate", (message) => {
console.log('Doing Stuff')
}
I tried surrounding it with console.log(). Anything outside fired, anything inside didn't. No errors pop up, but testing my code results in nothing.
I'm fairly new to Javascript and Discord.js, so I don't know what else I should try.