aboutsummaryrefslogtreecommitdiff
path: root/discord/client.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2020-04-04 07:40:51 -0400
committerRapptz <[email protected]>2020-04-04 07:40:51 -0400
commit041785937e091b7e282403d45dd0c68da340a8d4 (patch)
tree1ea7a6bb47292e2a6978db690b98982338b4edba /discord/client.py
parentFix regression with Member.activities not clearing (diff)
downloaddiscord.py-041785937e091b7e282403d45dd0c68da340a8d4.tar.xz
discord.py-041785937e091b7e282403d45dd0c68da340a8d4.zip
Add support for configuring allowed mentions per message or bot wide.
Diffstat (limited to 'discord/client.py')
-rw-r--r--discord/client.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/discord/client.py b/discord/client.py
index 757886ef..bbc323d6 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -142,13 +142,17 @@ class Client:
The total number of shards.
fetch_offline_members: :class:`bool`
Indicates if :func:`.on_ready` should be delayed to fetch all offline
- members from the guilds the bot belongs to. If this is ``False``\, then
+ members from the guilds the client belongs to. If this is ``False``\, then
no offline members are received and :meth:`request_offline_members`
must be used to fetch the offline members of the guild.
status: Optional[:class:`.Status`]
A status to start your presence with upon logging on to Discord.
activity: Optional[:class:`.BaseActivity`]
An activity to start your presence with upon logging on to Discord.
+ mention: Optional[:class:`AllowedMentions`]
+ Control how the client handles mentions by default on every message sent.
+
+ .. versionadded:: 1.4
heartbeat_timeout: :class:`float`
The maximum numbers of seconds before timing out and restarting the
WebSocket in the case of not receiving a HEARTBEAT_ACK. Useful if