Function presence::set_status
zaun_bot::presence::set_status · Function
pub fn set_status(text: Option<&str>, emoji: Option<&str>, expires_at: Option<u64>) -> Result<(), HostError>Sets the custom status text and emoji, cleared by the host at expires_at (ms) if given.
Errors
Section titled “Errors”The host’s refusal.