discord.js 15.0.0-dev.1737850362-695f59236 → 15.0.0-dev.1737893061-0ab6abbcf

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/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.1737850362-695f59236",
4
+ "version": "15.0.0-dev.1737893061-0ab6abbcf",
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",
@@ -60,10 +60,10 @@
60
60
  "lodash.snakecase": "4.1.1",
61
61
  "tslib": "^2.8.1",
62
62
  "undici": "6.21.0",
63
+ "@discordjs/formatters": "^0.5.0",
63
64
  "@discordjs/collection": "^2.1.1",
64
- "@discordjs/rest": "^2.4.0",
65
65
  "@discordjs/util": "^1.1.1",
66
- "@discordjs/formatters": "^0.5.0",
66
+ "@discordjs/rest": "^2.4.0",
67
67
  "@discordjs/ws": "^2.0.0"
68
68
  },
69
69
  "devDependencies": {
@@ -81,9 +81,9 @@
81
81
  "tslint": "6.1.3",
82
82
  "turbo": "^2.3.3",
83
83
  "typescript": "~5.5.4",
84
- "@discordjs/api-extractor": "^7.38.1",
85
84
  "@discordjs/docgen": "^0.12.1",
86
- "@discordjs/scripts": "^0.1.0"
85
+ "@discordjs/scripts": "^0.1.0",
86
+ "@discordjs/api-extractor": "^7.38.1"
87
87
  },
88
88
  "engines": {
89
89
  "node": ">=20"
@@ -41,15 +41,12 @@ class GuildScheduledEventManager extends CachedManager {
41
41
  * Options for setting a recurrence rule for a guild scheduled event.
42
42
  * @typedef {Object} GuildScheduledEventRecurrenceRuleOptions
43
43
  * @property {DateResolvable} startAt The time the recurrence rule interval starts at
44
- * @property {?DateResolvable} endAt The time the recurrence rule interval ends at
45
44
  * @property {GuildScheduledEventRecurrenceRuleFrequency} frequency How often the event occurs
46
45
  * @property {number} interval The spacing between the events
47
46
  * @property {?GuildScheduledEventRecurrenceRuleWeekday[]} byWeekday The days within a week to recur on
48
47
  * @property {?GuildScheduledEventRecurrenceRuleNWeekday[]} byNWeekday The days within a week to recur on
49
48
  * @property {?GuildScheduledEventRecurrenceRuleMonth[]} byMonth The months to recur on
50
49
  * @property {?number[]} byMonthDay The days within a month to recur on
51
- * @property {?number[]} byYearDay The days within a year to recur on
52
- * @property {?number} count The total amount of times the event is allowed to recur before stopping
53
50
  */
54
51
 
55
52
  /**
@@ -63,16 +63,12 @@ function _transformAPIMessageInteractionMetadata(client, messageInteractionMetad
63
63
  function _transformGuildScheduledEventRecurrenceRule(recurrenceRule) {
64
64
  return {
65
65
  start: new Date(recurrenceRule.startAt).toISOString(),
66
- // eslint-disable-next-line eqeqeq
67
- end: recurrenceRule.endAt != null ? new Date(recurrenceRule.endAt).toISOString() : recurrenceRule.endAt,
68
66
  frequency: recurrenceRule.frequency,
69
67
  interval: recurrenceRule.interval,
70
68
  by_weekday: recurrenceRule.byWeekday,
71
69
  by_n_weekday: recurrenceRule.byNWeekday,
72
70
  by_month: recurrenceRule.byMonth,
73
71
  by_month_day: recurrenceRule.byMonthDay,
74
- by_year_day: recurrenceRule.byYearDay,
75
- count: recurrenceRule.count,
76
72
  };
77
73
  }
78
74
 
@@ -5979,8 +5979,6 @@ type BaseGuildScheduledEventRecurrenceRuleOptions<
5979
5979
  Extra extends {},
5980
5980
  > = {
5981
5981
  startAt: DateResolvable;
5982
- endAt?: DateResolvable;
5983
- count?: number;
5984
5982
  interval: number;
5985
5983
  frequency: Frequency;
5986
5984
  } & Extra;
@@ -5979,8 +5979,6 @@ type BaseGuildScheduledEventRecurrenceRuleOptions<
5979
5979
  Extra extends {},
5980
5980
  > = {
5981
5981
  startAt: DateResolvable;
5982
- endAt?: DateResolvable;
5983
- count?: number;
5984
5982
  interval: number;
5985
5983
  frequency: Frequency;
5986
5984
  } & Extra;