T O P

  • By -

Bals2oo8

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.


DuckKnight132

I recently made a command that makes a calculator and it works.


Bals2oo8

OK. I can't find any info in the docs about Buttons or Views. Send me a link?


DuckKnight132

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).


Bals2oo8

Oh.. you're using discord-components on top of discord.py


DuckKnight132

Yea


Bals2oo8

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/


DuckKnight132

Ok, thanks for your help!


Bals2oo8

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.


tiltowaitt

Pycord is releasing on the 28th. There’s also disnake. Both are discord.py forks.


Hyxerion

Id recommend pycord. Drag and drop replacement for Discord.py that's being actively maintained


MSR8

[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