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 55ec2a2 commit 4b3232dCopy full SHA for 4b3232d
examples.py
@@ -32,7 +32,7 @@ async def buttons(ctx: commands.Context):
32
msg = await ctx.send(embed=an_embed, components=components)
33
34
def _check(i: discord.Interaction, b: discord.ButtonClick):
35
- return i.message == msg and i.author ctx.author
+ return i.message == msg and i.author == ctx.author
36
37
interaction, button = await client.wait_for('button_click', check=_check)
38
button_id = button.custom_id
0 commit comments