Skip to main content

Presence

The presence { } builder allows you to configure your bot's initial presence. This builder provides direct access to Kord's PresenceBuilder API.

ExtensibleBot(TOKEN) {
// ...

presence {
status = PresenceStatus.DoNotDisturb

competing("the Uptime League")
}
}

By default, Kord Extensions will simply mark your bot as online. Call the builder to change this behaviour. You can always update your bot's presence later, via the Kord object.

presence { ... }Receiver: PresenceBuilder

Set your bot's initial presence via the receiver.