disgroove 2.0.0-dev.40377cb → 2.0.0

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 (61) hide show
  1. package/README.md +9 -9
  2. package/dist/lib/Client.d.ts +560 -142
  3. package/dist/lib/Client.js +1794 -124
  4. package/dist/lib/Client.js.map +1 -1
  5. package/dist/lib/constants.d.ts +7 -7
  6. package/dist/lib/constants.js +218 -218
  7. package/dist/lib/gateway/Shard.d.ts +0 -1
  8. package/dist/lib/gateway/Shard.js +65 -261
  9. package/dist/lib/gateway/Shard.js.map +1 -1
  10. package/dist/lib/gateway/ShardManager.d.ts +1 -2
  11. package/dist/lib/gateway/ShardManager.js +1 -2
  12. package/dist/lib/gateway/ShardManager.js.map +1 -1
  13. package/dist/lib/index.d.ts +0 -1
  14. package/dist/lib/index.js +0 -1
  15. package/dist/lib/index.js.map +1 -1
  16. package/dist/lib/rest/Endpoints.d.ts +3 -3
  17. package/dist/lib/rest/Endpoints.js +8 -8
  18. package/dist/lib/rest/Endpoints.js.map +1 -1
  19. package/dist/lib/rest/RequestManager.d.ts +8 -2
  20. package/dist/lib/rest/RequestManager.js +17 -10
  21. package/dist/lib/rest/RequestManager.js.map +1 -1
  22. package/dist/lib/rest/index.d.ts +0 -1
  23. package/dist/lib/rest/index.js +0 -1
  24. package/dist/lib/rest/index.js.map +1 -1
  25. package/dist/lib/structures/Webhook.js +14 -3
  26. package/dist/lib/structures/Webhook.js.map +1 -1
  27. package/dist/lib/types/application-command.d.ts +94 -20
  28. package/dist/lib/types/application-role-connection-metadata.d.ts +7 -6
  29. package/dist/lib/types/application.d.ts +24 -13
  30. package/dist/lib/types/audit-log.d.ts +15 -16
  31. package/dist/lib/types/auto-moderation.d.ts +27 -7
  32. package/dist/lib/types/channel.d.ts +170 -68
  33. package/dist/lib/types/emoji.d.ts +12 -3
  34. package/dist/lib/types/entitlements.d.ts +6 -1
  35. package/dist/lib/types/gateway-events.d.ts +11 -336
  36. package/dist/lib/types/guild-scheduled-event.d.ts +31 -8
  37. package/dist/lib/types/guild-template.d.ts +16 -4
  38. package/dist/lib/types/guild.d.ts +190 -37
  39. package/dist/lib/types/index.d.ts +2 -0
  40. package/dist/lib/types/index.js.map +1 -1
  41. package/dist/lib/types/interaction.d.ts +37 -36
  42. package/dist/lib/types/invite.d.ts +12 -12
  43. package/dist/lib/types/message-components.d.ts +12 -12
  44. package/dist/lib/types/role.d.ts +3 -3
  45. package/dist/lib/types/sku.d.ts +8 -8
  46. package/dist/lib/types/stage-instance.d.ts +12 -1
  47. package/dist/lib/types/sticker.d.ts +18 -6
  48. package/dist/lib/types/team.d.ts +5 -5
  49. package/dist/lib/types/user.d.ts +30 -7
  50. package/dist/lib/types/voice.d.ts +4 -4
  51. package/dist/lib/types/webhook.d.ts +38 -6
  52. package/dist/lib/utils/Util.d.ts +2 -13
  53. package/dist/lib/utils/Util.js +39 -535
  54. package/dist/lib/utils/Util.js.map +1 -1
  55. package/dist/lib/utils/errors.d.ts +1 -1
  56. package/dist/lib/utils/errors.js +4 -4
  57. package/dist/lib/utils/index.d.ts +0 -1
  58. package/dist/lib/utils/index.js +0 -1
  59. package/dist/lib/utils/index.js.map +1 -1
  60. package/dist/package.json +7 -7
  61. package/package.json +7 -7
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "disgroove",
3
- "version": "2.0.0-dev.40377cb",
3
+ "version": "2.0.0",
4
4
  "description": "A module to interface with Discord",
5
5
  "main": "./dist/lib/index.js",
6
6
  "types": "./dist/lib/index.d.ts",
@@ -9,11 +9,11 @@
9
9
  "url": "git+https://github.com/XenKys/disgroove.git"
10
10
  },
11
11
  "keywords": [
12
- "discord",
13
12
  "api",
13
+ "bot",
14
+ "discord",
14
15
  "gateway",
15
- "wrapper",
16
- "bot"
16
+ "wrapper"
17
17
  ],
18
18
  "author": "XenKys",
19
19
  "license": "MIT",
@@ -21,10 +21,10 @@
21
21
  "url": "https://github.com/XenKys/disgroove/issues"
22
22
  },
23
23
  "homepage": "https://github.com/XenKys/disgroove#readme",
24
- "dependencies": {
25
- "@types/node": "^20.11.24",
24
+ "devDependencies": {
25
+ "@types/node": "^20.11.25",
26
26
  "@types/ws": "^8.5.10",
27
- "node": "^21.6.2",
27
+ "node": "^21.7.1",
28
28
  "ws": "^8.16.0"
29
29
  }
30
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "disgroove",
3
- "version": "2.0.0-dev.40377cb",
3
+ "version": "2.0.0",
4
4
  "description": "A module to interface with Discord",
5
5
  "main": "./dist/lib/index.js",
6
6
  "types": "./dist/lib/index.d.ts",
@@ -9,11 +9,11 @@
9
9
  "url": "git+https://github.com/XenKys/disgroove.git"
10
10
  },
11
11
  "keywords": [
12
- "discord",
13
12
  "api",
13
+ "bot",
14
+ "discord",
14
15
  "gateway",
15
- "wrapper",
16
- "bot"
16
+ "wrapper"
17
17
  ],
18
18
  "author": "XenKys",
19
19
  "license": "MIT",
@@ -21,10 +21,10 @@
21
21
  "url": "https://github.com/XenKys/disgroove/issues"
22
22
  },
23
23
  "homepage": "https://github.com/XenKys/disgroove#readme",
24
- "dependencies": {
25
- "@types/node": "^20.11.24",
24
+ "devDependencies": {
25
+ "@types/node": "^20.11.25",
26
26
  "@types/ws": "^8.5.10",
27
- "node": "^21.6.2",
27
+ "node": "^21.7.1",
28
28
  "ws": "^8.16.0"
29
29
  }
30
30
  }