editPresence

inline suspend fun editPresence(builder: PresenceBuilder.() -> Unit)(source)

Requests to edit the presence of the bot user configured by the builder. The new presence will be shown on all shards. Use MasterGateway.gateways or Event.gateway to set the presence of a single shard.

Throws

if anything went wrong during the request.