PhonedLeek25
PhonedLeek25
DIAdiscord.js - Imagine an app
Created by korinn on 5/29/2024 in #djs-questions
Change Status
careful, if you already have another client.on part, don't have two! jsut take this line of code client.user.setActivity('Netflix', { type: ActivityType.Watching }); and add it to that existing function
18 replies
DIAdiscord.js - Imagine an app
Created by korinn on 5/29/2024 in #djs-questions
Change Status
client.on("ready", () =>
{

console.log("Ready!")
client.user.setActivity('Netflix', { type: ActivityType.Watching });
});
client.on("ready", () =>
{

console.log("Ready!")
client.user.setActivity('Netflix', { type: ActivityType.Watching });
});
18 replies
DIAdiscord.js - Imagine an app
Created by korinn on 5/29/2024 in #djs-questions
Change Status
No description
18 replies
DIAdiscord.js - Imagine an app
Created by korinn on 5/29/2024 in #djs-questions
Change Status
I can show you the code
18 replies
DIAdiscord.js - Imagine an app
Created by korinn on 5/29/2024 in #djs-questions
Change Status
I just implemented it on my bot
18 replies
DIAdiscord.js - Imagine an app
Created by korinn on 5/29/2024 in #djs-questions
Change Status
@korinn did it work?
18 replies
DIAdiscord.js - Imagine an app
Created by 𖥂 PixelFire 𖥂 on 5/29/2024 in #djs-questions
DiscordJS V14 not catching Event "MessageCreate"
ok 💀
34 replies
DIAdiscord.js - Imagine an app
Created by 𖥂 PixelFire 𖥂 on 5/29/2024 in #djs-questions
DiscordJS V14 not catching Event "MessageCreate"
if that doesn't work if there's some error message please show it
34 replies
DIAdiscord.js - Imagine an app
Created by 𖥂 PixelFire 𖥂 on 5/29/2024 in #djs-questions
DiscordJS V14 not catching Event "MessageCreate"
like i said im new to this so maybe you just need to not include function(){} and instead do msg => {} or async (msg) => {}
34 replies
DIAdiscord.js - Imagine an app
Created by 𖥂 PixelFire 𖥂 on 5/29/2024 in #djs-questions
DiscordJS V14 not catching Event "MessageCreate"
for reference that would like this:
client.on("messageCreate", async (msg) =>
{
console.log("message detected by " + msg.author.tag.toString());
}
)
client.on("messageCreate", async (msg) =>
{
console.log("message detected by " + msg.author.tag.toString());
}
)
34 replies
DIAdiscord.js - Imagine an app
Created by 𖥂 PixelFire 𖥂 on 5/29/2024 in #djs-questions
DiscordJS V14 not catching Event "MessageCreate"
can also use async (msg) but im new to javascript and don't know what that does
34 replies
DIAdiscord.js - Imagine an app
Created by 𖥂 PixelFire 𖥂 on 5/29/2024 in #djs-questions
DiscordJS V14 not catching Event "MessageCreate"
@PixelZero this is how I do it
client.on("messageCreate", msg =>
{
console.log("message detected by " + msg.author.tag.toString());
}
)
client.on("messageCreate", msg =>
{
console.log("message detected by " + msg.author.tag.toString());
}
)
34 replies