@ -237,6 +237,15 @@ class Client:
To enable these events , this must be set to ` ` True ` ` . Defaults to ` ` False ` ` .
. . versionadded : : 2.0
enable_raw_presences : : class : ` bool `
Whether to manually enable or disable the : func : ` on_raw_presence_update ` event .
Setting this flag to ` ` True ` ` requires : attr : ` Intents . presences ` to be enabled .
By default , this flag is set to ` ` True ` ` only when : attr : ` Intents . presences ` is enabled and : attr : ` Intents . members `
is disabled , otherwise it ' s set to ``False``.
. . versionadded : : 2.5
http_trace : : class : ` aiohttp . TraceConfig `
The trace configuration to use for tracking HTTP requests the library does using ` ` aiohttp ` ` .
This allows you to check requests the library is using . For more information , check the
@ -1204,8 +1213,8 @@ class Client:
event : Literal [ ' raw_app_command_permissions_update ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ RawAppCommandPermissionsUpdateEvent ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ RawAppCommandPermissionsUpdateEvent ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > RawAppCommandPermissionsUpdateEvent :
. . .
@ -1215,8 +1224,8 @@ class Client:
event : Literal [ ' app_command_completion ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ Interaction [ Self ] , Union [ Command [ Any , . . . , Any ] , ContextMenu ] ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ Interaction [ Self ] , Union [ Command [ Any , . . . , Any ] , ContextMenu ] ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Tuple [ Interaction [ Self ] , Union [ Command [ Any , . . . , Any ] , ContextMenu ] ] :
. . .
@ -1228,8 +1237,8 @@ class Client:
event : Literal [ ' automod_rule_create ' , ' automod_rule_update ' , ' automod_rule_delete ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ AutoModRule ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ AutoModRule ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > AutoModRule :
. . .
@ -1239,8 +1248,8 @@ class Client:
event : Literal [ ' automod_action ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ AutoModAction ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ AutoModAction ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > AutoModAction :
. . .
@ -1252,8 +1261,8 @@ class Client:
event : Literal [ ' private_channel_update ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ GroupChannel , GroupChannel ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ GroupChannel , GroupChannel ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Tuple [ GroupChannel , GroupChannel ] :
. . .
@ -1263,8 +1272,8 @@ class Client:
event : Literal [ ' private_channel_pins_update ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ PrivateChannel , datetime . datetime ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ PrivateChannel , datetime . datetime ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Tuple [ PrivateChannel , datetime . datetime ] :
. . .
@ -1274,8 +1283,8 @@ class Client:
event : Literal [ ' guild_channel_delete ' , ' guild_channel_create ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ GuildChannel ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ GuildChannel ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > GuildChannel :
. . .
@ -1285,8 +1294,8 @@ class Client:
event : Literal [ ' guild_channel_update ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ GuildChannel , GuildChannel ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ GuildChannel , GuildChannel ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Tuple [ GuildChannel , GuildChannel ] :
. . .
@ -1302,7 +1311,7 @@ class Client:
bool ,
]
] ,
timeout : Optional [ float ] = None ,
timeout : Optional [ float ] = . . . ,
) - > Tuple [ Union [ GuildChannel , Thread ] , Optional [ datetime . datetime ] ] :
. . .
@ -1312,8 +1321,8 @@ class Client:
event : Literal [ ' typing ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ Messageable , Union [ User , Member ] , datetime . datetime ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ Messageable , Union [ User , Member ] , datetime . datetime ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Tuple [ Messageable , Union [ User , Member ] , datetime . datetime ] :
. . .
@ -1323,8 +1332,8 @@ class Client:
event : Literal [ ' raw_typing ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ RawTypingEvent ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ RawTypingEvent ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > RawTypingEvent :
. . .
@ -1336,8 +1345,8 @@ class Client:
event : Literal [ ' connect ' , ' disconnect ' , ' ready ' , ' resumed ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > None :
. . .
@ -1347,8 +1356,8 @@ class Client:
event : Literal [ ' shard_connect ' , ' shard_disconnect ' , ' shard_ready ' , ' shard_resumed ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ int ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ int ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > int :
. . .
@ -1358,8 +1367,8 @@ class Client:
event : Literal [ ' socket_event_type ' , ' socket_raw_receive ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ str ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ str ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > str :
. . .
@ -1369,8 +1378,8 @@ class Client:
event : Literal [ ' socket_raw_send ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ Union [ str , bytes ] ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ Union [ str , bytes ] ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Union [ str , bytes ] :
. . .
@ -1381,8 +1390,8 @@ class Client:
event : Literal [ ' entitlement_create ' , ' entitlement_update ' , ' entitlement_delete ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ Entitlement ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ Entitlement ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Entitlement :
. . .
@ -1399,8 +1408,8 @@ class Client:
] ,
/ ,
* ,
check : Optional [ Callable [ [ Guild ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ Guild ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Guild :
. . .
@ -1410,8 +1419,8 @@ class Client:
event : Literal [ ' guild_update ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ Guild , Guild ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ Guild , Guild ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Tuple [ Guild , Guild ] :
. . .
@ -1421,8 +1430,8 @@ class Client:
event : Literal [ ' guild_emojis_update ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ Guild , Sequence [ Emoji ] , Sequence [ Emoji ] ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ Guild , Sequence [ Emoji ] , Sequence [ Emoji ] ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Tuple [ Guild , Sequence [ Emoji ] , Sequence [ Emoji ] ] :
. . .
@ -1432,8 +1441,8 @@ class Client:
event : Literal [ ' guild_stickers_update ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ Guild , Sequence [ GuildSticker ] , Sequence [ GuildSticker ] ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ Guild , Sequence [ GuildSticker ] , Sequence [ GuildSticker ] ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Tuple [ Guild , Sequence [ GuildSticker ] , Sequence [ GuildSticker ] ] :
. . .
@ -1443,8 +1452,8 @@ class Client:
event : Literal [ ' invite_create ' , ' invite_delete ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ Invite ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ Invite ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Invite :
. . .
@ -1454,8 +1463,8 @@ class Client:
event : Literal [ ' audit_log_entry_create ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ AuditLogEntry ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ AuditLogEntry ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > AuditLogEntry :
. . .
@ -1467,8 +1476,8 @@ class Client:
event : Literal [ ' integration_create ' , ' integration_update ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ Integration ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ Integration ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Integration :
. . .
@ -1478,8 +1487,8 @@ class Client:
event : Literal [ ' guild_integrations_update ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ Guild ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ Guild ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Guild :
. . .
@ -1489,8 +1498,8 @@ class Client:
event : Literal [ ' webhooks_update ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ GuildChannel ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ GuildChannel ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > GuildChannel :
. . .
@ -1500,8 +1509,8 @@ class Client:
event : Literal [ ' raw_integration_delete ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ RawIntegrationDeleteEvent ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ RawIntegrationDeleteEvent ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > RawIntegrationDeleteEvent :
. . .
@ -1513,8 +1522,8 @@ class Client:
event : Literal [ ' interaction ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ Interaction [ Self ] ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ Interaction [ Self ] ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Interaction [ Self ] :
. . .
@ -1526,8 +1535,8 @@ class Client:
event : Literal [ ' member_join ' , ' member_remove ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ Member ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ Member ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Member :
. . .
@ -1537,8 +1546,8 @@ class Client:
event : Literal [ ' raw_member_remove ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ RawMemberRemoveEvent ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ RawMemberRemoveEvent ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > RawMemberRemoveEvent :
. . .
@ -1548,8 +1557,8 @@ class Client:
event : Literal [ ' member_update ' , ' presence_update ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ Member , Member ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ Member , Member ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Tuple [ Member , Member ] :
. . .
@ -1559,8 +1568,8 @@ class Client:
event : Literal [ ' user_update ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ User , User ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ User , User ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Tuple [ User , User ] :
. . .
@ -1570,8 +1579,8 @@ class Client:
event : Literal [ ' member_ban ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ Guild , Union [ User , Member ] ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ Guild , Union [ User , Member ] ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Tuple [ Guild , Union [ User , Member ] ] :
. . .
@ -1581,8 +1590,8 @@ class Client:
event : Literal [ ' member_unban ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ Guild , User ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ Guild , User ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Tuple [ Guild , User ] :
. . .
@ -1594,8 +1603,8 @@ class Client:
event : Literal [ ' message ' , ' message_delete ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ Message ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ Message ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Message :
. . .
@ -1605,8 +1614,8 @@ class Client:
event : Literal [ ' message_edit ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ Message , Message ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ Message , Message ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Tuple [ Message , Message ] :
. . .
@ -1616,8 +1625,8 @@ class Client:
event : Literal [ ' bulk_message_delete ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ List [ Message ] ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ List [ Message ] ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > List [ Message ] :
. . .
@ -1627,8 +1636,8 @@ class Client:
event : Literal [ ' raw_message_edit ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ RawMessageUpdateEvent ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ RawMessageUpdateEvent ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > RawMessageUpdateEvent :
. . .
@ -1638,8 +1647,8 @@ class Client:
event : Literal [ ' raw_message_delete ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ RawMessageDeleteEvent ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ RawMessageDeleteEvent ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > RawMessageDeleteEvent :
. . .
@ -1649,8 +1658,8 @@ class Client:
event : Literal [ ' raw_bulk_message_delete ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ RawBulkMessageDeleteEvent ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ RawBulkMessageDeleteEvent ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > RawBulkMessageDeleteEvent :
. . .
@ -1662,8 +1671,8 @@ class Client:
event : Literal [ ' reaction_add ' , ' reaction_remove ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ Reaction , Union [ Member , User ] ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ Reaction , Union [ Member , User ] ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Tuple [ Reaction , Union [ Member , User ] ] :
. . .
@ -1673,8 +1682,8 @@ class Client:
event : Literal [ ' reaction_clear ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ Message , List [ Reaction ] ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ Message , List [ Reaction ] ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Tuple [ Message , List [ Reaction ] ] :
. . .
@ -1684,8 +1693,8 @@ class Client:
event : Literal [ ' reaction_clear_emoji ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ Reaction ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ Reaction ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Reaction :
. . .
@ -1695,8 +1704,8 @@ class Client:
event : Literal [ ' raw_reaction_add ' , ' raw_reaction_remove ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ RawReactionActionEvent ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ RawReactionActionEvent ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > RawReactionActionEvent :
. . .
@ -1706,8 +1715,8 @@ class Client:
event : Literal [ ' raw_reaction_clear ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ RawReactionClearEvent ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ RawReactionClearEvent ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > RawReactionClearEvent :
. . .
@ -1717,8 +1726,8 @@ class Client:
event : Literal [ ' raw_reaction_clear_emoji ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ RawReactionClearEmojiEvent ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ RawReactionClearEmojiEvent ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > RawReactionClearEmojiEvent :
. . .
@ -1730,8 +1739,8 @@ class Client:
event : Literal [ ' guild_role_create ' , ' guild_role_delete ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ Role ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ Role ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Role :
. . .
@ -1741,8 +1750,8 @@ class Client:
event : Literal [ ' guild_role_update ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ Role , Role ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ Role , Role ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Tuple [ Role , Role ] :
. . .
@ -1754,8 +1763,8 @@ class Client:
event : Literal [ ' scheduled_event_create ' , ' scheduled_event_delete ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ ScheduledEvent ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ ScheduledEvent ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > ScheduledEvent :
. . .
@ -1765,8 +1774,8 @@ class Client:
event : Literal [ ' scheduled_event_user_add ' , ' scheduled_event_user_remove ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ ScheduledEvent , User ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ ScheduledEvent , User ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Tuple [ ScheduledEvent , User ] :
. . .
@ -1778,8 +1787,8 @@ class Client:
event : Literal [ ' stage_instance_create ' , ' stage_instance_delete ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ StageInstance ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ StageInstance ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > StageInstance :
. . .
@ -1789,8 +1798,8 @@ class Client:
event : Literal [ ' stage_instance_update ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ StageInstance , StageInstance ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ StageInstance , StageInstance ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Coroutine [ Any , Any , Tuple [ StageInstance , StageInstance ] ] :
. . .
@ -1801,8 +1810,8 @@ class Client:
event : Literal [ ' subscription_create ' , ' subscription_update ' , ' subscription_delete ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ Subscription ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ Subscription ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Subscription :
. . .
@ -1813,8 +1822,8 @@ class Client:
event : Literal [ ' thread_create ' , ' thread_join ' , ' thread_remove ' , ' thread_delete ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ Thread ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ Thread ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Thread :
. . .
@ -1824,8 +1833,8 @@ class Client:
event : Literal [ ' thread_update ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ Thread , Thread ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ Thread , Thread ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Tuple [ Thread , Thread ] :
. . .
@ -1835,8 +1844,8 @@ class Client:
event : Literal [ ' raw_thread_update ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ RawThreadUpdateEvent ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ RawThreadUpdateEvent ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > RawThreadUpdateEvent :
. . .
@ -1846,8 +1855,8 @@ class Client:
event : Literal [ ' raw_thread_delete ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ RawThreadDeleteEvent ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ RawThreadDeleteEvent ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > RawThreadDeleteEvent :
. . .
@ -1857,8 +1866,8 @@ class Client:
event : Literal [ ' thread_member_join ' , ' thread_member_remove ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ ThreadMember ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ ThreadMember ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > ThreadMember :
. . .
@ -1868,8 +1877,8 @@ class Client:
event : Literal [ ' raw_thread_member_remove ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ RawThreadMembersUpdate ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ RawThreadMembersUpdate ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > RawThreadMembersUpdate :
. . .
@ -1881,8 +1890,8 @@ class Client:
event : Literal [ ' voice_state_update ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ Member , VoiceState , VoiceState ] , bool ] ] ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ Member , VoiceState , VoiceState ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Tuple [ Member , VoiceState , VoiceState ] :
. . .
@ -1894,8 +1903,8 @@ class Client:
event : Literal [ ' poll_vote_add ' , ' poll_vote_remove ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ Union [ User , Member ] , PollAnswer ] , bool ] ] = None ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ Union [ User , Member ] , PollAnswer ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Tuple [ Union [ User , Member ] , PollAnswer ] :
. . .
@ -1905,8 +1914,8 @@ class Client:
event : Literal [ ' raw_poll_vote_add ' , ' raw_poll_vote_remove ' ] ,
/ ,
* ,
check : Optional [ Callable [ [ RawPollVoteActionEvent ] , bool ] ] = None ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ RawPollVoteActionEvent ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > RawPollVoteActionEvent :
. . .
@ -1918,8 +1927,8 @@ class Client:
event : Literal [ " command " , " command_completion " ] ,
/ ,
* ,
check : Optional [ Callable [ [ Context [ Any ] ] , bool ] ] = None ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ Context [ Any ] ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Context [ Any ] :
. . .
@ -1929,8 +1938,8 @@ class Client:
event : Literal [ " command_error " ] ,
/ ,
* ,
check : Optional [ Callable [ [ Context [ Any ] , CommandError ] , bool ] ] = None ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ [ Context [ Any ] , CommandError ] , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Tuple [ Context [ Any ] , CommandError ] :
. . .
@ -1940,8 +1949,8 @@ class Client:
event : str ,
/ ,
* ,
check : Optional [ Callable [ . . . , bool ] ] = None ,
timeout : Optional [ float ] = None ,
check : Optional [ Callable [ . . . , bool ] ] = . . . ,
timeout : Optional [ float ] = . . . ,
) - > Any :
. . .