#restarting the bot
1 messages · Page 1 of 1 (latest)
or
interactions/low_level_components.py
An example on how to send and process components without using views.
Use the buttons below to view on GitHub or in Discord.
and #disnake-compass (https://github.com/DisnakeCommunity/disnake-ext-components/tree/rewrite) exists to make the latter easier
thx
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
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