abrahammurciano / paul-bot

Hi! I'm Paul; a teeny tiny bot who's good at one thing. Making polls. And when I say good, I mean really really good. Like the bestest best bot ever at making polls. I can make open polls, I can make closed polls, I can make dynamically editable polls, and I can make them any size. And all that with a simple, good-looking, and easy to use interface! So come on and try me out in your server!
GNU General Public License v3.0
17 stars 7 forks source link

When adding poll option, make sure there's not too many already #33

Closed abrahammurciano closed 2 years ago

ScreamingHawk commented 2 years ago

I see this was already fixed https://github.com/abrahammurciano/paul-bot/commit/6d1e0379e5e2d76c9b07272fc83bdac7240102ee

Would it be possible to instead overflow the options into another embed?

abrahammurciano commented 2 years ago

@ScreamingHawk interesting proposal. I think it wouldn't work because the limit is due to the number of buttons that can be put on a message. More embeds wouldn't fix that.

Spreading it out into more messages might help though, but it would be much more complicated to implement (having to store multiple messages per poll in the database, checking which one contains which options, editing both at a time, etc). I don't think I will implement this

ScreamingHawk commented 2 years ago

That's fair. It's a UX nightmare as well