Skip to content

Function bindings::zaun::bot::presence::set

zaun_bot::bindings::zaun::bot::presence::set · Function

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

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.

Full rustdoc page