Skip to content

Fix DMChannel.is_accepted() to correctly read state #468

Fix DMChannel.is_accepted() to correctly read state

Fix DMChannel.is_accepted() to correctly read state #468

Re-run triggered September 29, 2023 22:13
Status Failure
Total duration 56s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 2 warnings
check: discord/state.py#L2833
Argument of type "VoiceStateUpdateEvent" cannot be assigned to parameter "data" of type "VoiceState" in function "_update_voice_state"   "channel_id" is not required in "type[VoiceState]"   "guild_id" is missing from "VoiceStateUpdateEvent" (reportGeneralTypeIssues)
check
1 error
check: discord/utils.py#L729
Unnecessary "# type: ignore" comment
check: discord/ext/commands/bot.py#L1056
Type variable "ContextT" may go unsolved if caller supplies no argument for parameter "cls"   Provide an overload that specifies the return type when the argument is not supplied (reportInvalidTypeVarUse)