Skip to content

Commit 6922e08

Browse files
authored
Fix missing method call
1 parent 286f1c5 commit 6922e08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/app/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def __init__(self, func: Callable, *args, **kwargs) -> None:
6969
self.name: str = name
7070

7171
description = kwargs.get("description") or (
72-
inspect.cleandoc(func.__doc__.splitlines[0])
72+
inspect.cleandoc(func.__doc__.splitlines()[0])
7373
if func.__doc__ is not None
7474
else "No description provided"
7575
)

0 commit comments

Comments
 (0)