Skip to content

Commit e3e01ac

Browse files
authored
Update discord/commands/context.py
1 parent 3274cb2 commit e3e01ac

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

discord/commands/context.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,14 @@ class AutocompleteContext:
167167
The bot that the command belongs to.
168168
interaction: :class:`.Interaction`
169169
The interaction object that invoked the autocomplete.
170+
command: :class:`.ApplicationCommand`
171+
The command that this context belongs to.
172+
focused: :class:`.Option`
173+
The option the user is currently typing.
174+
value: :class:`.str`
175+
The content of the focused option.
176+
options :class:`.dict`
177+
A name to value mapping of the options that the user has selected before this option.
170178
"""
171179

172180
__slots__ = ("bot", "interaction", "command", "focused", "value", "options")

0 commit comments

Comments
 (0)