Hello,
I have a parent and child like this:
class BaseView(disnake.ui.View):
def __init__(self, *, timeout = 180):
super().__init__(timeout=timeout)
async def on_error(self, error, item: disnake.ui.Item, interaction: disnake.MessageInteraction):
...
class ReportAnonymView(BaseView):
def __init__(self, bot: Bot):
super().__init__(timeout=None)
self.bot = bot
@disnake.ui.button(label="Resolve", emoji="❌", style=disnake.ButtonStyle.secondary, custom_id="report:resolve")
async def resolve(self, button: disnake.ui.Button, inter: disnake.MessageInteraction) -> None:
...
and wonder if this inheriting could cause some problems in the views.
Seems like that when using this view it is kind of slugish and slow.
Are there other better options to do something similar?