Skip to content

const presence: object

Defined in: sdk/js/src/presence.ts:83

The bot’s presence and custom status text.

clearStatus(): void

Clears the custom status text and emoji.

void

set(status, activity?): void

Sets the status and activity (none: no activity).

PresenceStatus

Activity

void

setStatus(text?, emoji?, expiresAt?): void

Sets the custom status text and emoji, cleared by the host at expiresAt (ms) if given.

string

string

number | bigint

void

setStatusText(text): void

Sets the custom status text, kept until changed.

string

void