Add Guild.chunk and deprecated Client.request_offline_members

This commit is contained in:
Rapptz
2020-09-10 05:56:48 -04:00
parent 27558ec71a
commit 141511471e
4 changed files with 57 additions and 32 deletions

View File

@@ -379,6 +379,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|
@@ -394,7 +395,7 @@ class Client:
.. warning::
This method is deprecated.
This method is deprecated. Use :meth:`Guild.chunk` instead.
Parameters
-----------