#restarting the bot

1 messages · Page 1 of 1 (latest)

maiden leaf
#

How can I make the select menu work even after restarting the bot?

austere meadow
dull bone
#

or

main tendonBOT
#
interactions/low_level_components.py

An example on how to send and process components without using views.

dull bone
maiden leaf
#

thx

hollow lichen
#

Will disnake-ext-compoenents work with views?

I have something like this

class ConfirmationButtons(ui.View):
    def __init__(self, authorid):
        super().__init__(timeout=120.0)
        self.value = None
        self.authorid = authorid
#

@dull bone - sorry about late thread

dull bone
#

they're incompatible. views are fragile by design, and ext-components components are strictly persistent
though what you're doing here is entirely possible within the scope of an ext-components component

#

either way, you shoudn't really be necroing old threads with new questions (especially so when they're someone elses), if you have any questions about ext-components, you can always ask in #disnake-compass