brazier-dev/hikari-flare

Allow awaiting message components to return a Row

Opened this issue · 0 comments

I think this would help clean up many use cases.

@flare.button
def button(ctx: flare.Context):
    ...

await ctx.respond(
    component=await button()
)