Socket
Socket
Sign inDemoInstall

discordx

Package Overview
Dependencies
Maintainers
1
Versions
617
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discordx - npm Package Compare versions

Comparing version 11.3.0 to 11.4.0

159

CHANGELOG.md

@@ -1,5 +0,12 @@

# Stage
## Changed
# [v11.2.0](https://github.com/discordx-ts/discordx/releases/tag/v11.2.0) (2022-09-13)
- remove defaults from decorators ([#869](https://github.com/discordx-ts/discordx/issues/869)) ([b74975](https://github.com/discordx-ts/discordx/commit/b74975c932e1cf313fa2202b1a538e4c52ce90e8))
## Fixed
- localization for sub command ([50ccb0](https://github.com/discordx-ts/discordx/commit/50ccb0229205244be2c444e2dca86879e5414e99))
- slash grouping ([c2db36](https://github.com/discordx-ts/discordx/commit/c2db365ac831cda004fe06306e9b049acc5c0180))
# [11.2.0](https://github.com/discordx-ts/discordx/releases/tag/discordx-11.2.0) (2022-09-13)
## Features

@@ -50,3 +57,3 @@

# [v11.0.8](https://github.com/discordx-ts/discordx/releases/tag/v11.0.8) (2022-08-07)
# [11.0.8](https://github.com/discordx-ts/discordx/releases/tag/discordx-11.0.8) (2022-08-07)

@@ -77,20 +84,8 @@ ## Features

# [v10.0.0](https://github.com/discordx-ts/discordx/releases/tag/v10.0.0) (2022-07-19)
# [10.0.0](https://github.com/discordx-ts/discordx/releases/tag/discordx-10.0.0) (2022-07-19)
## Changed
## Breaking Changes
- djs v14 ([#836](https://github.com/discordx-ts/discordx/issues/836)) ([b198ea](https://github.com/discordx-ts/discordx/commit/b198ea53ee7a64a8c5e5a1fb19c23a27a4734de6))
- improvement to slash choice ([#611](https://github.com/discordx-ts/discordx/issues/611)) ([440897](https://github.com/discordx-ts/discordx/commit/4408978e94fe1b73540ee06b5b2452030a2bd590))
# [v9.9.0](https://github.com/discordx-ts/discordx/releases/tag/v9.9.0) (2022-07-19)
## Changed
- djs v13.9.0 ([#821](https://github.com/discordx-ts/discordx/issues/821)) ([b82d28](https://github.com/discordx-ts/discordx/commit/b82d28fcedb7687ff5364e0154307ee9855f646e))
## Fixed
- mismatched modal and select menu log type ([88c3ce](https://github.com/discordx-ts/discordx/commit/88c3cee14187f87836c8e688171b21c33c99eb46))
# [v9.8.0](https://github.com/discordx-ts/discordx/releases/tag/v9.8.0) (2022-06-28)
## Features

@@ -100,21 +95,10 @@

- add group localization ([7b37be](https://github.com/discordx-ts/discordx/commit/7b37be0b6e44159feadf52e5bb446689e44d368f))
- add rate limit guard in utilities ([#491](https://github.com/discordx-ts/discordx/issues/491)) ([a78ef0](https://github.com/discordx-ts/discordx/commit/a78ef08f90b2075efe967ca6b5900984976398e9))
## Changed
- djs v14 ([#836](https://github.com/discordx-ts/discordx/issues/836)) ([b198ea](https://github.com/discordx-ts/discordx/commit/b198ea53ee7a64a8c5e5a1fb19c23a27a4734de6))
- djs v13.9.0 ([#821](https://github.com/discordx-ts/discordx/issues/821)) ([b82d28](https://github.com/discordx-ts/discordx/commit/b82d28fcedb7687ff5364e0154307ee9855f646e))
- upgrade djs ([9773e0](https://github.com/discordx-ts/discordx/commit/9773e01fe4ac5bdc400b7a4ceb0b0ce71a07c8b1))
- init applications - use set operation ([#701](https://github.com/discordx-ts/discordx/issues/701)) ([e6b96b](https://github.com/discordx-ts/discordx/commit/e6b96b8c8df2f9043783b689bd414c63741efd85))
## Fixed
- resolve [#761](https://github.com/discordx-ts/discordx/issues/761) ([68096f](https://github.com/discordx-ts/discordx/commit/68096f7f6c6bb1b3af9aac89780d857bd10cb198))
- solve rate limits in clear commands ([#726](https://github.com/discordx-ts/discordx/issues/726)) ([a2552b](https://github.com/discordx-ts/discordx/commit/a2552bf37baa19cfb32419723d4a83327c902ef2))
## Routine Tasks
- add task disabled note ([3d0a95](https://github.com/discordx-ts/discordx/commit/3d0a95cb1d6d5c986ed5f154c07e3a0b2556134b))
# [v9.6.0](https://github.com/discordx-ts/discordx/releases/tag/v9.6.0) (2022-05-15)
## Changed
- djs v13.7.0 ([#699](https://github.com/discordx-ts/discordx/issues/699)) ([170d99](https://github.com/discordx-ts/discordx/commit/170d99b9b51101810f6ab73f32100d364611957d))

@@ -125,15 +109,2 @@ - update djs ([ed294e](https://github.com/discordx-ts/discordx/commit/ed294e3e588ac2c5095011bc2760f463da426265))

- use proper logger method ([#613](https://github.com/discordx-ts/discordx/issues/613)) ([1628e5](https://github.com/discordx-ts/discordx/commit/1628e5a5740bc9d62f0da159a3dd7efda729a37c))
## Fixed
- broken links ([0c9054](https://github.com/discordx-ts/discordx/commit/0c9054ac20766386b8eddffd20f143fe19d1c497))
# [v9.5.0](https://github.com/discordx-ts/discordx/releases/tag/v9.5.0) (2022-04-01)
## Breaking Changes
- improvement to slash choice ([#611](https://github.com/discordx-ts/discordx/issues/611)) ([440897](https://github.com/discordx-ts/discordx/commit/4408978e94fe1b73540ee06b5b2452030a2bd590))
## Changed
- add button tests ([a56ee4](https://github.com/discordx-ts/discordx/commit/a56ee40f121922ef629f3112dafbede903db25d3))

@@ -145,31 +116,4 @@ - add isBotAllowed on event ([6f7856](https://github.com/discordx-ts/discordx/commit/6f78567e4edf16be815a28ad0dee5e39a688b02e))

- guild check ([#579](https://github.com/discordx-ts/discordx/issues/579)) ([1ef0fd](https://github.com/discordx-ts/discordx/commit/1ef0fd6457ba2b268df482a96a9652047b42ddec))
## Fixed
- isGuildAllowed ([98d7c7](https://github.com/discordx-ts/discordx/commit/98d7c782fbc4a8417a0ac264dab31cd6229b4ce0))
## Documentation
- typo ([81fab1](https://github.com/discordx-ts/discordx/commit/81fab1ad139b9bf24ee5dee43ea7fc9251564daf))
# [v9.4.1](https://github.com/discordx-ts/discordx/releases/tag/v9.4.1) (2022-03-04)
## Changed
- mixin classes ([#537](https://github.com/discordx-ts/discordx/issues/537)) ([de2c9a](https://github.com/discordx-ts/discordx/commit/de2c9af6688fd8317fd70d835902b7186afde3af))
- typo ([#535](https://github.com/discordx-ts/discordx/issues/535)) ([356697](https://github.com/discordx-ts/discordx/commit/356697e0af3e8db832d80d38d671f7e75eae68aa))
## Fixed
- duplicate event issue ([#540](https://github.com/discordx-ts/discordx/issues/540)) ([4da065](https://github.com/discordx-ts/discordx/commit/4da0656f1cc0009684950f489b5da84da331f5d0))
## Types
- revert the force-typed boolean ([6e1e92](https://github.com/discordx-ts/discordx/commit/6e1e9200ce9b15e5201d863ebdf9f9467d6743aa))
- revert the force-typed boolean ([d0bfe4](https://github.com/discordx-ts/discordx/commit/d0bfe4db9d3de5fe79b51fc11dd90e58e50a29fc))
# [v9.3.1](https://github.com/discordx-ts/discordx/releases/tag/v9.3.1) (2022-02-18)
## Changed
- typings ([#532](https://github.com/discordx-ts/discordx/issues/532)) ([242ac7](https://github.com/discordx-ts/discordx/commit/242ac7c5ba6383c0c5224a414ad03333575b155d))

@@ -181,21 +125,2 @@ - simplecommand - use fetch instead resolve ([#529](https://github.com/discordx-ts/discordx/issues/529)) ([634cba](https://github.com/discordx-ts/discordx/commit/634cbaa09ecdf55f968b906ae5b086653f384c12))

- append group option ([#522](https://github.com/discordx-ts/discordx/issues/522)) ([c14dd8](https://github.com/discordx-ts/discordx/commit/c14dd8755ea3087849ab6654eb60103e0eb0408e))
## Fixed
- slash group ([d62a3b](https://github.com/discordx-ts/discordx/commit/d62a3bfa0efadba6758b64804e909a9747e5487d))
- multi bot executation for groups ([40fd33](https://github.com/discordx-ts/discordx/commit/40fd33091569857a751bb6237216f3273ab0b90f))
- issue with command updates due to sort ([9a61a4](https://github.com/discordx-ts/discordx/commit/9a61a4007ad4e55c541a9d00004e568dcc36c277))
## Routine Tasks
- update comment ([73fdfd](https://github.com/discordx-ts/discordx/commit/73fdfd30649caf97fc321db9d4dc81cd18c7aaa5))
# [v9.2.0](https://github.com/discordx-ts/discordx/releases/tag/v9.2.0) (2022-02-13)
## Features
- add rate limit guard in utilities ([#491](https://github.com/discordx-ts/discordx/issues/491)) ([a78ef0](https://github.com/discordx-ts/discordx/commit/a78ef08f90b2075efe967ca6b5900984976398e9))
## Changed
- slash group ([#511](https://github.com/discordx-ts/discordx/issues/511)) ([3ad472](https://github.com/discordx-ts/discordx/commit/3ad472f15e311ec25a8c63c4f1282d46e590d33b))

@@ -211,6 +136,26 @@ - rename \_selectMenu var ([f7e0a7](https://github.com/discordx-ts/discordx/commit/f7e0a729099b7f3beca2e81ea4924ba15940c237))

- mismatched modal and select menu log type ([88c3ce](https://github.com/discordx-ts/discordx/commit/88c3cee14187f87836c8e688171b21c33c99eb46))
- resolve [#761](https://github.com/discordx-ts/discordx/issues/761) ([68096f](https://github.com/discordx-ts/discordx/commit/68096f7f6c6bb1b3af9aac89780d857bd10cb198))
- solve rate limits in clear commands ([#726](https://github.com/discordx-ts/discordx/issues/726)) ([a2552b](https://github.com/discordx-ts/discordx/commit/a2552bf37baa19cfb32419723d4a83327c902ef2))
- broken links ([0c9054](https://github.com/discordx-ts/discordx/commit/0c9054ac20766386b8eddffd20f143fe19d1c497))
- isGuildAllowed ([98d7c7](https://github.com/discordx-ts/discordx/commit/98d7c782fbc4a8417a0ac264dab31cd6229b4ce0))
- duplicate event issue ([#540](https://github.com/discordx-ts/discordx/issues/540)) ([4da065](https://github.com/discordx-ts/discordx/commit/4da0656f1cc0009684950f489b5da84da331f5d0))
- slash group ([d62a3b](https://github.com/discordx-ts/discordx/commit/d62a3bfa0efadba6758b64804e909a9747e5487d))
- multi bot executation for groups ([40fd33](https://github.com/discordx-ts/discordx/commit/40fd33091569857a751bb6237216f3273ab0b90f))
- issue with command updates due to sort ([9a61a4](https://github.com/discordx-ts/discordx/commit/9a61a4007ad4e55c541a9d00004e568dcc36c277))
- simple command prefix issue ([caa078](https://github.com/discordx-ts/discordx/commit/caa078a388761e4b04f31043466c344020694b8b))
## Types
- revert the force-typed boolean ([6e1e92](https://github.com/discordx-ts/discordx/commit/6e1e9200ce9b15e5201d863ebdf9f9467d6743aa))
- revert the force-typed boolean ([d0bfe4](https://github.com/discordx-ts/discordx/commit/d0bfe4db9d3de5fe79b51fc11dd90e58e50a29fc))
## Documentation
- typo ([81fab1](https://github.com/discordx-ts/discordx/commit/81fab1ad139b9bf24ee5dee43ea7fc9251564daf))
## Routine Tasks
- add task disabled note ([3d0a95](https://github.com/discordx-ts/discordx/commit/3d0a95cb1d6d5c986ed5f154c07e3a0b2556134b))
- update comment ([73fdfd](https://github.com/discordx-ts/discordx/commit/73fdfd30649caf97fc321db9d4dc81cd18c7aaa5))
- format ([04bf10](https://github.com/discordx-ts/discordx/commit/04bf101659fc1ce75de8d7b2b87578181586d2b9))

@@ -229,33 +174,1 @@ - esm examples ([2e8f3b](https://github.com/discordx-ts/discordx/commit/2e8f3b863f6867c4d196a3104a5a7e792cab82af))

- update build ([59339e](https://github.com/discordx-ts/discordx/commit/59339e5a2249772dd722731ede5c912f1f9bcbed))
# [v9.1.9](https://github.com/discordx-ts/discordx/releases/tag/v9.1.9) (2022-01-07)
# [v9.1.6](https://github.com/discordx-ts/discordx/releases/tag/v9.1.6) (2021-12-28)
# [v9.0.0](https://github.com/discordx-ts/discordx/releases/tag/v9.0.0) (2021-11-10)
# [v8.1.0](https://github.com/discordx-ts/discordx/releases/tag/v8.1.0) (2021-11-03)
# [v8.0.0](https://github.com/discordx-ts/discordx/releases/tag/v8.0.0) (2021-10-30)
# [v7.1.0](https://github.com/discordx-ts/discordx/releases/tag/v7.1.0) (2021-10-27)
# [v7.0.0](https://github.com/discordx-ts/discordx/releases/tag/v7.0.0) (2021-10-20)
# [v6.2.0](https://github.com/discordx-ts/discordx/releases/tag/v6.2.0) (2021-10-13)
# [v6.0.5](https://github.com/discordx-ts/discordx/releases/tag/v6.0.5) (2021-09-29)
# [v5.9.4](https://github.com/discordx-ts/discordx/releases/tag/v5.9.4) (2021-09-21)
# [v5.9.0](https://github.com/discordx-ts/discordx/releases/tag/v5.9.0) (2021-09-14)
# [v5.8.2](https://github.com/discordx-ts/discordx/releases/tag/v5.8.2) (2021-09-07)
# [v5.7.0](https://github.com/discordx-ts/discordx/releases/tag/v5.7.0) (2021-08-24)
# [v5.6.0](https://github.com/discordx-ts/discordx/releases/tag/v5.6.0) (2021-08-18)
# [v5.5.0](https://github.com/discordx-ts/discordx/releases/tag/v5.5.0) (2021-08-15)
# [v5.4.0](https://github.com/discordx-ts/discordx/releases/tag/v5.4.0) (2021-08-13)
{
"name": "discordx",
"version": "11.3.0",
"version": "11.4.0",
"private": false,

@@ -49,3 +49,3 @@ "description": "Create a discord bot with TypeScript and Decorators!",

"build": "npm run build:esm && npm run build:cjs",
"build:changelog": "npx @discordx/changelog --root=src",
"build:changelog": "npx @discordx/changelog --src src --match-tag discordx-* --replace-tag discordx-",
"build:typedoc": "npx typedoc src/index.ts --out ../../docs/static/api/discordx",

@@ -69,3 +69,3 @@ "build:cjs": "tsc --module CommonJs --outDir build/cjs && npm run postbuild:cjs",

"@types/node": "^18.7.18",
"discord.js": "^14.3.0",
"discord.js": "^14.4.0",
"jest": "^29.0.3",

@@ -72,0 +72,0 @@ "ts-jest": "^29.0.1",

@@ -151,5 +151,11 @@ <div>

class Example {
@Slash({ name: "hello" })
@Slash({ description: "say hello", name: "hello" })
hello(
@SlashOption({ name: "message" }) message: string,
@SlashOption({
description: "enter your greeting",
name: "message",
required: true,
type: ApplicationCommandOptionType.String,
})
message: string,
interaction: CommandInteraction

@@ -179,3 +185,3 @@ ): void {

@Slash()
@Slash({ description: "test" })
test(interaction: CommandInteraction): void {

@@ -291,3 +297,3 @@ const btn = new ButtonBuilder()

class Example {
@Slash()
@Slash({ description: "modal" })
modal(interaction: CommandInteraction): void {

@@ -294,0 +300,0 @@ // Create the modal

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc