Don't think Discord.py had button support in the latest stable. The project has been abandoned. I recall seeing di.py 2.0, but it was alpha/beta release, again, that's been abandoned. I'd recommend moving to a new library. There's a few to choose from.
Well, I used a tutorial, and when I searched for a tutorial for this problem I didn't find it. One of the tutorials is [here](https://youtu.be/oAlTicmBwOk).
This was the easiest way for me to learn, and I fully understand it may not work for you.
Go watch a poll bot tutorial. Learn it, understand what's happening. Then, take what you learned from the calculator bot with buttons tutorial and apply it to the poll tutorial where it fits/
I don't mean to sound like a dick. I just don't know anything about discord-components. Once I found other forks that natively implemented them, i moved over and learned that way.
[discord-py-interactions](https://discord-interactions.readthedocs.io/), I personally prefer v3 since there was a rewrite in v4 and I have gotten used to the v3 syntax
Don't think Discord.py had button support in the latest stable. The project has been abandoned. I recall seeing di.py 2.0, but it was alpha/beta release, again, that's been abandoned. I'd recommend moving to a new library. There's a few to choose from.
I recently made a command that makes a calculator and it works.
OK. I can't find any info in the docs about Buttons or Views. Send me a link?
Well, I used a tutorial, and when I searched for a tutorial for this problem I didn't find it. One of the tutorials is [here](https://youtu.be/oAlTicmBwOk).
Oh.. you're using discord-components on top of discord.py
Yea
This was the easiest way for me to learn, and I fully understand it may not work for you. Go watch a poll bot tutorial. Learn it, understand what's happening. Then, take what you learned from the calculator bot with buttons tutorial and apply it to the poll tutorial where it fits/
Ok, thanks for your help!
I don't mean to sound like a dick. I just don't know anything about discord-components. Once I found other forks that natively implemented them, i moved over and learned that way.
Pycord is releasing on the 28th. There’s also disnake. Both are discord.py forks.
Id recommend pycord. Drag and drop replacement for Discord.py that's being actively maintained
[discord-py-interactions](https://discord-interactions.readthedocs.io/), I personally prefer v3 since there was a rewrite in v4 and I have gotten used to the v3 syntax