Add Guild.chunk and deprecated Client.request_offline_members

This commit is contained in:
Rapptz
2020-09-10 05:56:48 -04:00
parent 055fe76241
commit cb8cb557f5
4 changed files with 57 additions and 32 deletions

View File

@ -382,6 +382,7 @@ class Client:
print('Ignoring exception in {}'.format(event_method), file=sys.stderr)
traceback.print_exc()
@utils.deprecated('Guild.chunk')
async def request_offline_members(self, *guilds):
r"""|coro|
@ -397,7 +398,7 @@ class Client:
.. warning::
This method is deprecated.
This method is deprecated. Use :meth:`Guild.chunk` instead.
Parameters
-----------