Hey, you can make the button available again in on_ready, how does that work now with select menus? Make in on_readyHey, you can make the button available again in on_ready, how does that work now with select menus? Make in on_ready py view = View() view.add_item(SelectReason(bot)) but does not work, likebut does not work, like py bot.add_view(SelectReasonView(bot))
#discord.ui.Select add_view, add_item
1 messages · Page 1 of 1 (latest)
Did you set the timeout to none and a custom id?
Here's the persistent example.
Where Custom id? ```py
class SelectReasonView(discord.ui.View):
def init(self, bot):
super().init(timeout=None)
self.add_item(SelectReason(bot))```
.
Yes, but I use dropdown like here https://github.com/Pycord-Development/pycord/blob/master/examples/views/dropdown.py
ahh, now it makes sense. Thanks a lot ❤️ 😄