|
| 1 | +--- |
| 2 | +title: Release Notes - BryanBot v2.0.0 |
| 3 | +description: Release notes for BryanBot version v2.0.0 |
| 4 | +slug: release-2.0.0 |
| 5 | +authors: [59L, simonb50] |
| 6 | +tags: [release] |
| 7 | +hide_table_of_contents: false |
| 8 | +--- |
| 9 | + |
| 10 | +# Release Notes - BryanBot v2.0.0 |
| 11 | + |
| 12 | +We are thrilled to announce the release of version **v2.0.0** of **BryanBot**! <br /> |
| 13 | +This release is complete rewrite of the bot, with a new codebase and features. This release is the result of months of hard work from the development team and we are excited to share it with you. |
| 14 | + |
| 15 | +<!-- truncate --> |
| 16 | + |
| 17 | +--- |
| 18 | + |
| 19 | +## 🚀 New Features |
| 20 | +1. New Logging System |
| 21 | + - Added a new logging system with new chalk based colors system. |
| 22 | +2. Folder-based addons |
| 23 | + - Addons can now be folder-based instead of a single file. |
| 24 | + - For it to work, the folder must contain an `index.js` file. |
| 25 | +3. Added utility for creating modals |
| 26 | + - You can now easily create modals using the new `setupModal` utility. |
| 27 | + - It is based on `setupComponents` and supports variables. |
| 28 | +4. Created `findTextChannel` and `findVoiceChannel` methods |
| 29 | + - These methods allow you to find a text or voice channel by name. |
| 30 | + - You can use these by directly calling them or using `text` or `voice` as a type in `findChannel`. |
| 31 | +5. Added new methods to include more developer info in the addon object |
| 32 | + - `setDeveloper` - Developer name (required) |
| 33 | + - `setDiscord` - Discord support server invite url (optional) |
| 34 | + - `setDocs` - Documentation link (optional) |
| 35 | + - `setAdditional` - Additional info (optional) |
| 36 | +6. Eval command |
| 37 | + - Added an eval command for easier debugging. |
| 38 | + |
| 39 | +## 💡 Improvements |
| 40 | +1. Reworked all existing commands. |
| 41 | +2. Added more error handling for better both user and developer experience. |
| 42 | +3. Created `createVariable` method for easier variable creation. |
| 43 | + |
| 44 | +## 🐛 Bug Fixes |
| 45 | +1. Fixed some broken JSDoc comments with wrong types. |
| 46 | +2. Fixed some validators not working as expected. |
| 47 | + |
| 48 | +## ⚠️ Breaking Changes |
| 49 | +This is complete rewrite of the bot. Neither old addons nor old bod config files will work with this release. <br /> |
| 50 | +You will need to update your addons and bot config files to work with this release. <br /> |
| 51 | +Some addons may have the same config files as before, but you will need to verify that with their developer(s). |
| 52 | + |
| 53 | +## 📥 How to Update |
| 54 | +Since this is a major release, you will need to replace the old bot with the new one. <br /> |
| 55 | +Old addons will not work with this release, so you will need to update them as well. <br /> |
| 56 | + |
| 57 | +--- |
| 58 | + |
| 59 | +Feel free to report issues or provide feedback on our [GitHub Issues page](https://github.com/BryanBotDev/BryanBot/issues) or join our [Discord Support Server link](https://discord.gg/GvyuDDFeZU). Let us know what you’d like to see in future releases! |
| 60 | + |
| 61 | +Happy Coding! <br /> |
| 62 | +– The BryanBot Team |
0 commit comments