# Function bindings::zaun::bot::audio::close

> Closes the stream: once the buffer has played (`drain`), or at once. The player resumes. Nothing happens without a stream.

`zaun_bot::bindings::zaun::bot::audio::close` · Function

```rust
pub fn close(drain: bool)
```

Closes the stream: once the buffer has played (`drain`), or at once. The player
resumes. Nothing happens without a stream.

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