Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions interactions/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,15 @@ class CommandContext(Context):
:ivar Snowflake id: The ID of the interaction.
:ivar Snowflake application_id: The application ID of the interaction.
:ivar InteractionType type: The type of interaction.
:ivar str name: The name of the command in the interaction.
:ivar Optional[str] description?: The description of the command in the interaction.
:ivar Optional[List[Option]] options?: The options of the command in the interaction, if any.
:ivar InteractionData data: The application command data.
:ivar InteractionData data?: The application command data.
:ivar Optional[Union[Message, Member, User]] target: The target selected if this interaction is invoked as a context menu.
:ivar str token: The token of the interaction response.
:ivar Snowflake channel_id: The ID of the current channel.
:ivar Snowflake guild_id: The ID of the current guild.
:ivar Snowflake guild_id?: The ID of the current guild.
:ivar Snowflake channel_id?: The ID of the current channel.
:ivar bool responded: Whether an original response was made or not.
:ivar bool deferred: Whether the response was deferred or not.
:ivar str locale?: The selected language of the user invoking the interaction.
:ivar str guild_locale?: The guild's preferred language, if invoked in a guild.
"""

__slots__ = (
Expand All @@ -113,7 +113,6 @@ class CommandContext(Context):
"channel_id",
"responded",
"deferred",
#
"locale",
"guild_locale",
)
Expand Down