K
Kord•13mo ago
BEQI

Custom status/activity

How to create custom status/activity - without "playing" and the like?
client.editPresence {
status = PresenceStatus.DoNotDisturb
}
client.editPresence {
status = PresenceStatus.DoNotDisturb
}
No description
No description
10 Replies
g
g•13mo ago
You have to have a prefix for your activity by setting the type There's a few to choose from but yeah you can't get rid of it
BEQI
BEQIOP•13mo ago
In python (disnake) it is possible. I can't find my screenshots, but anyway there is another bots
No description
BEQI
BEQIOP•13mo ago
I didn't fully understand what you meant. Maybe somewhere in the documentation there is the information I need?
g
g•13mo ago
Ah interesting, maybe this is a new thing
BEQI
BEQIOP•13mo ago
At least this one is 3 years old😑 Maybe more
BEQI
BEQIOP•13mo ago
No. Nothing usefull. I've already know how to make custom status
BEQI
BEQIOP•13mo ago
No description
g
g•13mo ago
That's not for you to learn, it's to fix the problem
BEQI
BEQIOP•13mo ago
val statuses = listOf(
"👥$totalMembers│👤$totalUsers│🖥$totalBots",
"📅$formattedTime│🌲${days}d"
)
val stats = statuses.random()
client.editPresence {
status = PresenceStatus.DoNotDisturb
state = stats
}
val statuses = listOf(
"👥$totalMembers│👤$totalUsers│🖥$totalBots",
"📅$formattedTime│🌲${days}d"
)
val stats = statuses.random()
client.editPresence {
status = PresenceStatus.DoNotDisturb
state = stats
}
I just added state = stats

Did you find this page helpful?