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.7.6 to 11.8.0

dist/index.d.mts

222

CHANGELOG.md

@@ -1,219 +0,13 @@

## Changed
# discordx
- add nsfw to main branch ([#940](https://github.com/discordx-ts/discordx/issues/940)) ([4194aa](https://github.com/discordx-ts/discordx/commit/4194aa9fbb5e1ac727be4b2233307e6a1b4feab2))
- plugin improvement ([#925](https://github.com/discordx-ts/discordx/issues/925)) ([d7580f](https://github.com/discordx-ts/discordx/commit/d7580f3ce14dd1638e39073091b8d1a8a0510440))
## 11.8.0
## Fixed
### Minor Changes
- add missing nsfw prop to json ([#941](https://github.com/discordx-ts/discordx/issues/941)) ([8b0dec](https://github.com/discordx-ts/discordx/commit/8b0dec5dac6ce7cd323244d6325cb1fae5e414f5))
- lodash import ([#933](https://github.com/discordx-ts/discordx/issues/933)) ([81aeb4](https://github.com/discordx-ts/discordx/commit/81aeb4571725eae80a93b49db9085ea900939175))
- fix [#931](https://github.com/discordx-ts/discordx/issues/931) ([#932](https://github.com/discordx-ts/discordx/issues/932)) ([21ffc6](https://github.com/discordx-ts/discordx/commit/21ffc6d295c1cc3d16e9d4b2d33745a0ebd04427))
- fix: monorepo
## Routine Tasks
### Patch Changes
- make lodash imports tree-shakable ([#930](https://github.com/discordx-ts/discordx/issues/930)) ([0b7ca7](https://github.com/discordx-ts/discordx/commit/0b7ca77c61370b2b5f49eebcc1f0f46d9ec1b928))
# [11.7.0](https://github.com/discordx-ts/discordx/releases/tag/discordx-11.7.0) (2023-02-11)
## Features
- plugins support ([#920](https://github.com/discordx-ts/discordx/issues/920)) ([811cb6](https://github.com/discordx-ts/discordx/commit/811cb66629348bd0f6764088a9d9c5011451c49a))
## Changed
- simple command ([#917](https://github.com/discordx-ts/discordx/issues/917)) ([6694b7](https://github.com/discordx-ts/discordx/commit/6694b7c3a9484b4f7d7580296b883b44fffc7462))
# [11.6.0](https://github.com/discordx-ts/discordx/releases/tag/discordx-11.6.0) (2023-01-26)
## Changed
- make option parse async and transformer for slash option ([#913](https://github.com/discordx-ts/discordx/issues/913)) ([a058b4](https://github.com/discordx-ts/discordx/commit/a058b4329a4ad37f20ff99cf46d5ab6dbc667b51))
- improve execution of components and context ([#901](https://github.com/discordx-ts/discordx/issues/901)) ([4fcae1](https://github.com/discordx-ts/discordx/commit/4fcae148c6df35d3a255d11ff2d5da3003876e4b))
## Fixed
- unwanted executeComponent log ([#900](https://github.com/discordx-ts/discordx/issues/900)) ([2c271f](https://github.com/discordx-ts/discordx/commit/2c271fabdb95288c94ca0ca8fddcbc3c01cbf892))
## Routine Tasks
- revert discordx logo ([#907](https://github.com/discordx-ts/discordx/issues/907)) ([216e9b](https://github.com/discordx-ts/discordx/commit/216e9bfba5dfa3ae7c8fe94e35a2b332c89c22a5))
# [11.5.0](https://github.com/discordx-ts/discordx/releases/tag/discordx-11.5.0) (2022-12-01)
## Breaking Changes
- improve logs ([#883](https://github.com/discordx-ts/discordx/issues/883)) ([b35811](https://github.com/discordx-ts/discordx/commit/b3581155272deab3dcc220fc6d6b8e5bafa5547e))
## Changed
- dep update, djs v14.7.0 ([#899](https://github.com/discordx-ts/discordx/issues/899)) ([4821b1](https://github.com/discordx-ts/discordx/commit/4821b1ea77fc6823e9d6c4562a5627a4f8a68410))
- button handler logs ([#881](https://github.com/discordx-ts/discordx/issues/881)) ([715347](https://github.com/discordx-ts/discordx/commit/715347b4712cc3a30c798eca48751977ef206b53))
# [11.4.0](https://github.com/discordx-ts/discordx/releases/tag/discordx-11.4.0) (2022-09-24)
## Changed
- 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
- add priority sort on events ([#867](https://github.com/discordx-ts/discordx/issues/867)) ([061375](https://github.com/discordx-ts/discordx/commit/061375f237febae8e401f14499de0a40e6c83f48))
- validate slash command names ([#858](https://github.com/discordx-ts/discordx/issues/858)) ([85b517](https://github.com/discordx-ts/discordx/commit/85b517fe6ab6a8ad8cafe7740d84cc56df07e22e))
- add localization for slash choice ([600b9a](https://github.com/discordx-ts/discordx/commit/600b9aea3cf00bf6b841b4f77773d0c9bdd2fe5d))
- support rest events ([#852](https://github.com/discordx-ts/discordx/issues/852)) ([dc61df](https://github.com/discordx-ts/discordx/commit/dc61df079dba11bfbd14bc75f397639e105c56b3))
## Changed
- typescript bump ([3f1b3d](https://github.com/discordx-ts/discordx/commit/3f1b3df16b964e06956e319a05c4dd8bd2997a99))
- change interface into types ([45ee4f](https://github.com/discordx-ts/discordx/commit/45ee4fc0a2dcb4de3cb8ed7e14f1798a996cadab))
- discordx.js.org ([f0df0f](https://github.com/discordx-ts/discordx/commit/f0df0f15fd8335ea22a58a5204e3ddf02d831198))
- anti pattern ([e03845](https://github.com/discordx-ts/discordx/commit/e038451bb1711fc362cb98338e0b66ec8a2ffac8))
- use object instead plain arguments ([#851](https://github.com/discordx-ts/discordx/issues/851)) ([cbd605](https://github.com/discordx-ts/discordx/commit/cbd605dd08f2edc780b5a9c9717e2fdedb4758ca))
## Fixed
- broken links ([26a27c](https://github.com/discordx-ts/discordx/commit/26a27ca2d8ff078d4b8d8b590d351c82478e2de8))
- broken links ([b6b0c2](https://github.com/discordx-ts/discordx/commit/b6b0c290785e58a4de5273b3dd22fd9ab2c072c3))
- linting ([6398d9](https://github.com/discordx-ts/discordx/commit/6398d94610c99d5346630d4cc253ec371a3eba90))
- anti-pattern ([132b66](https://github.com/discordx-ts/discordx/commit/132b66b262ffd857205d689e7727df6cd4780417))
- comparison ([f96964](https://github.com/discordx-ts/discordx/commit/f96964e1ac8ced56805e73934029abaa4f49dffe))
- comaparison ([3e70a4](https://github.com/discordx-ts/discordx/commit/3e70a488ad60f7ed56b8d9a80e07c34d9673dc08))
- default permission/localization ([d669d4](https://github.com/discordx-ts/discordx/commit/d669d4f217589a9b60bda5ebdeb936a48e486318))
- default member permission ([2eacbf](https://github.com/discordx-ts/discordx/commit/2eacbf6b41d7cbcb7ced26cde86784e8f0793c3c))
- options name ([9e56c8](https://github.com/discordx-ts/discordx/commit/9e56c8bc464131a9cb6c05c8bf166e96de2ddb14))
- tests ([6f7494](https://github.com/discordx-ts/discordx/commit/6f749473f781fe1582cd04ab079126f23794b748))
- fix comparison :( ([641d5d](https://github.com/discordx-ts/discordx/commit/641d5ddb3d2e82ec2e7d0f721fbd13ab327f2ba8))
- context menu ([d2fc42](https://github.com/discordx-ts/discordx/commit/d2fc427bcf9265515b7e693ed865ec9774d90606))
- template literal expression ([188efb](https://github.com/discordx-ts/discordx/commit/188efb62c97623410aa7a09cb3e277e7a365425d))
- code styling issues ([743b13](https://github.com/discordx-ts/discordx/commit/743b13d0eb1825062c2c3745a667c8385fb56de5))
- code styling issues ([0dbeb4](https://github.com/discordx-ts/discordx/commit/0dbeb455bcd880051e882ef1e5c1d976ff6d4e73))
- code issues ([08dd95](https://github.com/discordx-ts/discordx/commit/08dd95a4c42236ccf364eda0e3c69f81a7cb46c6))
## Documentation
- update structure ([6ec8b2](https://github.com/discordx-ts/discordx/commit/6ec8b2051f7ec096e4c67e30733dd9c91a903f07))
- separate guides for each package and introduce getting started ([#860](https://github.com/discordx-ts/discordx/issues/860)) ([91faf2](https://github.com/discordx-ts/discordx/commit/91faf2a0c3ee78c210ce66ffc0341ac91242e28b))
- fix broken url ([d850cf](https://github.com/discordx-ts/discordx/commit/d850cf210b158325bff72da78c43d1e2fc3429d6))
## Routine Tasks
- rename to discordx ([e4116c](https://github.com/discordx-ts/discordx/commit/e4116cc5beb9a129b7e742fd6014ffe72adc5e2b))
- update trigger method ([8b8e53](https://github.com/discordx-ts/discordx/commit/8b8e5369d4638413b7f3711f2aa211190d1fb67d))
# [11.0.8](https://github.com/discordx-ts/discordx/releases/tag/discordx-11.0.8) (2022-08-07)
## Features
- add min/max length for string option ([#841](https://github.com/discordx-ts/discordx/issues/841)) ([81b76d](https://github.com/discordx-ts/discordx/commit/81b76d3129fedd5cdbb41fc273d5c0e60312313b))
## Changed
- remove unwanted log ([b23b2f](https://github.com/discordx-ts/discordx/commit/b23b2ff6b1566da7e636735710cf140679677a32))
- improved comparison ([e1aa36](https://github.com/discordx-ts/discordx/commit/e1aa36a04a1c4aeef40edc7d2aa8a02806ac77e3))
- move isApplicationCommandEqual to utils ([8e6cb7](https://github.com/discordx-ts/discordx/commit/8e6cb7b0da990b58c6d40de2ddc840f56e6fa68e))
## Fixed
- accurate group types ([914acf](https://github.com/discordx-ts/discordx/commit/914acfc8307db00e421f742f3271d561169e7b6c))
- localization for slash groups ([6d9908](https://github.com/discordx-ts/discordx/commit/6d9908e5fa1f4eb22d28b939718c169b3288558a))
- slash group permission ([2d330a](https://github.com/discordx-ts/discordx/commit/2d330a3a0932d4a7f15fc1195972c90f47b21651))
- fixed seralisation of bigint ([#842](https://github.com/discordx-ts/discordx/issues/842)) ([ee5967](https://github.com/discordx-ts/discordx/commit/ee59672fdec886aa7f134d8ec1c0f1d686a741b9))
- command comparison ([e5e223](https://github.com/discordx-ts/discordx/commit/e5e223825758d564b9c0bd6dc73d3cb32cb38061))
## Routine Tasks
- cleanup ([ede45b](https://github.com/discordx-ts/discordx/commit/ede45bf0cd71a228886ecb65e4ec89bf46d8d679))
- rever changes ([0d859f](https://github.com/discordx-ts/discordx/commit/0d859f6973082c285a747b6ea9dc44c7335d5293))
- update dep & examples ([a41145](https://github.com/discordx-ts/discordx/commit/a411455742aa16579dcee12c7a916842c5da3077))
# [10.0.0](https://github.com/discordx-ts/discordx/releases/tag/discordx-10.0.0) (2022-07-19)
## Breaking Changes
- improvement to slash choice ([#611](https://github.com/discordx-ts/discordx/issues/611)) ([440897](https://github.com/discordx-ts/discordx/commit/4408978e94fe1b73540ee06b5b2452030a2bd590))
## Features
- `@Reaction` ([#793](https://github.com/discordx-ts/discordx/issues/793)) ([9be181](https://github.com/discordx-ts/discordx/commit/9be181af33c62a758d1773d4a785a546870c28bb))
- 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))
- djs v13.7.0 ([#699](https://github.com/discordx-ts/discordx/issues/699)) ([170d99](https://github.com/discordx-ts/discordx/commit/170d99b9b51101810f6ab73f32100d364611957d))
- update djs ([ed294e](https://github.com/discordx-ts/discordx/commit/ed294e3e588ac2c5095011bc2760f463da426265))
- use specific version of discord api (discord-api-types) ([9a9cb3](https://github.com/discordx-ts/discordx/commit/9a9cb3c08b47bfc30e92857acff259c5f78481a4))
- log skipped commands ([9448c5](https://github.com/discordx-ts/discordx/commit/9448c5e8da013e3bb4655e10e718a14d60c02214))
- use proper logger method ([#613](https://github.com/discordx-ts/discordx/issues/613)) ([1628e5](https://github.com/discordx-ts/discordx/commit/1628e5a5740bc9d62f0da159a3dd7efda729a37c))
- add button tests ([a56ee4](https://github.com/discordx-ts/discordx/commit/a56ee40f121922ef629f3112dafbede903db25d3))
- add isBotAllowed on event ([6f7856](https://github.com/discordx-ts/discordx/commit/6f78567e4edf16be815a28ad0dee5e39a688b02e))
- log buttons/select menu/context menu ([e32b2d](https://github.com/discordx-ts/discordx/commit/e32b2dac031d5bdd7beb1813945681d50b1caa23))
- rename myClass with clazz ([98b15b](https://github.com/discordx-ts/discordx/commit/98b15bc4638591cb945060d402f8d5d1eb9606f1))
- execute multiple component handlers ([#580](https://github.com/discordx-ts/discordx/issues/580)) ([3cd7e0](https://github.com/discordx-ts/discordx/commit/3cd7e04b25c1cff3fd489e2671694be2b40c2f8f))
- guild check ([#579](https://github.com/discordx-ts/discordx/issues/579)) ([1ef0fd](https://github.com/discordx-ts/discordx/commit/1ef0fd6457ba2b268df482a96a9652047b42ddec))
- 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))
- typings ([#532](https://github.com/discordx-ts/discordx/issues/532)) ([242ac7](https://github.com/discordx-ts/discordx/commit/242ac7c5ba6383c0c5224a414ad03333575b155d))
- simplecommand - use fetch instead resolve ([#529](https://github.com/discordx-ts/discordx/issues/529)) ([634cba](https://github.com/discordx-ts/discordx/commit/634cbaa09ecdf55f968b906ae5b086653f384c12))
- params ([#527](https://github.com/discordx-ts/discordx/issues/527)) ([b613a1](https://github.com/discordx-ts/discordx/commit/b613a1dc806cefb272e8f0ae19f82d7dc137ab9e))
- group ([#526](https://github.com/discordx-ts/discordx/issues/526)) ([8e0d40](https://github.com/discordx-ts/discordx/commit/8e0d4070a3d9e561c57b14c3334f08952da07000))
- decorator comments ([#525](https://github.com/discordx-ts/discordx/issues/525)) ([92f097](https://github.com/discordx-ts/discordx/commit/92f0972503faca079af4ab85ff5094e729af7099))
- append group option ([#522](https://github.com/discordx-ts/discordx/issues/522)) ([c14dd8](https://github.com/discordx-ts/discordx/commit/c14dd8755ea3087849ab6654eb60103e0eb0408e))
- slash group ([#511](https://github.com/discordx-ts/discordx/issues/511)) ([3ad472](https://github.com/discordx-ts/discordx/commit/3ad472f15e311ec25a8c63c4f1282d46e590d33b))
- rename \_selectMenu var ([f7e0a7](https://github.com/discordx-ts/discordx/commit/f7e0a729099b7f3beca2e81ea4924ba15940c237))
- executeComponent ([c307b6](https://github.com/discordx-ts/discordx/commit/c307b651f3570e730bed3fa2f792cac915eb1b30))
- merge component class ([#503](https://github.com/discordx-ts/discordx/issues/503)) ([a3d874](https://github.com/discordx-ts/discordx/commit/a3d874d7a79187715fd53d6b7c5b1d853d8ee6cd))
- lowercase slash option description ([d9cfe0](https://github.com/discordx-ts/discordx/commit/d9cfe0372a38bf99838f58324d52a9609ed73a19))
- throw error for missing `@discord` ([5bc579](https://github.com/discordx-ts/discordx/commit/5bc579564e28d45a6e89fcd339033d31590c38a6))
- sort imports ([fb5b0f](https://github.com/discordx-ts/discordx/commit/fb5b0f82661313a4e9e6638db71670a7fb524ac2))
## Fixed
- 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))
- esm examples ([2e8f3b](https://github.com/discordx-ts/discordx/commit/2e8f3b863f6867c4d196a3104a5a7e792cab82af))
- fix build attempt [#1](https://github.com/discordx-ts/discordx/issues/1) ([9fa95b](https://github.com/discordx-ts/discordx/commit/9fa95bde51bf9c55af953bfce5154272f02df4ce))
- fix import ([0a6759](https://github.com/discordx-ts/discordx/commit/0a675937638436e79ba36b3731823b6419e70404))
- fix import ([001606](https://github.com/discordx-ts/discordx/commit/0016065061688975813d600db344577ee086a32b))
- update imports ([d970db](https://github.com/discordx-ts/discordx/commit/d970db2c047db1e91970ca75dc00debfbf802d51))
- update import ([a94ecc](https://github.com/discordx-ts/discordx/commit/a94eccabad3139aaba88e6a1be12057b25957c91))
- update to monorepo ([284b3f](https://github.com/discordx-ts/discordx/commit/284b3f58599df60275ead01bb595a1334358e75b))
- repo cleanup ([3ee0df](https://github.com/discordx-ts/discordx/commit/3ee0df074f23651c26bdbee49f0cbe859967e31e))
## CI
- update build ([59339e](https://github.com/discordx-ts/discordx/commit/59339e5a2249772dd722731ede5c912f1f9bcbed))
- Updated dependencies
- @discordx/internal@1.1.0
- @discordx/di@3.2.0
{
"name": "discordx",
"version": "11.7.6",
"version": "11.8.0",
"private": false,

@@ -33,10 +33,9 @@ "description": "Create a discord bot with TypeScript and Decorators!",

".": {
"import": "./build/esm/index.js",
"require": "./build/cjs/index.js"
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"main": "./build/cjs/index.js",
"module": "./build/esm/index.js",
"types": "./dist/index.d.ts",
"files": [
"build",
"dist",
"CHANGELOG.md",

@@ -49,29 +48,24 @@ "LICENSE",

"scripts": {
"build": "npm run build:esm && npm run build:cjs",
"build:changelog": "npx @discordx/changelog@latest --src src --match-tag discordx-* --replace-tag discordx-",
"build": "tsup src/index.ts --format cjs,esm --dts",
"build:typedoc": "npx typedoc src/index.ts --out ../../docs/static/api/discordx",
"build:cjs": "tsc --module CommonJs --outDir build/cjs && npm run postbuild:cjs",
"postbuild:cjs": "node ../../scripts/postbuild.mjs --path=build",
"build:esm": "tsc",
"test": "jest --detectOpenHandles",
"type-check": "tsc --noemit"
"test": "jest --detectOpenHandles"
},
"dependencies": {
"@discordx/di": "^3.0.3",
"@discordx/internal": "^1.0.2",
"@discordx/di": "^3.2.0",
"@discordx/internal": "^1.1.0",
"lodash": "^4.17.21",
"tslib": "^2.5.0"
"tslib": "^2.6.2"
},
"devDependencies": {
"@discordx/importer": "^1.2.1",
"@types/jest": "^29.5.0",
"@types/lodash": "^4.14.192",
"@types/node": "^18.15.11",
"discord.js": "^14.9.0",
"jest": "^29.5.0",
"@discordx/importer": "^1.3.0",
"@types/jest": "^29.5.7",
"@types/lodash": "^4.14.200",
"@types/node": "^20.8.10",
"discord.js": "^14.13.0",
"jest": "^29.7.0",
"reflect-metadata": "^0.1.13",
"ts-jest": "^29.1.0",
"ts-jest": "^29.1.1",
"ts-jest-resolver": "^2.0.1",
"ts-node": "^10.9.1",
"typescript": "5.0.4"
"typescript": "5.2.2"
},

@@ -78,0 +72,0 @@ "peerDependencies": {

@@ -160,3 +160,3 @@ <div>

message: string,
interaction: CommandInteraction
interaction: CommandInteraction,
): void {

@@ -194,3 +194,3 @@ interaction.reply(`:wave: from ${interaction.user}: ${message}`);

new ActionRowBuilder<MessageActionRowComponentBuilder>().addComponents(
btn
btn,
);

@@ -233,3 +233,3 @@

roles.find((r) => r.value === roleValue)?.label ?? "unknown"
}`
}`,
);

@@ -251,3 +251,3 @@ return;

new ActionRowBuilder<MessageActionRowComponentBuilder>().addComponents(
menu
menu,
);

@@ -318,7 +318,7 @@

const row1 = new ActionRowBuilder<TextInputBuilder>().addComponents(
tvShowInputComponent
tvShowInputComponent,
);
const row2 = new ActionRowBuilder<TextInputBuilder>().addComponents(
haikuInputComponent
haikuInputComponent,
);

@@ -338,7 +338,7 @@

const [favTVShow, favHaiku] = ["tvField", "haikuField"].map((id) =>
interaction.fields.getTextInputValue(id)
interaction.fields.getTextInputValue(id),
);
await interaction.reply(
`Favorite TV Show: ${favTVShow}, Favorite haiku: ${favHaiku}`
`Favorite TV Show: ${favTVShow}, Favorite haiku: ${favHaiku}`,
);

@@ -426,3 +426,3 @@

@Guard(
NotBot // You can use multiple guard functions, they are executed in the same order!
NotBot, // You can use multiple guard functions, they are executed in the same order!
)

@@ -429,0 +429,0 @@ messageCreate([message]: ArgsOf<"messageCreate">) {

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