mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-05 09:26:10 +00:00
Bump Pyright to 1.1.265, fix type errors, and remove unnecessary ignores
This commit is contained in:
@ -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