Skip to content

Add command target to MessageInteractionMetadata #4053

Add command target to MessageInteractionMetadata

Add command target to MessageInteractionMetadata #4053

Triggered via pull request November 8, 2024 13:57
Status Failure
Total duration 41s
Artifacts

lint.yml

on: pull_request
Matrix: check
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 3 warnings
check 3.8
Exit code 1
check 3.x: discord/message.py#L874
Could not access item in TypedDict   "interacted_message_id" is not a defined key in "_ApplicationCommandMessageInteractionMetadata" (reportGeneralTypeIssues)
check 3.x: discord/message.py#L874
Could not access item in TypedDict   "interacted_message_id" is not a defined key in "UserApplicationCommandMessageInteractionMetadata" (reportGeneralTypeIssues)
check 3.x: discord/message.py#L874
Could not access item in TypedDict   "interacted_message_id" is not a defined key in "MessageApplicationCommandMessageInteractionMetadata" (reportGeneralTypeIssues)
check 3.x: discord/message.py#L874
Could not access item in TypedDict   "interacted_message_id" is not a defined key in "ModalSubmitMessageInteractionMetadata" (reportGeneralTypeIssues)
check 3.x: discord/message.py#L881
Could not access item in TypedDict   "triggering_interaction_metadata" is not a defined key in "_ApplicationCommandMessageInteractionMetadata" (reportGeneralTypeIssues)
check 3.x: discord/message.py#L881
Could not access item in TypedDict   "triggering_interaction_metadata" is not a defined key in "UserApplicationCommandMessageInteractionMetadata" (reportGeneralTypeIssues)
check 3.x: discord/message.py#L881
Could not access item in TypedDict   "triggering_interaction_metadata" is not a defined key in "MessageApplicationCommandMessageInteractionMetadata" (reportGeneralTypeIssues)
check 3.x: discord/message.py#L881
Could not access item in TypedDict   "triggering_interaction_metadata" is not a defined key in "MessageComponentMessageInteractionMetadata" (reportGeneralTypeIssues)
check 3.x: discord/message.py#L888
Could not access item in TypedDict   "target_user" is not a defined key in "_ApplicationCommandMessageInteractionMetadata" (reportGeneralTypeIssues)
check 3.x: discord/message.py#L888
Could not access item in TypedDict   "target_user" is not a defined key in "MessageApplicationCommandMessageInteractionMetadata" (reportGeneralTypeIssues)
check 3.8
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4, actions/setup-node@v3, jakebailey/pyright-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
check 3.x
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4, actions/setup-node@v3, jakebailey/pyright-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
check 3.x: discord/utils.py#L666
Unnecessary "# type: ignore" comment