Add support for configuring allowed mentions per message or bot wide.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user