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.
1 parent 7b0215a commit 92fff99Copy full SHA for 92fff99
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