Releases: TomerRon/cordless
Releases · TomerRon/cordless
v3.0.0
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 ashandlers: [...]
instead offunctions: [...]
.
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 toawait 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
3.0.0-beta.7 (2022-07-22)
chore
- deps: upgrade discord.js to v14 (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
3.0.0-beta.6 (2022-07-20)
Features
BREAKING CHANGES
- events: Bot functions (
BotFunction
) are now called event handlers (BotEventHandler
).
Event handlers should now be passed into the initialization method ashandlers: [...]
instead offunctions: [...]
.
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
v3.0.0-beta.4
v3.0.0-beta.3
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 toawait init()
if you want to use the returned client.
v3.0.0-beta.2
v3.0.0-beta.1
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.