Client¶
Note
Keep in mind that this is not generally used by you, but rather by discord.http only.
discord_http.gateway.client module¶
- class discord_http.gateway.client.GatewayClient(bot, *, cache_flags=None, intents=None, automatic_shards=True, shard_id=None, shard_count=1, shard_ids=None, max_concurrency=None)¶
Bases:
object
- Parameters:
- async change_presence(status) None ¶
Changes the presence of all shards to the specified status.
- Parameters:
status (
PlayingStatus
) – The status to change to.- Return type: