setStatus
suspend fun setStatus(status: UserStatus, isAfk: Boolean = false, idleTime: Int? = null, activity: UserStatusActivity? = null)(source)
Sets the user status in Discord.
Parameters
status
The user status to set to.
isAfk
If the user is AFK.
idleTime
How long the user has been idle, in milliseconds.
activity
The activity, if any, that the user is performing.