Fix fallback build number retrieval again #483
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)
|