30 Replies
d.js toolkit
d.js toolkit2mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by OP
lmf
lmf2mo ago
@Jô 🌈🦄
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
lmf
lmf2mo ago
Please do you have an example of how to use this Can Discord.js create polls
lmf
lmf2mo ago
No description
lmf
lmf2mo ago
Please help me
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
lmf
lmf2mo ago
Yes, thank you. Thank you, is there any js examples?
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
lmf
lmf2mo ago
thank ou so much that's amazing
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
lmf
lmf2mo ago
i will try both i dont know what is going wrong with this fish killer guy
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
lmf
lmf2mo ago
It works Can you vote please Jo for my testing It gets better
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
lmf
lmf2mo ago
I would kill him wih love
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
lmf
lmf2mo ago
I'll try to make it work and then post it here as another example
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
lmf
lmf2mo ago
tyvm
lmf
lmf2mo ago
No description
lmf
lmf2mo ago
Getting errors on this so far
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
lmf
lmf2mo ago
that gives me an error
No description
lmf
lmf2mo ago
I'm willing to simplify
d.js docs
d.js docs2mo ago
:interface: PollData @14.15.2 Represents the data for a poll.
lmf
lmf2mo ago
Just the most basic version possible
TÆMBØ
TÆMBØ2mo ago
Refer to this, since it seems the structure for sending a poll is different than what's received
lmf
lmf2mo ago
No description
lmf
lmf2mo ago
await channel.send({
poll: {
question: { text: 'testing' },
answers: [
{ answer_id: 1, text: 'yes', emoji: '✅' },
{ answer_id: 2, text: 'no', emoji: '✅' },
],
duration: 4,
allow_multiselect: false
}
});
await channel.send({
poll: {
question: { text: 'testing' },
answers: [
{ answer_id: 1, text: 'yes', emoji: '✅' },
{ answer_id: 2, text: 'no', emoji: '✅' },
],
duration: 4,
allow_multiselect: false
}
});
Thanks for the help