#I can't insert my function into button.callback . disnake 2.11.0 container

1 messages · Page 1 of 1 (latest)

hollow tide
#

When I call the slash command get_pict, I get a container with buttons, but the buttons do not have their callback functions attached to them.
I can do this through bot.event, but I would prefer not to resort to that for now.

delicate umbra
#

You can't use callback for components v2

hollow tide
zealous talon
#

The preferred way of working with cv2 is bot.listen and similar

delicate umbra