From 041785937e091b7e282403d45dd0c68da340a8d4 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sat, 4 Apr 2020 07:40:51 -0400 Subject: Add support for configuring allowed mentions per message or bot wide. --- discord/client.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'discord/client.py') 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 -- cgit v1.2.3