+
Skip to content

Releases: TomerRon/cordless

v3.0.0

22 Jul 20:26
Compare
Choose a tag to compare

3.0.0 (2022-07-22)

chore

  • deps: upgrade discord.js to v14 (cca5cea)

Features

  • client: modify initialization behavior to return a logged-in client (bdc902a)
  • commands: Add Application Commands integration (cb3a55f)
  • commands: allow commands to receive components (2569f9a)
  • commands: allow commands to receive options (f283a00)
  • commands: allow commands to receive subcommands (14449ae)
  • events: refactor BotFunction into BotEventHandler (3379609)
  • events: remove help command (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

22 Jul 19:32
Compare
Choose a tag to compare
v3.0.0-beta.7 Pre-release
Pre-release

3.0.0-beta.7 (2022-07-22)

chore

  • deps: upgrade discord.js to v14 (cca5cea)

BREAKING CHANGES

v3.0.0-beta.6

20 Jul 15:01
Compare
Choose a tag to compare
v3.0.0-beta.6 Pre-release
Pre-release

3.0.0-beta.6 (2022-07-20)

Features

  • events: refactor BotFunction into BotEventHandler (3379609)
  • events: remove help command (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

19 Jul 22:37
Compare
Choose a tag to compare
v3.0.0-beta.5 Pre-release
Pre-release

3.0.0-beta.5 (2022-07-19)

Features

  • commands: allow commands to receive components (2569f9a)

v3.0.0-beta.4

18 Jul 17:10
Compare
Choose a tag to compare
v3.0.0-beta.4 Pre-release
Pre-release

3.0.0-beta.4 (2022-07-18)

Features

  • commands: allow commands to receive subcommands (14449ae)

v3.0.0-beta.3

17 Jul 21:11
Compare
Choose a tag to compare
v3.0.0-beta.3 Pre-release
Pre-release

3.0.0-beta.3 (2022-07-17)

Features

  • client: modify initialization behavior to return a logged-in client (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

17 Jul 18:40
Compare
Choose a tag to compare
v3.0.0-beta.2 Pre-release
Pre-release

3.0.0-beta.2 (2022-07-17)

Features

  • commands: allow commands to receive options (f283a00)

v3.0.0-beta.1

16 Jul 18:46
Compare
Choose a tag to compare
v3.0.0-beta.1 Pre-release
Pre-release

3.0.0-beta.1 (2022-07-16)

Features

  • commands: Add Application Commands integration (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

02 Jul 15:45
Compare
Choose a tag to compare

2.2.0 (2022-07-02)

Features

  • functions: allow functions to subscribe to any Discord event, not just messageCreate (cd2887b)

v2.1.0

04 Jun 16:35
Compare
Choose a tag to compare

2.1.0 (2022-06-04)

Features

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