You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: discord_slash/client.py
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -735,8 +735,8 @@ def add_subcommand(
735
735
:type description: str
736
736
:param base_description: Description of the base command. Default ``None``.
737
737
:type base_description: str
738
-
:param default_permission: Sets if users have permission to run base command by default, when no permissions are set. Default ``True``.
739
-
:type default_permission: bool
738
+
:param base_default_permission: Sets if users have permission to run base command by default, when no permissions are set. Default ``True``.
739
+
:type base_default_permission: bool
740
740
:param base_permissions: Dictionary of permissions of the slash command. Key being target guild_id and value being a list of permissions to apply. Default ``None``.
741
741
:type base_permissions: dict
742
742
:param subcommand_group_description: Description of the subcommand_group. Default ``None``.
0 commit comments