From 92fff995a847030fa2e4a141bb3448dea9590c95 Mon Sep 17 00:00:00 2001 From: CheryX <58445363+CheryX@users.noreply.github.com> Date: Fri, 18 Jun 2021 19:23:56 +0200 Subject: [PATCH] Simple fix --- docs/components.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components.rst b/docs/components.rst index 57ea5c33e..0a9310da0 100644 --- a/docs/components.rst +++ b/docs/components.rst @@ -65,7 +65,7 @@ Next we'll go over the alternative, a global event handler. This works just the @bot.event async def on_component(ctx: ComponentContext): - await button_ctx.edit_origin(content="You pressed a button!") + await ctx.edit_origin(content="You pressed a button!") But [writer], I dont want to edit the message *********************************************