Glaze
Glaze
DIAdiscord.js - Imagine an app
Created by Galactic on 1/18/2025 in #djs-questions
dms not registering as a dm
oh the intent 😭 😭 😭 why didnt i think of that
55 replies
DIAdiscord.js - Imagine an app
Created by Galactic on 1/18/2025 in #djs-questions
dms not registering as a dm
then its just not running that code it seems
55 replies
DIAdiscord.js - Imagine an app
Created by Galactic on 1/18/2025 in #djs-questions
dms not registering as a dm
makes me think its not even reaching the logging point. strange
55 replies
DIAdiscord.js - Imagine an app
Created by Galactic on 1/18/2025 in #djs-questions
dms not registering as a dm
what happens if you replace
if (message.channel.type === ChannelType.DM) {
if (message.channel.type === ChannelType.DM) {
with
if (!message.guild) {
if (!message.guild) {
55 replies
DIAdiscord.js - Imagine an app
Created by Galactic on 1/18/2025 in #djs-questions
dms not registering as a dm
also can you try logging just message for dm messages? curious if that logs anything. since it doesnt error on message.channel.type, that would mean message and message.channel are defined
55 replies
DIAdiscord.js - Imagine an app
Created by Galactic on 1/18/2025 in #djs-questions
dms not registering as a dm
in case its a bug or something w/ djs
55 replies
DIAdiscord.js - Imagine an app
Created by Galactic on 1/18/2025 in #djs-questions
dms not registering as a dm
You could try updating to latest 14.17.3. couldn't hurt.
55 replies
DIAdiscord.js - Imagine an app
Created by Galactic on 1/18/2025 in #djs-questions
dms not registering as a dm
55 replies
DIAdiscord.js - Imagine an app
Created by Galactic on 1/18/2025 in #djs-questions
dms not registering as a dm
it doesnt log anything? did you put the console log outside the if statement?
55 replies
DIAdiscord.js - Imagine an app
Created by Galactic on 1/18/2025 in #djs-questions
dms not registering as a dm
can you console.log(message.channel.type)?
55 replies
DIAdiscord.js - Imagine an app
Created by Galactic on 1/18/2025 in #djs-questions
dms not registering as a dm
does your client.handleDM event fire at all? if you log outside your if statement do you get anything?
55 replies
DIAdiscord.js - Imagine an app
Created by Galactic on 1/18/2025 in #djs-questions
dms not registering as a dm
What do you mean by "does not seem to work"? Does it not pass your if statement? Do you get an error?
55 replies
DIAdiscord.js - Imagine an app
Created by TheMasterKitty on 7/11/2024 in #djs-questions
User Install Count
:CAUGHT:
9 replies
DIAdiscord.js - Imagine an app
Created by TheMasterKitty on 7/11/2024 in #djs-questions
User Install Count
Discord decided (as of now) it's none of your business who has installed your application and that's a fair decision.
9 replies