We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7b0215a + 92fff99 commit 38fe68cCopy full SHA for 38fe68c
docs/components.rst
@@ -65,7 +65,7 @@ Next we'll go over the alternative, a global event handler. This works just the
65
66
@bot.event
67
async def on_component(ctx: ComponentContext):
68
- await button_ctx.edit_origin(content="You pressed a button!")
+ await ctx.edit_origin(content="You pressed a button!")
69
70
But [writer], I dont want to edit the message
71
*********************************************
0 commit comments