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.
message_id
1 parent 27b5a85 commit 7ba0c11Copy full SHA for 7ba0c11
interactions/client/client.py
@@ -1256,7 +1256,7 @@ async def wait_for_component(
1256
async def _check(event: events.Component) -> bool:
1257
ctx: ComponentContext = event.ctx
1258
# if custom_ids is empty or there is a match
1259
- wanted_message = not message_ids or ctx.message.id in (
+ wanted_message = not message_ids or ctx.message_id in (
1260
[message_ids] if isinstance(message_ids, int) else message_ids
1261
)
1262
wanted_component = not custom_ids or ctx.custom_id in custom_ids
0 commit comments