mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-22 08:23:09 +00:00
Fix test_resolve_invite due to changed type
This commit is contained in:
@@ -738,8 +738,7 @@ class ResolvedInvite(NamedTuple):
|
||||
|
||||
|
||||
def resolve_invite(invite: Union[Invite, str]) -> ResolvedInvite:
|
||||
"""
|
||||
Resolves an invite from a :class:`~discord.Invite`, URL or code.
|
||||
"""Resolves an invite from a :class:`~discord.Invite`, URL or code.
|
||||
|
||||
.. versionchanged:: 2.0
|
||||
Now returns a :class:`.ResolvedInvite` instead of a
|
||||
|
Reference in New Issue
Block a user