+
Skip to content

Tags: TomerRon/cordless

Tags

v3.0.0

Toggle v3.0.0's commit message
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.

v3.0.0-beta.7

Toggle v3.0.0-beta.7's commit message
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

v3.0.0-beta.6

Toggle v3.0.0-beta.6's commit message
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.

v3.0.0-beta.5

Toggle v3.0.0-beta.5's commit message
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))

v3.0.0-beta.4

Toggle v3.0.0-beta.4's commit message
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))

v3.0.0-beta.3

Toggle v3.0.0-beta.3's commit message
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.

v3.0.0-beta.2

Toggle v3.0.0-beta.2's commit message
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))

v3.0.0-beta.1

Toggle v3.0.0-beta.1's commit message
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.

v2.2.0

Toggle v2.2.0's commit message
chore(release): 2.2.0 [skip ci]

# [2.2.0](v2.1.0...v2.2.0) (2022-07-02)

### Features

* **functions:** allow functions to subscribe to any Discord event, not just messageCreate ([cd2887b](cd2887b))

v2.1.0

Toggle v2.1.0's commit message
chore(release): 2.1.0 [skip ci]

# [2.1.0](v2.0.0...v2.1.0) (2022-06-04)

### Features

* **client:** add gateway intents ([bb79b53](bb79b53))
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载