K
Kord•2mo 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
gdude
gdude•2mo 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•2mo ago
In python (disnake) it is possible. I can't find my screenshots, but anyway there is another bots
No description
BEQI
BEQIOP•2mo ago
I didn't fully understand what you meant. Maybe somewhere in the documentation there is the information I need?
gdude
gdude•2mo ago
Ah interesting, maybe this is a new thing
BEQI
BEQIOP•2mo ago
At least this one is 3 years old😑 Maybe more
BEQI
BEQIOP•2mo ago
No. Nothing usefull. I've already know how to make custom status
BEQI
BEQIOP•2mo ago
No description
gdude
gdude•2mo ago
That's not for you to learn, it's to fix the problem
BEQI
BEQIOP•2mo 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?