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.
subcommand
subcommand_name
1 parent d25d1e8 commit 6dd02a3Copy full SHA for 6dd02a3
discord_slash/model.py
@@ -14,7 +14,7 @@ class SlashContext:
14
Do not manually init this model.
15
16
:ivar name: Name of the command.
17
- :ivar subcommand: Subcommand of the command.
+ :ivar subcommand_name: Subcommand of the command.
18
:ivar subcommand_group: Subcommand group of the command.
19
:ivar interaction_id: Interaction ID of the command message.
20
:ivar command_id: ID of the command.
@@ -34,7 +34,7 @@ def __init__(self,
34
logger):
35
self.__token = _json["token"]
36
self.name = _json["data"]["name"]
37
- self.subcommand = None
+ self.subcommand_name = None
38
self.subcommand_group = None
39
self.interaction_id = _json["id"]
40
self.command_id = _json["data"]["id"]
0 commit comments