Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
discord-polls
Advanced tools
discord-polls is a powerfull npm package that lets you make a quick poll message in a channel. Based on discord.js-poll-embed
discord-polls is a powerfull npm package that lets you make a quick poll message in a channel. Based on discord.js-poll-embed
DISCLAIMER:
Out of the box, this package will work discord.js v14. If you want the v13 version then check [Using discord.js v13]. (not currently available)
discord-polls is a powerfull npm package that lets you make a quick poll message in a channel. Based on discord.js-poll-embed.
If you need help feel free to join our discord server to talk and get help.
If you encounter any of issues fell free to open an issue in our github repository.
You can download it from npm:
npm install discord-polls
You can update to a newer version to receive updates using npm.
npm update discord-polls
First things first, we include the module into the project.
const Polls = require("discord-polls");
Then, we call the methods for creating the polls.
Polls.startPoll(...);
Examples can be found in /test
Starts a new poll.
Polls.startPoll(<Interaction - Discord.Interaction>, <Title - String>, <Choices - Array>, <Duration - Number>, <EmbedColor - String>, <EmojiList - Array>, <ForceEndPollEmoji - String>);
Discord.Message
Gets the result of a poll.
Polls.getResult(<ID - String>, <Interaction - Discord.Interaction>);
Promise<Object>
Have fun and happy discussions! Made with ❤ by Abdelrahman.
FAQs
discord-polls is a powerfull npm package that lets you make a quick poll message in a channel. Based on discord.js-poll-embed
We found that discord-polls demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.