Tags: TomerRon/cordless
Tags
chore(release): 3.0.0 [skip ci] # [3.0.0](v2.2.0...v3.0.0) (2022-07-22) ### chore * **deps:** upgrade discord.js to v14 ([cca5cea](cca5cea)) ### Features * **client:** modify initialization behavior to return a logged-in client ([bdc902a](bdc902a)) * **commands:** Add Application Commands integration ([cb3a55f](cb3a55f)) * **commands:** allow commands to receive components ([2569f9a](2569f9a)) * **commands:** allow commands to receive options ([f283a00](f283a00)) * **commands:** allow commands to receive subcommands ([14449ae](14449ae)) * **events:** refactor BotFunction into BotEventHandler ([3379609](3379609)) * **events:** remove help command ([c1bd973](c1bd973)) ### BREAKING CHANGES * **deps:** Discord.js has been upgraded to v14. Now uses Discord API v10. See: https://discordjs.guide/additional-info/changes-in-v14.html * **events:** Bot functions (`BotFunction`) are now called event handlers (`BotEventHandler`). Event handlers should now be passed into the initialization method as `handlers: [...]` instead of `functions: [...]`. It is no longer required to pass a list of handlers on initialization. * **events:** The help command has been removed - it is no longer useful because commands can describe themselves. Bot functions can no longer receieve a name and a description. * **client:** The init method now returns a `Promise<Discord.Client<true>>`. You now need to `await init()` if you want to use the returned client. * **commands:** With the introduction of Application Commands, the bot token must now be passed into the initialization method (even if you are not using commands). Also, the client now logs in automatically, so you should not call `.login(token)` anymore.
chore(release): 3.0.0-beta.7 [skip ci] # [3.0.0-beta.7](v3.0.0-beta.6...v3.0.0-beta.7) (2022-07-22) ### chore * **deps:** upgrade discord.js to v14 ([cca5cea](cca5cea)) ### BREAKING CHANGES * **deps:** Discord.js has been upgraded to v14. Now uses Discord API v10. See: https://discordjs.guide/additional-info/changes-in-v14.html
chore(release): 3.0.0-beta.6 [skip ci] # [3.0.0-beta.6](v3.0.0-beta.5...v3.0.0-beta.6) (2022-07-20) ### Features * **events:** refactor BotFunction into BotEventHandler ([3379609](3379609)) * **events:** remove help command ([c1bd973](c1bd973)) ### BREAKING CHANGES * **events:** Bot functions (`BotFunction`) are now called event handlers (`BotEventHandler`). Event handlers should now be passed into the initialization method as `handlers: [...]` instead of `functions: [...]`. It is no longer required to pass a list of handlers on initialization. * **events:** The help command has been removed - it is no longer useful because commands can describe themselves. Bot functions can no longer receieve a name and a description.
chore(release): 3.0.0-beta.5 [skip ci] # [3.0.0-beta.5](v3.0.0-beta.4...v3.0.0-beta.5) (2022-07-19) ### Features * **commands:** allow commands to receive components ([2569f9a](2569f9a))
chore(release): 3.0.0-beta.4 [skip ci] # [3.0.0-beta.4](v3.0.0-beta.3...v3.0.0-beta.4) (2022-07-18) ### Features * **commands:** allow commands to receive subcommands ([14449ae](14449ae))
chore(release): 3.0.0-beta.3 [skip ci] # [3.0.0-beta.3](v3.0.0-beta.2...v3.0.0-beta.3) (2022-07-17) ### Features * **client:** modify initialization behavior to return a logged-in client ([bdc902a](bdc902a)) ### BREAKING CHANGES * **client:** The init method now returns a `Promise<Discord.Client<true>>`. You now need to `await init()` if you want to use the returned client.
chore(release): 3.0.0-beta.2 [skip ci] # [3.0.0-beta.2](v3.0.0-beta.1...v3.0.0-beta.2) (2022-07-17) ### Features * **commands:** allow commands to receive options ([f283a00](f283a00))
chore(release): 3.0.0-beta.1 [skip ci] # [3.0.0-beta.1](v2.2.0...v3.0.0-beta.1) (2022-07-16) ### Features * **commands:** Add Application Commands integration ([cb3a55f](cb3a55f)) ### BREAKING CHANGES * **commands:** With the introduction of Application Commands, the bot token must now be passed into the initialization method (even if you are not using commands). Also, the client now logs in automatically, so you should not call `.login(token)` anymore.
PreviousNext