mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-04 00:55:19 +00:00
Update pyright version
This commit is contained in:
@ -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 = {
|
||||
|
Reference in New Issue
Block a user