Requiem
Requiem
DIAdiscord.js - Imagine an app
Created by lexitorius on 2/23/2024 in #djs-questions
Reading reaction info
no errors?
17 replies
DIAdiscord.js - Imagine an app
Created by Collywog on 2/23/2024 in #djs-questions
message collector filter not working as intended
But I think I used a library for that, not a built-in function
15 replies
DIAdiscord.js - Imagine an app
Created by Collywog on 2/23/2024 in #djs-questions
message collector filter not working as intended
Didnt use it in nodejs just in web development
15 replies
DIAdiscord.js - Imagine an app
Created by Collywog on 2/23/2024 in #djs-questions
message collector filter not working as intended
Yeah I am refering to that
15 replies
DIAdiscord.js - Imagine an app
Created by Collywog on 2/23/2024 in #djs-questions
message collector filter not working as intended
Doesnt it technically work with arrays even though its used for nodes and token list
15 replies
DIAdiscord.js - Imagine an app
Created by Collywog on 2/23/2024 in #djs-questions
message collector filter not working as intended
Another tip, you can use m.toLowerCase().includes(phrases) and then you won’t need to add extra items to your array such as “FC”/“FC ITEMS” to handle uppercases
15 replies
DIAdiscord.js - Imagine an app
Created by Collywog on 2/23/2024 in #djs-questions
message collector filter not working as intended
1 sec
15 replies
DIAdiscord.js - Imagine an app
Created by Collywog on 2/23/2024 in #djs-questions
message collector filter not working as intended
And you can use || but it would be:
if(m.includes(“FC”) || m.includes(“fc items”) || m.includes(“fc”)) etc.
if(m.includes(“FC”) || m.includes(“fc items”) || m.includes(“fc”)) etc.
15 replies
DIAdiscord.js - Imagine an app
Created by Collywog on 2/23/2024 in #djs-questions
message collector filter not working as intended
also contains returns the index value of the first occurance of specified value in array, if value is not found it will return -1. While includes return boolean value. As he said, your argument must be an array or a single string (array in your case). Define phrases in array and check if the message content includes anything from phrases array
15 replies
DIAdiscord.js - Imagine an app
Created by waff1e 🌹 on 2/23/2024 in #djs-questions
Error: Invalid value GuildMember
I think he/she meant the error occurs as a sequalize error, the module you are using, it is not a djs error, hence he can’t help you…
16 replies
DIAdiscord.js - Imagine an app
Created by ! Vinnie... 🥀 on 2/21/2024 in #djs-questions
error
whats ownerIDS?
28 replies
DIAdiscord.js - Imagine an app
Created by Solar on 2/22/2024 in #djs-questions
Uploading images don't work
If no error u r missing conclusion to interaction, or interaction reply, if there is error paste it
23 replies
DIAdiscord.js - Imagine an app
Created by Solar on 2/22/2024 in #djs-questions
Uploading images don't work
No I don’t think that is the problem, it’s just a rule of thumb per say
23 replies
DIAdiscord.js - Imagine an app
Created by Solar on 2/22/2024 in #djs-questions
Uploading images don't work
btw I wouldnt use a dicord attachment link as a path to image, I’d rather save it somewhere where bot can easily access it
23 replies
DIAdiscord.js - Imagine an app
Created by Solar on 2/22/2024 in #djs-questions
Uploading images don't work
The image I sent is literally how you would do it, its from update v13 to v14 docs
23 replies
DIAdiscord.js - Imagine an app
Created by Solar on 2/22/2024 in #djs-questions
Uploading images don't work
in v14
23 replies
DIAdiscord.js - Imagine an app
Created by Solar on 2/22/2024 in #djs-questions
Uploading images don't work
No description
23 replies