Skip to main content

set

Function set 

Source
pub fn set(status: Status, activity: Option<&Activity>)
Expand description

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.