Skip to content

Fix DMChannel.is_accepted() to correctly read state (#583) #469

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

Fix DMChannel.is_accepted() to correctly read state (#583) #469

Triggered via push September 29, 2023 22:14
Status Failure
Total duration 58s
Artifacts

lint.yml

on: push
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)