Skip to content

Commit 40eab3e

Browse files
authored
Merge pull request #298 from kev1nbacon/doc-fixes
rename params in subcommands docstrings
2 parents 87f4e64 + 2461b71 commit 40eab3e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

discord_slash/client.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -735,8 +735,8 @@ def add_subcommand(
735735
:type description: str
736736
:param base_description: Description of the base command. Default ``None``.
737737
: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
740740
: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``.
741741
:type base_permissions: dict
742742
:param subcommand_group_description: Description of the subcommand_group. Default ``None``.
@@ -966,8 +966,8 @@ async def _group_kick_user(ctx, user):
966966
:param base_description: Description of the base command. Default ``None``.
967967
:type base_description: str
968968
:param base_desc: Alias of ``base_description``.
969-
:param default_permission: Sets if users have permission to run slash command by default, when no permissions are set. Default ``True``.
970-
:type default_permission: bool
969+
:param base_default_permission: Sets if users have permission to run slash command by default, when no permissions are set. Default ``True``.
970+
:type base_default_permission: bool
971971
:param permissions: Permission requirements of the slash command. Default ``None``.
972972
:type permissions: dict
973973
:param subcommand_group_description: Description of the subcommand_group. Default ``None``.

0 commit comments

Comments
 (0)