necord 5.4.2 → 5.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/dist/commands/command.discovery.d.ts +8 -8
  2. package/dist/commands/command.discovery.js +13 -13
  3. package/dist/commands/commands.service.d.ts +15 -15
  4. package/dist/commands/commands.service.js +80 -80
  5. package/dist/commands/context-menus/context-menu.discovery.d.ts +11 -11
  6. package/dist/commands/context-menus/context-menu.discovery.js +19 -19
  7. package/dist/commands/context-menus/context-menus.service.d.ts +16 -16
  8. package/dist/commands/context-menus/context-menus.service.js +52 -52
  9. package/dist/commands/context-menus/decorators/context-menu.decorator.d.ts +2 -2
  10. package/dist/commands/context-menus/decorators/context-menu.decorator.js +8 -8
  11. package/dist/commands/context-menus/decorators/index.d.ts +4 -4
  12. package/dist/commands/context-menus/decorators/index.js +20 -20
  13. package/dist/commands/context-menus/decorators/message-command.decorator.d.ts +2 -2
  14. package/dist/commands/context-menus/decorators/message-command.decorator.js +7 -7
  15. package/dist/commands/context-menus/decorators/target.decorator.d.ts +7 -7
  16. package/dist/commands/context-menus/decorators/target.decorator.js +38 -38
  17. package/dist/commands/context-menus/decorators/user-command.decorator.d.ts +2 -2
  18. package/dist/commands/context-menus/decorators/user-command.decorator.js +7 -7
  19. package/dist/commands/context-menus/index.d.ts +3 -3
  20. package/dist/commands/context-menus/index.js +19 -19
  21. package/dist/commands/index.d.ts +4 -4
  22. package/dist/commands/index.js +20 -20
  23. package/dist/commands/slash-commands/autocomplete/autocomplete.interceptor.d.ts +7 -7
  24. package/dist/commands/slash-commands/autocomplete/autocomplete.interceptor.js +39 -39
  25. package/dist/commands/slash-commands/autocomplete/index.d.ts +1 -1
  26. package/dist/commands/slash-commands/autocomplete/index.js +17 -17
  27. package/dist/commands/slash-commands/decorators/index.d.ts +3 -3
  28. package/dist/commands/slash-commands/decorators/index.js +19 -19
  29. package/dist/commands/slash-commands/decorators/slash-command.decorator.d.ts +2 -2
  30. package/dist/commands/slash-commands/decorators/slash-command.decorator.js +9 -9
  31. package/dist/commands/slash-commands/decorators/subcommand-group.decorator.d.ts +2 -2
  32. package/dist/commands/slash-commands/decorators/subcommand-group.decorator.js +18 -18
  33. package/dist/commands/slash-commands/decorators/subcommand.decorator.d.ts +2 -2
  34. package/dist/commands/slash-commands/decorators/subcommand.decorator.js +9 -9
  35. package/dist/commands/slash-commands/index.d.ts +5 -5
  36. package/dist/commands/slash-commands/index.js +21 -21
  37. package/dist/commands/slash-commands/options/attachment-option.decorator.d.ts +7 -7
  38. package/dist/commands/slash-commands/options/attachment-option.decorator.js +6 -6
  39. package/dist/commands/slash-commands/options/boolean-option.decorator.d.ts +7 -7
  40. package/dist/commands/slash-commands/options/boolean-option.decorator.js +6 -6
  41. package/dist/commands/slash-commands/options/channel-option.decorator.d.ts +8 -8
  42. package/dist/commands/slash-commands/options/channel-option.decorator.js +6 -6
  43. package/dist/commands/slash-commands/options/index.d.ts +11 -11
  44. package/dist/commands/slash-commands/options/index.js +27 -27
  45. package/dist/commands/slash-commands/options/integer-option.decorator.d.ts +20 -20
  46. package/dist/commands/slash-commands/options/integer-option.decorator.js +6 -6
  47. package/dist/commands/slash-commands/options/member-option.decorator.d.ts +7 -7
  48. package/dist/commands/slash-commands/options/member-option.decorator.js +6 -6
  49. package/dist/commands/slash-commands/options/mentionable-option.decorator.d.ts +7 -7
  50. package/dist/commands/slash-commands/options/mentionable-option.decorator.js +6 -6
  51. package/dist/commands/slash-commands/options/number-option.decorator.d.ts +20 -20
  52. package/dist/commands/slash-commands/options/number-option.decorator.js +6 -6
  53. package/dist/commands/slash-commands/options/option.util.d.ts +5 -5
  54. package/dist/commands/slash-commands/options/option.util.js +21 -21
  55. package/dist/commands/slash-commands/options/options.decorator.d.ts +2 -2
  56. package/dist/commands/slash-commands/options/options.decorator.js +32 -32
  57. package/dist/commands/slash-commands/options/role-option.decorator.d.ts +7 -7
  58. package/dist/commands/slash-commands/options/role-option.decorator.js +6 -6
  59. package/dist/commands/slash-commands/options/string-option.decorator.d.ts +20 -20
  60. package/dist/commands/slash-commands/options/string-option.decorator.js +6 -6
  61. package/dist/commands/slash-commands/options/user-option.decorator.d.ts +7 -7
  62. package/dist/commands/slash-commands/options/user-option.decorator.js +6 -6
  63. package/dist/commands/slash-commands/slash-command.discovery.d.ts +20 -20
  64. package/dist/commands/slash-commands/slash-command.discovery.js +44 -44
  65. package/dist/commands/slash-commands/slash-commands.service.d.ts +19 -19
  66. package/dist/commands/slash-commands/slash-commands.service.js +84 -84
  67. package/dist/context/decorators/context.decorator.d.ts +2 -2
  68. package/dist/context/decorators/context.decorator.js +7 -7
  69. package/dist/context/decorators/discovery.decorator.d.ts +1 -1
  70. package/dist/context/decorators/discovery.decorator.js +6 -6
  71. package/dist/context/decorators/index.d.ts +2 -2
  72. package/dist/context/decorators/index.js +18 -18
  73. package/dist/context/decorators/params.util.d.ts +3 -3
  74. package/dist/context/decorators/params.util.js +12 -12
  75. package/dist/context/index.d.ts +7 -7
  76. package/dist/context/index.js +23 -23
  77. package/dist/context/necord-arguments-host.d.ts +13 -13
  78. package/dist/context/necord-arguments-host.js +22 -22
  79. package/dist/context/necord-base.discovery.d.ts +30 -30
  80. package/dist/context/necord-base.discovery.js +47 -47
  81. package/dist/context/necord-context.interface.d.ts +22 -22
  82. package/dist/context/necord-context.interface.js +2 -2
  83. package/dist/context/necord-execution-context.d.ts +6 -6
  84. package/dist/context/necord-execution-context.js +13 -13
  85. package/dist/context/necord-params.factory.d.ts +6 -6
  86. package/dist/context/necord-params.factory.js +19 -19
  87. package/dist/context/necord-paramtype.enum.d.ts +4 -4
  88. package/dist/context/necord-paramtype.enum.js +8 -8
  89. package/dist/index.d.ts +9 -9
  90. package/dist/index.js +25 -25
  91. package/dist/listeners/decorators/index.d.ts +3 -3
  92. package/dist/listeners/decorators/index.js +19 -19
  93. package/dist/listeners/decorators/listener.decorator.d.ts +2 -2
  94. package/dist/listeners/decorators/listener.decorator.js +8 -8
  95. package/dist/listeners/decorators/on.decorator.d.ts +2 -2
  96. package/dist/listeners/decorators/on.decorator.js +6 -6
  97. package/dist/listeners/decorators/once.decorator.d.ts +2 -2
  98. package/dist/listeners/decorators/once.decorator.js +6 -6
  99. package/dist/listeners/index.d.ts +3 -3
  100. package/dist/listeners/index.js +19 -19
  101. package/dist/listeners/listener.discovery.d.ts +11 -11
  102. package/dist/listeners/listener.discovery.js +19 -19
  103. package/dist/listeners/listener.interface.d.ts +90 -90
  104. package/dist/listeners/listener.interface.js +2 -2
  105. package/dist/listeners/listeners.service.d.ts +22 -22
  106. package/dist/listeners/listeners.service.js +237 -237
  107. package/dist/message-components/decorators/button.decorator.d.ts +1 -1
  108. package/dist/message-components/decorators/button.decorator.js +7 -7
  109. package/dist/message-components/decorators/component-param.decorator.d.ts +1 -1
  110. package/dist/message-components/decorators/component-param.decorator.js +17 -17
  111. package/dist/message-components/decorators/index.d.ts +6 -6
  112. package/dist/message-components/decorators/index.js +22 -22
  113. package/dist/message-components/decorators/message-component.decorator.d.ts +2 -2
  114. package/dist/message-components/decorators/message-component.decorator.js +8 -8
  115. package/dist/message-components/decorators/select-menu.decorator.d.ts +12 -12
  116. package/dist/message-components/decorators/select-menu.decorator.js +23 -23
  117. package/dist/message-components/decorators/selected.decorator.d.ts +10 -10
  118. package/dist/message-components/decorators/selected.decorator.js +40 -39
  119. package/dist/message-components/decorators/values.decorator.d.ts +7 -7
  120. package/dist/message-components/decorators/values.decorator.js +17 -17
  121. package/dist/message-components/index.d.ts +3 -3
  122. package/dist/message-components/index.js +19 -19
  123. package/dist/message-components/message-component.discovery.d.ts +14 -14
  124. package/dist/message-components/message-component.discovery.js +27 -27
  125. package/dist/message-components/message-components.service.d.ts +15 -15
  126. package/dist/message-components/message-components.service.js +55 -55
  127. package/dist/modals/decorators/fields.decorator.d.ts +1 -1
  128. package/dist/modals/decorators/fields.decorator.js +14 -14
  129. package/dist/modals/decorators/index.d.ts +3 -3
  130. package/dist/modals/decorators/index.js +19 -19
  131. package/dist/modals/decorators/modal-param.decorator.d.ts +1 -1
  132. package/dist/modals/decorators/modal-param.decorator.js +17 -17
  133. package/dist/modals/decorators/modal.decorator.d.ts +1 -1
  134. package/dist/modals/decorators/modal.decorator.js +8 -8
  135. package/dist/modals/index.d.ts +3 -3
  136. package/dist/modals/index.js +19 -19
  137. package/dist/modals/modal.discovery.d.ts +12 -12
  138. package/dist/modals/modal.discovery.js +24 -24
  139. package/dist/modals/modals.service.d.ts +14 -14
  140. package/dist/modals/modals.service.js +50 -50
  141. package/dist/necord-client.provider.d.ts +3 -3
  142. package/dist/necord-client.provider.js +10 -10
  143. package/dist/necord-explorer.service.d.ts +15 -15
  144. package/dist/necord-explorer.service.js +59 -59
  145. package/dist/necord-options.interface.d.ts +17 -17
  146. package/dist/necord-options.interface.js +2 -2
  147. package/dist/necord.constants.d.ts +11 -11
  148. package/dist/necord.constants.js +14 -14
  149. package/dist/necord.module.d.ts +14 -14
  150. package/dist/necord.module.js +123 -123
  151. package/dist/text-commands/decorators/arguments.decorator.d.ts +2 -2
  152. package/dist/text-commands/decorators/arguments.decorator.js +14 -14
  153. package/dist/text-commands/decorators/index.d.ts +2 -2
  154. package/dist/text-commands/decorators/index.js +18 -18
  155. package/dist/text-commands/decorators/text-command.decorator.d.ts +2 -2
  156. package/dist/text-commands/decorators/text-command.decorator.js +8 -8
  157. package/dist/text-commands/index.d.ts +3 -3
  158. package/dist/text-commands/index.js +19 -19
  159. package/dist/text-commands/text-command.discovery.d.ts +11 -11
  160. package/dist/text-commands/text-command.discovery.js +19 -19
  161. package/dist/text-commands/text-commands.service.d.ts +16 -16
  162. package/dist/text-commands/text-commands.service.js +72 -72
  163. package/package.json +8 -8
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "necord",
3
3
  "description": "A module for creating Discord bots using NestJS, based on Discord.js.",
4
- "version": "5.4.2",
4
+ "version": "5.4.3",
5
5
  "scripts": {
6
6
  "build": "rimraf -rf dist && tsc -p tsconfig.json",
7
7
  "prepublish:npm": "npm run build",
@@ -56,12 +56,12 @@
56
56
  "@favware/npm-deprecate": "1.0.7",
57
57
  "@nestjs/common": "9.2.1",
58
58
  "@nestjs/core": "9.2.1",
59
- "@types/node": "18.11.12",
60
- "@typescript-eslint/eslint-plugin": "5.46.0",
61
- "@typescript-eslint/parser": "5.46.0",
62
- "discord-api-types": "0.37.21",
59
+ "@types/node": "18.11.18",
60
+ "@typescript-eslint/eslint-plugin": "5.47.1",
61
+ "@typescript-eslint/parser": "5.47.1",
62
+ "discord-api-types": "0.37.25",
63
63
  "discord.js": "14.7.1",
64
- "eslint": "8.29.0",
64
+ "eslint": "8.30.0",
65
65
  "eslint-config-prettier": "8.5.0",
66
66
  "eslint-plugin-prettier": "4.2.1",
67
67
  "husky": "8.0.2",
@@ -69,9 +69,9 @@
69
69
  "lint-staged": "13.1.0",
70
70
  "prettier": "2.8.1",
71
71
  "reflect-metadata": "0.1.13",
72
- "release-it": "15.5.1",
72
+ "release-it": "15.6.0",
73
73
  "rimraf": "3.0.2",
74
- "rxjs": "7.6.0",
74
+ "rxjs": "7.8.0",
75
75
  "ts-node": "10.9.1",
76
76
  "typescript": "4.9.4"
77
77
  },