From f3808301436ab8a691f558a7431d4dcafe13c0cf Mon Sep 17 00:00:00 2001 From: Sebastian Law Date: Sun, 25 Sep 2022 23:14:31 -0700 Subject: [PATCH] Fix docstring for create_invite --- discord/abc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discord/abc.py b/discord/abc.py index 88aa372c4..2099e8e94 100644 --- a/discord/abc.py +++ b/discord/abc.py @@ -1333,12 +1333,12 @@ class GuildChannel: .. versionadded:: 2.0 target_user: Optional[:class:`User`] - The user whose stream to display for this invite, required if `target_type` is `TargetType.stream`. The user must be streaming in the channel. + The user whose stream to display for this invite, required if ``target_type`` is :attr:`.InviteTarget.stream`. The user must be streaming in the channel. .. versionadded:: 2.0 target_application:: Optional[:class:`.Application`] - The embedded application for the invite, required if `target_type` is `TargetType.embedded_application`. + The embedded application for the invite, required if ``target_type`` is :attr:`.InviteTarget.embedded_application`. .. versionadded:: 2.0