𖥂 PixelFire 𖥂
𖥂 PixelFire 𖥂
Explore posts from servers
DIAdiscord.js - Imagine an app
Created by 𖥂 PixelFire 𖥂 on 5/29/2024 in #djs-questions
DiscordJS V14 not catching Event "MessageCreate"
thanks for your help.
34 replies
DIAdiscord.js - Imagine an app
Created by 𖥂 PixelFire 𖥂 on 5/29/2024 in #djs-questions
DiscordJS V14 not catching Event "MessageCreate"
idk what fixed it but it's working now
34 replies
DIAdiscord.js - Imagine an app
Created by 𖥂 PixelFire 𖥂 on 5/29/2024 in #djs-questions
DiscordJS V14 not catching Event "MessageCreate"
It's weird cuz the other code is now working too 💀
34 replies
DIAdiscord.js - Imagine an app
Created by 𖥂 PixelFire 𖥂 on 5/29/2024 in #djs-questions
DiscordJS V14 not catching Event "MessageCreate"
That seemed to have worked.
34 replies
DIAdiscord.js - Imagine an app
Created by 𖥂 PixelFire 𖥂 on 5/29/2024 in #djs-questions
DiscordJS V14 not catching Event "MessageCreate"
No error message for the methods I’ve tried already. I’ll try this in the morning when I get on my pc 👍
34 replies
DIAdiscord.js - Imagine an app
Created by 𖥂 PixelFire 𖥂 on 5/29/2024 in #djs-questions
DiscordJS V14 not catching Event "MessageCreate"
oops lol
34 replies
DIAdiscord.js - Imagine an app
Created by 𖥂 PixelFire 𖥂 on 5/29/2024 in #djs-questions
DiscordJS V14 not catching Event "MessageCreate"
rq let me look that up 💀
34 replies
DIAdiscord.js - Imagine an app
Created by 𖥂 PixelFire 𖥂 on 5/29/2024 in #djs-questions
DiscordJS V14 not catching Event "MessageCreate"
I also tried with Events.MessageCreate
34 replies
DIAdiscord.js - Imagine an app
Created by 𖥂 PixelFire 𖥂 on 5/29/2024 in #djs-questions
DiscordJS V14 not catching Event "MessageCreate"
Still nothing.
34 replies
DIAdiscord.js - Imagine an app
Created by 𖥂 PixelFire 𖥂 on 5/29/2024 in #djs-questions
DiscordJS V14 not catching Event "MessageCreate"
I tried that.
34 replies
DIAdiscord.js - Imagine an app
Created by 𖥂 PixelFire 𖥂 on 5/29/2024 in #djs-questions
DiscordJS V14 not catching Event "MessageCreate"
const { Client, GatewayIntentBits, Partials, Message } = require('discord.js');
const { token } = require('./config.json');

const client = new Client({ intents: [GatewayIntentBits.Guilds, GatewayIntentBits.DirectMessages, GatewayIntentBits.MessageContent, GatewayIntentBits.GuildMessages], partials: [Partials.Channel]});

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);
const { Client, GatewayIntentBits, Partials, Message } = require('discord.js');
const { token } = require('./config.json');

const client = new Client({ intents: [GatewayIntentBits.Guilds, GatewayIntentBits.DirectMessages, GatewayIntentBits.MessageContent, GatewayIntentBits.GuildMessages], partials: [Partials.Channel]});

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);
34 replies
DIAdiscord.js - Imagine an app
Created by 𖥂 PixelFire 𖥂 on 5/29/2024 in #djs-questions
DiscordJS V14 not catching Event "MessageCreate"
Assuming like this?
34 replies
DIAdiscord.js - Imagine an app
Created by 𖥂 PixelFire 𖥂 on 5/29/2024 in #djs-questions
DiscordJS V14 not catching Event "MessageCreate"
No description
34 replies
DIAdiscord.js - Imagine an app
Created by 𖥂 PixelFire 𖥂 on 5/29/2024 in #djs-questions
DiscordJS V14 not catching Event "MessageCreate"
^
34 replies
DIAdiscord.js - Imagine an app
Created by 𖥂 PixelFire 𖥂 on 5/29/2024 in #djs-questions
DiscordJS V14 not catching Event "MessageCreate"
I am trying to see when any message is being fired from a guild in a channel.
34 replies
DIAdiscord.js - Imagine an app
Created by 𖥂 PixelFire 𖥂 on 5/29/2024 in #djs-questions
DiscordJS V14 not catching Event "MessageCreate"
const client = new Client({ intents: [GatewayIntentBits.Guilds, GatewayIntentBits.DirectMessages, GatewayIntentBits.MessageContent], partials: [Partials.Channel]});
const client = new Client({ intents: [GatewayIntentBits.Guilds, GatewayIntentBits.DirectMessages, GatewayIntentBits.MessageContent], partials: [Partials.Channel]});
Updated to this, still no messageCreate being fired.
34 replies
DIAdiscord.js - Imagine an app
Created by 𖥂 PixelFire 𖥂 on 5/29/2024 in #djs-questions
DiscordJS V14 not catching Event "MessageCreate"
[email protected] C:\Users\PixelZero\Documents\dev\PixelBot
[email protected] C:\Users\PixelZero\Documents\dev\PixelBot
node version
v20.14.0
v20.14.0
34 replies