mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Bump Pyright to 1.1.265, fix type errors, and remove unnecessary ignores
This commit is contained in:
1 parent
60079aee1b
commit
d707019348
14 files changed
+30
-30
No files matched your search
@@ -442,7 +442,7 @@ class Choice(Generic[ChoiceT]):
|
||||
)
|
||||
|
||||
def to_dict(self) -> ApplicationCommandOptionChoice:
|
||||
return {
|
||||
return { # type: ignore
|
||||
'name': self.name,
|
||||
'value': self.value,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user