# Function bindings::zaun::bot::presence::set_status_text

> Sets the custom status text and emoji (`member.status.set`), kept until `expires-at` (or changed); `none` for both clears it.

`zaun_bot::bindings::zaun::bot::presence::set_status_text` · Function

```rust
pub fn set_status_text(text: Option<&str>, emoji: Option<&str>, expires_at: Option<Timestamp>) -> Result<(), HostError>
```

Sets the custom status text and emoji (`member.status.set`), kept until `expires-at`
(or changed); `none` for both clears it.

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