aboutsummaryrefslogtreecommitdiff
path: root/discord/client.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2020-09-10 05:56:48 -0400
committerRapptz <[email protected]>2020-09-23 03:21:19 -0400
commitcb8cb557f539baf41640cad3037be02ff9b79818 (patch)
tree62f6a01f1974f3fd6bade9cfcfbcb7171b4b06fe /discord/client.py
parentFix Client.request_offline_members no longer working (diff)
downloaddiscord.py-cb8cb557f539baf41640cad3037be02ff9b79818.tar.xz
discord.py-cb8cb557f539baf41640cad3037be02ff9b79818.zip
Add Guild.chunk and deprecated Client.request_offline_members
Diffstat (limited to 'discord/client.py')
-rw-r--r--discord/client.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/discord/client.py b/discord/client.py
index dc8b360d..c39a26da 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -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
-----------