# Examples

> Complete, working bots and programs with explanations, in TypeScript and Rust.

## Hosted bots (zaun-bot: TypeScript and Rust)

Every hosted-bot example is shown in TypeScript (`@zaun/bot`) and Rust (`zaun-bot`), doing exactly
the same thing.

	- [Ping](/docs/examples/ping/): One slash command, one reply.
	- [Poll with buttons](/docs/examples/poll-buttons/): Buttons that update a message in place.
	- [Feedback form](/docs/examples/feedback-modal/): A modal, an ephemeral thanks, and a follow-up.
	- [Welcome DM](/docs/examples/welcome-dm/): Member events and direct messages.
	- [Music in voice](/docs/examples/music/): Voice channels, a queue and control buttons.

## With zaun-client (JavaScript and Rust)

	- [Ping bot](/docs/examples/client-ping-bot/): An external bot answering text commands.
