Skip to content

Commit 269be61

Browse files
committed
Fixed incorrect docstring
1 parent b31a305 commit 269be61

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

discord_slash/client.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ async def sync_all_commands(self, delete_from_unused_guilds=False):
300300
Matches commands registered on Discord to commands registered here.
301301
Deletes any commands on Discord but not here, and registers any not on Discord.
302302
This is done with a `put` request.
303-
If ``auto_register`` is ``True``, then this will be automatically called.
303+
If ``sync_commands`` is ``True``, then this will be automatically called.
304304
305305
:param delete_from_unused_guilds: If the bot should make a request to set no commands for guilds that haven't got any commands registered in :class:``SlashCommand``
306306
"""
@@ -575,8 +575,7 @@ async def _group_say(ctx, _str):
575575
# /group kick user <user>
576576
@slash.subcommand(base="group",
577577
subcommand_group="kick",
578-
name="user",
579-
auto_convert={"user": "user"})
578+
name="user")
580579
async def _group_kick_user(ctx, user):
581580
...
582581

0 commit comments

Comments
 (0)