toggle menu
kord
0.16.0-SNAPSHOT
common
switch theme
search in API
kord-gateway
/
dev.kord.gateway.builder
/
PresenceBuilder
Presence
Builder
class
PresenceBuilder
(
source
)
Members
Constructors
Presence
Builder
Link copied to clipboard
constructor
(
)
Properties
afk
Link copied to clipboard
var
afk
:
Boolean
since
Link copied to clipboard
var
since
:
Instant
?
state
Link copied to clipboard
var
state
:
String
?
status
Link copied to clipboard
var
status
:
PresenceStatus
Functions
competing
Link copied to clipboard
fun
competing
(
name
:
String
)
listening
Link copied to clipboard
fun
listening
(
name
:
String
)
playing
Link copied to clipboard
fun
playing
(
name
:
String
)
streaming
Link copied to clipboard
fun
streaming
(
name
:
String
,
url
:
String
)
to
Presence
Link copied to clipboard
fun
toPresence
(
)
:
DiscordPresence
to
Update
Status
Link copied to clipboard
fun
toUpdateStatus
(
)
:
UpdateStatus
watching
Link copied to clipboard
fun
watching
(
name
:
String
)