From 7b595fb052c82de1fca8b89d6aacc908f1978a31 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 c4d29f259..e1b5f3232 100644 --- a/discord/abc.py +++ b/discord/abc.py @@ -1213,12 +1213,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_id:: Optional[:class:`int`] - The id of the embedded application for the invite, required if `target_type` is `TargetType.embedded_application`. + The id of the embedded application for the invite, required if ``target_type`` is :attr:`.InviteTarget.embedded_application`. .. versionadded:: 2.0