From c4e9fe9dc1713a1bc2dca2ff19270acdd9d0cb02 Mon Sep 17 00:00:00 2001 From: dolfies Date: Thu, 14 Apr 2022 21:09:54 -0400 Subject: [PATCH] Minor call documentation fixes --- discord/calls.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/discord/calls.py b/discord/calls.py index 6785d609b..edc0ee2c9 100644 --- a/discord/calls.py +++ b/discord/calls.py @@ -189,7 +189,7 @@ class PrivateCall: @property def initiator(self) -> User: - """:class:`User`: Returns the user that started the call.""" + """:class:`.abc.User`: Returns the user that started the call.""" return getattr(self.message, 'author', None) @property @@ -250,7 +250,7 @@ class PrivateCall: A region to change the voice region to. .. versionchanged:: 2.0 - The type of this paramter has changed to :class:`str`. + The type of this parameter has changed to :class:`str`. Raises ------- @@ -433,8 +433,6 @@ class GroupCall(PrivateCall): The channel the group call is in. unavailable: :class:`bool` Denotes if this group call is unavailable. - ringing: List[:class:`.abc.User`] - A list of users that are currently being rung to join the call. region: :class:`str` The region the group call is being hosted in.