mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-05 17:36:15 +00:00
Fix some type checker errors and remove some type ignores
Caught from an upgraded Pyright
This commit is contained in:
@ -210,7 +210,7 @@ class Choice(Generic[ChoiceT]):
|
||||
return {
|
||||
'name': self.name,
|
||||
'value': self.value,
|
||||
} # type: ignore -- Type checker does not understand this literal.
|
||||
}
|
||||
|
||||
|
||||
class AppCommandChannel(Hashable):
|
||||
|
Reference in New Issue
Block a user