# Function command::object::bot_events::wants

> Whether a bot subscribed to `events` (and holding `caps`) gets events of `kind`.

`zaun_community_protocol::command::object::bot_events::wants` · Function

```rust
pub fn wants(events: &[String], caps: &Capabilities, kind: &str) -> bool
```

Whether a bot subscribed to `events` (and holding `caps`) gets events of `kind`.

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/command/object/bot/events/fn.wants.html)
