aboutsummaryrefslogtreecommitdiff
path: root/discord/shard.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/shard.py')
-rw-r--r--discord/shard.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/discord/shard.py b/discord/shard.py
index 1b635c1c..00a7a117 100644
--- a/discord/shard.py
+++ b/discord/shard.py
@@ -334,6 +334,7 @@ class AutoShardedClient(Client):
"""Mapping[int, :class:`ShardInfo`]: Returns a mapping of shard IDs to their respective info object."""
return { shard_id: ShardInfo(parent, self.shard_count) for shard_id, parent in self.__shards.items() }
+ @utils.deprecated('Guild.chunk')
async def request_offline_members(self, *guilds):
r"""|coro|
@@ -349,7 +350,7 @@ class AutoShardedClient(Client):
.. warning::
- This method is deprecated.
+ This method is deprecated. Use :meth:`Guild.chunk` instead.
Parameters
-----------