Skip to content

Commit 9756f96

Browse files
committed
📝 Document exclude
1 parent cf810ca commit 9756f96

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

discord/ext/commands/help.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,8 @@ async def filter_commands(
571571
An optional key function to pass to :func:`py:sorted` that
572572
takes a :class:`Command` as its sole parameter. If ``sort`` is
573573
passed as ``True`` then this will default as the command name.
574+
exclude: Optional[Tuple[Any, ...]]
575+
A tuple of command types to exclude from the filter.
574576
575577
Returns
576578
-------

0 commit comments

Comments
 (0)