We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e00b272 commit f7d0d60Copy full SHA for f7d0d60
discord/commands/context.py
@@ -69,7 +69,13 @@ class ApplicationContext(discord.abc.Messageable):
69
def __init__(self, bot: Bot, interaction: Interaction):
70
self.bot = bot
71
self.interaction = interaction
72
+
73
+ # below attributes will be set after initialization
74
self.command: ApplicationCommand = None # type: ignore
75
+ self.focused: Option = None # type: ignore
76
+ self.value: str = None # type: ignore
77
+ self.options: dict = None # type: ignore
78
79
self._state: ConnectionState = self.interaction._state
80
81
async def _get_channel(self) -> discord.abc.Messageable:
0 commit comments