Update pyright version

This commit is contained in:
Josh
2023-07-02 08:26:27 +10:00
committed by GitHub
parent 0871b34fc8
commit 630b2a1e55
17 changed files with 45 additions and 27 deletions

View File

@ -251,7 +251,7 @@ class Context(discord.abc.Messageable, Generic[BotT]):
if command is None:
raise ValueError('interaction does not have command data')
bot: BotT = interaction.client # type: ignore
bot: BotT = interaction.client
data: ApplicationCommandInteractionData = interaction.data # type: ignore
if interaction.message is None:
synthetic_payload = {