Skip to main content

Module presence

Module presence 

Source
Expand description

The bot’s own presence (specification §10.5) and custom status (§8.3), shown to every member next to its name: “Listening to lofi radio”, “🎵 Type /play”.

Enums§

Status
invisible looks offline to everyone.

Functions§

set
Sets the bot’s status and activity (signal.presence). The host shows changes at most every 3 s: a later call within that time replaces an earlier one that has not gone out. The bot is online without an activity when it starts.
set_status_text
Sets the custom status text and emoji (member.status.set), kept until expires-at (or changed); none for both clears it.

Type Aliases§

Activity
HostError
Timestamp