# Changelog

All notable changes to this project will be documented in this file.

# [create-discord-bot@4.0.0](https://github.com/discordjs/discord.js/compare/create-discord-bot@1.0.0...create-discord-bot@4.0.0) - (2025-06-21)

## Bug Fixes

- Structure imports on windows (#10835) ([5c0b714](https://github.com/discordjs/discord.js/commit/5c0b714557ce86d793145445ff5f103b6962ec11)) by @almeidx
- **create-discord-bot:** Register command files in subdirectories (#10775) ([79b79b6](https://github.com/discordjs/discord.js/commit/79b79b6a44967d9ed1e449b49a851b417afb263b)) by @schrodienieur

## Documentation

- Guide setup (#10862) ([2184085](https://github.com/discordjs/discord.js/commit/2184085fdaf00c982130212eb27ab878df2c3e1e)) by @iCrawl
- Fix close tags (#10756) ([5c49b6d](https://github.com/discordjs/discord.js/commit/5c49b6d9af9b0e69c4792ef4be831607675d418c)) by @Jiralite

## Refactor

- Remove `registerEvents` function (#10877) ([2c21de6](https://github.com/discordjs/discord.js/commit/2c21de68f3bd1faa52e14cc70aebc322cf4bdd56)) by @sdanialraza
- **constants:** Update guide URL (#10803) ([eabcc52](https://github.com/discordjs/discord.js/commit/eabcc52594c2237666bbbbbc89c66d5e34ef29bb)) by @Jiralite

## Build

- Bump Node.js to 22.12.0 (#10726) ([3db8ce7](https://github.com/discordjs/discord.js/commit/3db8ce70a2d20bd2def70a2c839b015bc24195eb)) by @Jiralite
  - **BREAKING CHANGE:** Node.js 22.12.0 or above is required.
- Bumps the version of create-discord-bot and create-discord-app to `4.0.0` for consistency

### New Contributors

* @schrodienieur made their first contribution in #10775
* @nsgpriyanshu made their first contribution in #10428

# [create-discord-bot@1.0.0](https://github.com/discordjs/discord.js/compare/create-discord-bot@0.3.1...create-discord-bot@1.0.0) - (2025-01-01)

## Features

- Upgrade create-discord-bot dependencies (#10673) ([a111cdd](https://github.com/discordjs/discord.js/commit/a111cddcea13afa24cde7fc39f60a62abec539cf)) by @Jiralite

### New Contributors

* @Jiralite made their first contribution in #10673
* @almeidx made their first contribution in #10671
* @ckohen made their first contribution in #10471

# [create-discord-bot@0.3.1](https://github.com/discordjs/discord.js/compare/create-discord-bot@0.3.0...create-discord-bot@0.3.1) - (2024-09-01)

## Bug Fixes

- Failed build in node and bad lints (#10444) ([00accf7](https://github.com/discordjs/discord.js/commit/00accf74708b4ce8a032907005ae81460b79a988))

# [create-discord-bot@0.3.0](https://github.com/discordjs/discord.js/compare/create-discord-bot@0.2.3...create-discord-bot@0.3.0) - (2024-05-04)

## Bug Fixes

- **Bun:** Fix typo for Bun template (#9987) ([ce0be39](https://github.com/discordjs/discord.js/commit/ce0be392d818b13ba5a081811519b559202cdba8))

## Features

- Local and preview detection ([79fbda3](https://github.com/discordjs/discord.js/commit/79fbda3aac6d4f0f8bfb193e797d09cbe331d315))

## Refactor

- Docs (#10126) ([18cce83](https://github.com/discordjs/discord.js/commit/18cce83d80598c430218775c53441b6b2ecdc776))
- Improve structure validation with zod (#10103) ([1d56544](https://github.com/discordjs/discord.js/commit/1d565443b0edc46d785f1993d743f683f19bcbb4))

# [create-discord-bot@0.2.3](https://github.com/discordjs/discord.js/compare/create-discord-bot/0.2.2...create-discord-bot/0.2.3) - (2023-11-12)

## Bug Fixes

- Import picocolors as default (#9949) ([8a6045f](https://github.com/discordjs/discord.js/commit/8a6045f6003971dbf64c8576f08631751b982ae4))

## Features

- Bump package versions ([e8bd354](https://github.com/discordjs/discord.js/commit/e8bd35405239616b12cb5f09eb983f5251298aca))

# [create-discord-bot@0.2.2](https://github.com/discordjs/discord.js/compare/create-discord-bot@0.2.1...create-discord-bot@0.2.2) - (2023-11-12)

## Bug Fixes

- Update module to `NodeNext` in tsconfig.json (#9875) ([f586283](https://github.com/discordjs/discord.js/commit/f58628385cf9df2afc5f543141ed76fbba74aa22))

## Documentation

- **create-discord-bot:** Support bun in create-discord-bot (#9798) ([7157748](https://github.com/discordjs/discord.js/commit/7157748fe3a69265896adf0450cd3f37acbcf97b))

## Features

- Add `no-install` option (#9604) ([8325fa6](https://github.com/discordjs/discord.js/commit/8325fa65409c157da3448da40669c92c636b3f14))
- **create-discord-bot:** Bun/deno templates (#9795) ([dd5e745](https://github.com/discordjs/discord.js/commit/dd5e7453e89ae918b94de1c13ce53c7cfd373721))

# [create-discord-bot@0.2.1](https://github.com/discordjs/discord.js/compare/create-discord-bot@0.2.0...create-discord-bot@0.2.1) - (2023-08-17)

## Bug Fixes

- **create-discord-bot:** Add shebang in main file (#9747) ([99194fc](https://github.com/discordjs/discord.js/commit/99194fc2703988693264ef4a7c2d7bb040c39fa8))

# [create-discord-bot@0.2.0](https://github.com/discordjs/discord.js/compare/create-discord-bot@0.1.0...create-discord-bot@0.2.0) - (2023-07-31)

## Bug Fixes

- Resolve imports for Windows (#9546) ([b6162bc](https://github.com/discordjs/discord.js/commit/b6162bc5b582089a9405d29f6825d9748180f66a))
- Non-existing data property (#9544) ([5b8d535](https://github.com/discordjs/discord.js/commit/5b8d535fd633ff25dd801f35e13b4cb169cc42ac))
- **create-discord-bot:** Fix start script (#9542) ([8482e3c](https://github.com/discordjs/discord.js/commit/8482e3c95dd5ca086805e756afdcf787e3fea1f9))

## Documentation

- Add Cloudflare sponsorship in `create-discord-bot` readme (#9540) ([12482b7](https://github.com/discordjs/discord.js/commit/12482b70ed4bfadf26720f9b2ed9d7bf7ccc39b8))

## Features

- **create-discord-bot:** Throw error if the directory is a file (#9719) ([351a18b](https://github.com/discordjs/discord.js/commit/351a18bc35da7765d281e419b646ef734a315bdf))
- **create-discord-bot:** Add prompts, command handler and deployment script (#9570) ([84f1b18](https://github.com/discordjs/discord.js/commit/84f1b1890de5add805bef1a030b0ade3c6aca213))
- Check for empty directory (#9539) ([64324a8](https://github.com/discordjs/discord.js/commit/64324a8be13dc2b766636a1042ae13d3d52a5c79))
- **create-discord-bot:** Inherit stdio when installing deps (#9543) ([c4a3120](https://github.com/discordjs/discord.js/commit/c4a3120354ea3930e010ba011216e42311e29cdb))

# [create-discord-bot@0.1.0](https://github.com/discordjs/discord.js/tree/create-discord-bot@0.1.0) - (2023-05-07)

## Features

- Create-discord-bot (#9420) ([f83a8a5](https://github.com/discordjs/discord.js/commit/f83a8a58c99532131848f9d89cec58ae5cd5d138))
