discord.js 15.0.0-dev.1759924903-0c2975e3f → 15.0.0-dev.1760054515-a97ac8261

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.
package/README.md CHANGED
@@ -134,9 +134,9 @@ If you don't understand something in the documentation, you are experiencing pro
134
134
  [website]: https://discord.js.org
135
135
  [website-source]: https://github.com/discordjs/discord.js/tree/main/apps/website
136
136
  [documentation]: https://discord.js.org/docs/packages/discord.js/stable
137
- [guide]: https://discordjs.guide/
138
- [guide-source]: https://github.com/discordjs/guide
139
- [guide-update]: https://discordjs.guide/additional-info/changes-in-v14.html
137
+ [guide]: https://discordjs.guide
138
+ [guide-source]: https://github.com/discordjs/discord.js/tree/main/apps/guide
139
+ [guide-update]: https://discordjs.guide/legacy/additional-info/changes-in-v14
140
140
  [discord]: https://discord.gg/djs
141
141
  [discord-developers]: https://discord.gg/discord-developers
142
142
  [source]: https://github.com/discordjs/discord.js/tree/main/packages/discord.js
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "discord.js",
4
- "version": "15.0.0-dev.1759924903-0c2975e3f",
4
+ "version": "15.0.0-dev.1760054515-a97ac8261",
5
5
  "description": "A powerful library for interacting with the Discord API",
6
6
  "main": "./src/index.js",
7
7
  "types": "./typings/index.d.ts",
@@ -61,12 +61,12 @@
61
61
  "magic-bytes.js": "^1.12.1",
62
62
  "tslib": "^2.8.1",
63
63
  "undici": "7.16.0",
64
- "@discordjs/builders": "^2.0.0-dev.1759924903-0c2975e3f",
65
- "@discordjs/collection": "^3.0.0-dev.1759924903-0c2975e3f",
66
- "@discordjs/formatters": "^1.0.0-dev.1759924903-0c2975e3f",
67
- "@discordjs/rest": "^3.0.0-dev.1759924903-0c2975e3f",
68
- "@discordjs/util": "^2.0.0-dev.1759924903-0c2975e3f",
69
- "@discordjs/ws": "^3.0.0-dev.1759924903-0c2975e3f"
64
+ "@discordjs/builders": "^2.0.0-dev.1760054515-a97ac8261",
65
+ "@discordjs/formatters": "^1.0.0-dev.1760054515-a97ac8261",
66
+ "@discordjs/collection": "^3.0.0-dev.1760054515-a97ac8261",
67
+ "@discordjs/rest": "^3.0.0-dev.1760054515-a97ac8261",
68
+ "@discordjs/util": "^2.0.0-dev.1760054515-a97ac8261",
69
+ "@discordjs/ws": "^3.0.0-dev.1760054515-a97ac8261"
70
70
  },
71
71
  "devDependencies": {
72
72
  "@favware/cliff-jumper": "^4.1.0",
@@ -83,8 +83,8 @@
83
83
  "turbo": "^2.5.8",
84
84
  "typescript": "~5.9.3",
85
85
  "@discordjs/api-extractor": "^7.52.7",
86
- "@discordjs/scripts": "^0.1.0",
87
- "@discordjs/docgen": "^0.12.1"
86
+ "@discordjs/docgen": "^0.12.1",
87
+ "@discordjs/scripts": "^0.1.0"
88
88
  },
89
89
  "engines": {
90
90
  "node": ">=22.12.0"
@@ -179,7 +179,7 @@ class Poll extends Base {
179
179
  * @returns {Promise<Message>}
180
180
  */
181
181
  async end() {
182
- if (Date.now() > this.expiresTimestamp) {
182
+ if (this.expiresTimestamp !== null && Date.now() > this.expiresTimestamp) {
183
183
  throw new DiscordjsError(ErrorCodes.PollAlreadyExpired);
184
184
  }
185
185