# Function presence::set_status

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

`zaun_bot::presence::set_status` · Function

```rust
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
The host's refusal.

[Full rustdoc page](/docs/api/rust/zaun-bot/zaun_bot/presence/fn.set_status.html)
