remyjette / discordpollbot Goto Github PK
View Code? Open in Web Editor NEWA discord poll bot that allows users to add their own options while a poll is running
License: MIT License
A discord poll bot that allows users to add their own options while a poll is running
License: MIT License
Maybe if other than the poll creator, append (added by @User)
Discord recently released the Threads feature: https://support.discord.com/hc/en-us/articles/4403205878423-Threads-FAQ
However, if you try to /startpoll
or !startpoll
inside a thread, the poll creation fails (/startpoll
shows "This interaction failed" and !startpoll
simply does nothing)
Maybe stick around until either the user votes or 30s or even 60s has expired?
Possibly note in the footer that the poll was edited.
Ideally they would automatically vote for it, but Discord doesn't provide a way for us to react on behalf of a user. So do this instead.
If a user is mentioned in the poll title, the resulting poll title contains the raw text <@{USER_ID}>
instead of being parsed as a mention because the title field doesn't support mentions.
Mentions should be converted into nicks before creating the poll.
If a user creates a poll with `!startpoll title="Poll Title" options="Option 1","Option2" those options cannot contains commas as the bot will interpret it as a delimiter starting a new option.
Need to rethink how !startpoll
is parsed to allow it.
Create a poll type where a user can only vote for one option
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.