> For the complete documentation index, see [llms.txt](https://unbot.gitbook.io/unbot-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://unbot.gitbook.io/unbot-docs/unbot/setup-with-bun/project-setup/dependencies.md).

# Dependencies

## Managing Dependencies in Unbot

Dependencies are external libraries or packages that Unbot relies on to provide its functionality. Managing these dependencies effectively is key to ensuring the bot remains stable and efficient. Here's how to manage and understand the dependencies in Unbot.

### Core Dependencies

* **@napi-rs/canvas** and **canvas**: Used for image manipulation and generation, crucial for commands that require visual elements.
* **@supabase/supabase-js**: Integrates Unbot with Supabase for database storage and real-time data functionality.
* **bad-words**: A simple library to filter out profanity, enhancing moderation capabilities.
* **captcha-canvas**: Generates CAPTCHA images to verify users, improving security.
* **chalk**: Enables colored output in the console, useful for debugging and logging.
* **discord.js**: The core library that allows Unbot to interact with the Discord API.
* **dotenv**: Loads environment variables from a `.env` file, essential for managing sensitive information like bot tokens.

### Adding a Dependency

To add a new dependency, use Bun's package manager with the following command:

```bash
bun add <package-name>
```
