2Flow2
DIAdiscord.js - Imagine an app
•Created by 2Flow2 on 11/16/2023 in #djs-questions
awaitMessages does not reject on timeout?
Gothca. Okay, well thanks for letting me know about the argument that needed to be passed! That solves my issue!
14 replies
DIAdiscord.js - Imagine an app
•Created by 2Flow2 on 11/16/2023 in #djs-questions
awaitMessages does not reject on timeout?
Huh, and why don't other functions like
awaitMessageComponent()
require that argument?14 replies
DIAdiscord.js - Imagine an app
•Created by 2Flow2 on 11/16/2023 in #djs-questions
awaitMessages does not reject on timeout?
14 replies
DIAdiscord.js - Imagine an app
•Created by 2Flow2 on 11/16/2023 in #djs-questions
awaitMessages does not reject on timeout?
Oh say what? Really?
14 replies
DIAdiscord.js - Imagine an app
•Created by 2Flow2 on 11/16/2023 in #djs-questions
awaitMessages does not reject on timeout?
I see someone posting something else here earlier today regarding
awaitMessages
but I don't think it is relevant.14 replies
DIAdiscord.js - Imagine an app
•Created by 2Flow2 on 11/4/2023 in #djs-questions
How to validate if text is emoji? 🤔
Ah well, thanks for the help!
46 replies
DIAdiscord.js - Imagine an app
•Created by 2Flow2 on 11/4/2023 in #djs-questions
How to validate if text is emoji? 🤔
Right?
46 replies
DIAdiscord.js - Imagine an app
•Created by 2Flow2 on 11/4/2023 in #djs-questions
How to validate if text is emoji? 🤔
I'm honestly quite surprised this isn't something built into the default libraries that Discord.js comes with..
46 replies
DIAdiscord.js - Imagine an app
•Created by 2Flow2 on 11/4/2023 in #djs-questions
How to validate if text is emoji? 🤔
Wow, that worked like a charm, thanks!
46 replies
DIAdiscord.js - Imagine an app
•Created by 2Flow2 on 11/4/2023 in #djs-questions
How to validate if text is emoji? 🤔
How should I implement what qjuh suggested? I couldn't quite figure it out...
46 replies
DIAdiscord.js - Imagine an app
•Created by 2Flow2 on 11/4/2023 in #djs-questions
How to validate if text is emoji? 🤔
Should this wacky behavior be reported in the Issues on the GitHub?
46 replies
DIAdiscord.js - Imagine an app
•Created by 2Flow2 on 11/4/2023 in #djs-questions
How to validate if text is emoji? 🤔
Bummer it only grabs the first emoji from the string if there are multiple, but that part is probably intentional.
46 replies
DIAdiscord.js - Imagine an app
•Created by 2Flow2 on 11/4/2023 in #djs-questions
How to validate if text is emoji? 🤔
Oh hey you're right. My tests are showing the same.
46 replies
DIAdiscord.js - Imagine an app
•Created by 2Flow2 on 11/4/2023 in #djs-questions
How to validate if text is emoji? 🤔
Although even when I pass nothing but an emoji it doesn't seem to provide me any data other than "animated: false" so maybe that theory is wrong.
46 replies
DIAdiscord.js - Imagine an app
•Created by 2Flow2 on 11/4/2023 in #djs-questions
How to validate if text is emoji? 🤔
Ohh, maybe this function is just to give you info about an emoji if you feed it a straight one (like, single character emoji with nothing else) in the code?
46 replies
DIAdiscord.js - Imagine an app
•Created by 2Flow2 on 11/4/2023 in #djs-questions
How to validate if text is emoji? 🤔
46 replies
DIAdiscord.js - Imagine an app
•Created by 2Flow2 on 11/4/2023 in #djs-questions
How to validate if text is emoji? 🤔
46 replies
DIAdiscord.js - Imagine an app
•Created by 2Flow2 on 11/4/2023 in #djs-questions
How to validate if text is emoji? 🤔
46 replies
DIAdiscord.js - Imagine an app
•Created by 2Flow2 on 11/4/2023 in #djs-questions
How to validate if text is emoji? 🤔
I assumed it would have just taken the emoji out of the message and only returned that emoji?
46 replies
DIAdiscord.js - Imagine an app
•Created by 2Flow2 on 11/4/2023 in #djs-questions
How to validate if text is emoji? 🤔
Although how odd! Now that the statement is running, the function is returning an
APIEmoji
but the name
field is the entire message that it was sent to parse...46 replies