snowtransfer 0.4.0 → 0.4.1
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/dist/Ratelimiter.js +4 -8
- package/dist/RequestHandler.js +13 -24
- package/dist/SnowTransfer.js +3 -8
- package/dist/methods/Channels.js +11 -22
- package/dist/methods/GuildScheduledEvent.js +1 -2
- package/dist/methods/Interactions.d.ts +8 -22
- package/dist/methods/Interactions.js +1 -3
- package/dist/methods/Webhooks.js +6 -12
- package/dist/ratelimitBuckets/LocalBucket.js +4 -8
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +7 -7
package/dist/Ratelimiter.js
CHANGED
|
@@ -32,9 +32,7 @@ class Ratelimiter {
|
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
34
|
this._timeoutDuration = 1000;
|
|
35
|
-
this._timeout = setInterval(() => {
|
|
36
|
-
limiter._timeoutFN();
|
|
37
|
-
}, limiter._timeoutDuration);
|
|
35
|
+
this._timeout = setInterval(() => { limiter._timeoutFN(); }, limiter._timeoutDuration);
|
|
38
36
|
}
|
|
39
37
|
/**
|
|
40
38
|
* Returns a key for saving ratelimits for routes
|
|
@@ -47,9 +45,8 @@ class Ratelimiter {
|
|
|
47
45
|
let route = url.replace(/\/([a-z-]+)\/(?:\d+)/g, function (match, p) {
|
|
48
46
|
return p === "channels" || p === "guilds" || p === "webhooks" ? match : `/${p}/:id`;
|
|
49
47
|
}).replace(/\/reactions\/[^/]+/g, "/reactions/:id").replace(/^\/webhooks\/(\d+)\/[A-Za-z0-9-_]{64,}/, "/webhooks/$1/:token");
|
|
50
|
-
if (method.toUpperCase() === "DELETE" && route.endsWith("/messages/:id"))
|
|
51
|
-
route = method + route;
|
|
52
|
-
}
|
|
48
|
+
if (method.toUpperCase() === "DELETE" && route.endsWith("/messages/:id"))
|
|
49
|
+
route = method + route; // Delete Messsage endpoint has its own ratelimit
|
|
53
50
|
return route;
|
|
54
51
|
}
|
|
55
52
|
/**
|
|
@@ -60,9 +57,8 @@ class Ratelimiter {
|
|
|
60
57
|
*/
|
|
61
58
|
queue(fn, url, method) {
|
|
62
59
|
const routeKey = this.routify(url, method);
|
|
63
|
-
if (!this.buckets[routeKey])
|
|
60
|
+
if (!this.buckets[routeKey])
|
|
64
61
|
this.buckets[routeKey] = new LocalBucket_1.default(this);
|
|
65
|
-
}
|
|
66
62
|
this.buckets[routeKey].queue(fn);
|
|
67
63
|
}
|
|
68
64
|
}
|
package/dist/RequestHandler.js
CHANGED
|
@@ -28,18 +28,14 @@ class DiscordAPIError extends Error {
|
|
|
28
28
|
if (k === "message")
|
|
29
29
|
continue;
|
|
30
30
|
const newKey = key ? (isNaN(Number(k)) ? `${key}.${k}` : `${key}[${k}]`) : k;
|
|
31
|
-
if (v._errors)
|
|
31
|
+
if (v._errors)
|
|
32
32
|
messages.push(`${newKey}: ${v._errors.map(e => e.message).join(" ")}`);
|
|
33
|
-
|
|
34
|
-
else if (v.code || v.message) {
|
|
33
|
+
else if (v.code || v.message)
|
|
35
34
|
messages.push(`${v.code ? `${v.code}: ` : ""}${v.message}`.trim());
|
|
36
|
-
|
|
37
|
-
else if (typeof v === "string") {
|
|
35
|
+
else if (typeof v === "string")
|
|
38
36
|
messages.push(v);
|
|
39
|
-
|
|
40
|
-
else {
|
|
37
|
+
else
|
|
41
38
|
messages = messages.concat(this.flattenErrors(v, newKey));
|
|
42
|
-
}
|
|
43
39
|
}
|
|
44
40
|
return messages;
|
|
45
41
|
}
|
|
@@ -61,7 +57,7 @@ class RequestHandler extends events_1.EventEmitter {
|
|
|
61
57
|
baseURL: Endpoints_1.default.BASE_URL,
|
|
62
58
|
headers: {
|
|
63
59
|
Authorization: options.token,
|
|
64
|
-
"User-Agent": `
|
|
60
|
+
"User-Agent": `Discordbot (https://github.com/DasWolke/SnowTransfer, ${version}) Node.js/${process.version}`
|
|
65
61
|
}
|
|
66
62
|
};
|
|
67
63
|
Object.assign(this.options, options);
|
|
@@ -88,12 +84,10 @@ class RequestHandler extends events_1.EventEmitter {
|
|
|
88
84
|
try {
|
|
89
85
|
this.emit("request", reqID, { endpoint, method, dataType, data });
|
|
90
86
|
let request;
|
|
91
|
-
if (dataType == "json")
|
|
87
|
+
if (dataType == "json")
|
|
92
88
|
request = await this._request(endpoint, method, data, (method === "get" || endpoint.includes("/bans") || endpoint.includes("/prune")), amount);
|
|
93
|
-
|
|
94
|
-
else if (dataType == "multipart") {
|
|
89
|
+
else if (dataType == "multipart")
|
|
95
90
|
request = await this._multiPartRequest(endpoint, method, data, amount);
|
|
96
|
-
}
|
|
97
91
|
else {
|
|
98
92
|
const e = new Error("Forbidden dataType. Use json or multipart");
|
|
99
93
|
e.stack = stack;
|
|
@@ -123,9 +117,8 @@ class RequestHandler extends events_1.EventEmitter {
|
|
|
123
117
|
}
|
|
124
118
|
return res(b);
|
|
125
119
|
}
|
|
126
|
-
else
|
|
120
|
+
else
|
|
127
121
|
return res(undefined);
|
|
128
|
-
}
|
|
129
122
|
}
|
|
130
123
|
catch (error) {
|
|
131
124
|
if (error && error.stack)
|
|
@@ -151,15 +144,12 @@ class RequestHandler extends events_1.EventEmitter {
|
|
|
151
144
|
if (bkt.remaining === 0)
|
|
152
145
|
bkt.resetAt = Date.now() + bkt.reset;
|
|
153
146
|
}
|
|
154
|
-
else
|
|
147
|
+
else
|
|
155
148
|
bkt.remaining = 1;
|
|
156
|
-
|
|
157
|
-
if (headers["x-ratelimit-limit"]) {
|
|
149
|
+
if (headers["x-ratelimit-limit"])
|
|
158
150
|
bkt.limit = parseInt(headers["x-ratelimit-limit"]);
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
bkt.resetAt = Date.now() + (parseInt(headers["retry-after"]) * 1000); // retry-after is in seconds.
|
|
162
|
-
}
|
|
151
|
+
if (headers["retry-after"] && !headers["x-ratelimit-global"])
|
|
152
|
+
bkt.resetAt = Date.now() + (parseInt(headers["retry-after"]) * 1000); // The ms precision is not strictly necessary. It always rounds up, which is safe.
|
|
163
153
|
}
|
|
164
154
|
/**
|
|
165
155
|
* Execute a normal json request
|
|
@@ -178,9 +168,8 @@ class RequestHandler extends events_1.EventEmitter {
|
|
|
178
168
|
delete data.reason;
|
|
179
169
|
}
|
|
180
170
|
const req = (0, centra_1.default)(this.apiURL, method).path(endpoint).header({ ...this.options.headers, ...headers });
|
|
181
|
-
if (useParams)
|
|
171
|
+
if (useParams)
|
|
182
172
|
return req.query(data).send();
|
|
183
|
-
}
|
|
184
173
|
else {
|
|
185
174
|
if (data && typeof data === "object")
|
|
186
175
|
req.body(data, "json");
|
package/dist/SnowTransfer.js
CHANGED
|
@@ -26,20 +26,15 @@ class SnowTransfer {
|
|
|
26
26
|
* @param options options
|
|
27
27
|
*/
|
|
28
28
|
constructor(token, options) {
|
|
29
|
-
if (!token || token === "")
|
|
29
|
+
if (!token || token === "")
|
|
30
30
|
throw new Error("Missing token");
|
|
31
|
-
|
|
32
|
-
if (!token.startsWith("Bot")) {
|
|
31
|
+
if (!token.startsWith("Bot"))
|
|
33
32
|
token = `Bot ${token}`;
|
|
34
|
-
}
|
|
35
33
|
this.options = { baseHost: Endpoints_1.default.BASE_HOST, disableEveryone: false, sentryOptions: { extra: { snowtransferVersion: version } }, useRedis: false };
|
|
36
34
|
this.token = token;
|
|
37
35
|
Object.assign(this.options, options);
|
|
38
36
|
this.ratelimiter = new Ratelimiter_1.default();
|
|
39
|
-
this.requestHandler = new RequestHandler_1.default(this.ratelimiter, {
|
|
40
|
-
token: this.token,
|
|
41
|
-
baseHost: this.options.baseHost || Endpoints_1.default.BASE_HOST
|
|
42
|
-
});
|
|
37
|
+
this.requestHandler = new RequestHandler_1.default(this.ratelimiter, { token: this.token, baseHost: this.options.baseHost || Endpoints_1.default.BASE_HOST });
|
|
43
38
|
this.channel = new Channels_1.default(this.requestHandler, this.options.disableEveryone);
|
|
44
39
|
this.user = new Users_1.default(this.requestHandler);
|
|
45
40
|
this.guildAssets = new GuildAssets_1.default(this.requestHandler);
|
package/dist/methods/Channels.js
CHANGED
|
@@ -113,9 +113,8 @@ class ChannelMethods {
|
|
|
113
113
|
delete options.before;
|
|
114
114
|
delete options.around;
|
|
115
115
|
}
|
|
116
|
-
if (options.limit && options.limit > Constants_1.default.GET_CHANNEL_MESSAGES_MAX_RESULTS)
|
|
116
|
+
if (options.limit && options.limit > Constants_1.default.GET_CHANNEL_MESSAGES_MAX_RESULTS)
|
|
117
117
|
throw new Error(`The maximum amount of messages that may be requested is ${Constants_1.default.GET_CHANNEL_MESSAGES_MAX_RESULTS}`);
|
|
118
|
-
}
|
|
119
118
|
return this.requestHandler.request(Endpoints_1.default.CHANNEL_MESSAGES(channelId), "get", "json", options);
|
|
120
119
|
}
|
|
121
120
|
/**
|
|
@@ -178,16 +177,13 @@ class ChannelMethods {
|
|
|
178
177
|
* client.channel.createMessage('channel id', { content: 'This is a nice picture', files: [{ name: 'Optional_Filename.png', file: fileData }] })
|
|
179
178
|
*/
|
|
180
179
|
async createMessage(channelId, data, options = { disableEveryone: this.disableEveryone }) {
|
|
181
|
-
if (typeof data !== "string" && !data.content && !data.embeds && !data.files)
|
|
180
|
+
if (typeof data !== "string" && !data.content && !data.embeds && !data.files)
|
|
182
181
|
throw new Error("Missing content or embeds or files");
|
|
183
|
-
|
|
184
|
-
if (typeof data === "string") {
|
|
182
|
+
if (typeof data === "string")
|
|
185
183
|
data = { content: data };
|
|
186
|
-
}
|
|
187
184
|
// Sanitize the message
|
|
188
|
-
if (data.content && (options.disableEveryone !== undefined ? options.disableEveryone : this.disableEveryone))
|
|
185
|
+
if (data.content && (options.disableEveryone !== undefined ? options.disableEveryone : this.disableEveryone))
|
|
189
186
|
data.content = data.content.replace(/@([^<>@ ]*)/gsmu, replaceEveryone);
|
|
190
|
-
}
|
|
191
187
|
if (data.files)
|
|
192
188
|
return this.requestHandler.request(Endpoints_1.default.CHANNEL_MESSAGES(channelId), "post", "multipart", data);
|
|
193
189
|
else
|
|
@@ -229,16 +225,13 @@ class ChannelMethods {
|
|
|
229
225
|
* client.channel.editMessage('channel id', message.id, `pong ${Date.now() - time}ms`)
|
|
230
226
|
*/
|
|
231
227
|
async editMessage(channelId, messageId, data, options = { disableEveryone: this.disableEveryone }) {
|
|
232
|
-
if (typeof data !== "string" && data.content === undefined && data.embeds === undefined && data.files === undefined)
|
|
228
|
+
if (typeof data !== "string" && data.content === undefined && data.embeds === undefined && data.files === undefined)
|
|
233
229
|
throw new Error("Missing content or embeds or files");
|
|
234
|
-
|
|
235
|
-
if (typeof data === "string") {
|
|
230
|
+
if (typeof data === "string")
|
|
236
231
|
data = { content: data };
|
|
237
|
-
}
|
|
238
232
|
// Sanitize the message
|
|
239
|
-
if (data.content && (options.disableEveryone !== undefined ? options.disableEveryone : this.disableEveryone))
|
|
233
|
+
if (data.content && (options.disableEveryone !== undefined ? options.disableEveryone : this.disableEveryone))
|
|
240
234
|
data.content = data.content.replace(/@([^<>@ ]*)/gsmu, replaceEveryone);
|
|
241
|
-
}
|
|
242
235
|
if (data.files)
|
|
243
236
|
return this.requestHandler.request(Endpoints_1.default.CHANNEL_MESSAGE(channelId, messageId), "patch", "multipart", data);
|
|
244
237
|
else
|
|
@@ -277,15 +270,13 @@ class ChannelMethods {
|
|
|
277
270
|
* | MANAGE_MESSAGES | always |
|
|
278
271
|
*/
|
|
279
272
|
async bulkDeleteMessages(channelId, messages, reason) {
|
|
280
|
-
if (messages.length < Constants_1.default.BULK_DELETE_MESSAGES_MIN || messages.length > Constants_1.default.BULK_DELETE_MESSAGES_MAX)
|
|
273
|
+
if (messages.length < Constants_1.default.BULK_DELETE_MESSAGES_MIN || messages.length > Constants_1.default.BULK_DELETE_MESSAGES_MAX)
|
|
281
274
|
throw new Error(`Amount of messages to be deleted has to be between ${Constants_1.default.BULK_DELETE_MESSAGES_MIN} and ${Constants_1.default.BULK_DELETE_MESSAGES_MAX}`);
|
|
282
|
-
}
|
|
283
275
|
// (Current date - (discord epoch + 2 weeks)) * (2**22) weird constant that everybody seems to use
|
|
284
276
|
const oldestSnowflake = BigInt(Date.now() - 1421280000000) * (BigInt(2) ** BigInt(22));
|
|
285
277
|
const forbiddenMessage = messages.find(m => BigInt(m) < oldestSnowflake);
|
|
286
|
-
if (forbiddenMessage)
|
|
278
|
+
if (forbiddenMessage)
|
|
287
279
|
throw new Error(`The message ${forbiddenMessage} is older than 2 weeks and may not be deleted using the bulk delete endpoint`);
|
|
288
|
-
}
|
|
289
280
|
const data = { messages };
|
|
290
281
|
if (reason)
|
|
291
282
|
Object.assign(data, { reason });
|
|
@@ -667,12 +658,10 @@ class ChannelMethods {
|
|
|
667
658
|
}
|
|
668
659
|
}
|
|
669
660
|
function replaceEveryone(match, target) {
|
|
670
|
-
if (target.match(/^[&!]?\d+$/))
|
|
661
|
+
if (target.match(/^[&!]?\d+$/))
|
|
671
662
|
return `@${target}`;
|
|
672
|
-
|
|
673
|
-
else {
|
|
663
|
+
else
|
|
674
664
|
return `@\u200b${target}`;
|
|
675
|
-
}
|
|
676
665
|
}
|
|
677
666
|
module.exports = ChannelMethods;
|
|
678
667
|
// Wolke >>
|
|
@@ -113,9 +113,8 @@ class GuildScheduledEventMethods {
|
|
|
113
113
|
* | VIEW_CHANNEL | if entity_type is STAGE_INSTANCE or VOICE |
|
|
114
114
|
*/
|
|
115
115
|
async getGuildScheduledEventUsers(guildId, eventId, options = { limit: 50 }) {
|
|
116
|
-
if (options.limit && options.limit > Constants_1.default.GET_GUILD_SCHEDULED_EVENT_USERS_MAX_RESULTS)
|
|
116
|
+
if (options.limit && options.limit > Constants_1.default.GET_GUILD_SCHEDULED_EVENT_USERS_MAX_RESULTS)
|
|
117
117
|
throw new Error(`The maximum amount of users that may be requested is ${Constants_1.default.GET_GUILD_SCHEDULED_EVENT_USERS_MAX_RESULTS}`);
|
|
118
|
-
}
|
|
119
118
|
const qs = Object.keys(options).map(key => `${key}=${options[key]}`).join("&");
|
|
120
119
|
return this.requestHandler.request(Endpoints_1.default.GUILD_SCHEDULED_EVENT_USERS(guildId, eventId) + (qs ? `?${qs}` : ""), "get", "json");
|
|
121
120
|
}
|
|
@@ -33,9 +33,7 @@ declare class InteractionMethods {
|
|
|
33
33
|
* @param data The command data
|
|
34
34
|
* @returns An [application command](https://discord.com/developers/docs/interactions/slash-commands#application-command-object) object
|
|
35
35
|
*/
|
|
36
|
-
createApplicationCommand(appId: string, data:
|
|
37
|
-
type?: import("discord-typings").ApplicationCommandType;
|
|
38
|
-
}): Promise<import("discord-typings").ApplicationCommand>;
|
|
36
|
+
createApplicationCommand(appId: string, data: import("discord-typings").ApplicationCommandBase): Promise<import("discord-typings").FetchedApplicationCommand>;
|
|
39
37
|
/**
|
|
40
38
|
* Edit a global command. Updates will be available in all guilds after 1 hour
|
|
41
39
|
* @param appId The Id of the application
|
|
@@ -43,7 +41,7 @@ declare class InteractionMethods {
|
|
|
43
41
|
* @param data The command data
|
|
44
42
|
* @returns An [application command](https://discord.com/developers/docs/interactions/slash-commands#application-command-object) object
|
|
45
43
|
*/
|
|
46
|
-
editApplicationCommand(appId: string, cmdId: string, data: Partial<
|
|
44
|
+
editApplicationCommand(appId: string, cmdId: string, data: Partial<import("discord-typings").ApplicationCommandBase>): Promise<import("discord-typings").FetchedApplicationCommand>;
|
|
47
45
|
/**
|
|
48
46
|
* Takes a list of application commands, overwriting existing commands that are registered globally for this application.
|
|
49
47
|
* Updates will be available in all guilds after 1 hour
|
|
@@ -51,9 +49,7 @@ declare class InteractionMethods {
|
|
|
51
49
|
* @param data Array of commands
|
|
52
50
|
* @returns An Array of [application command](https://discord.com/developers/docs/interactions/slash-commands#application-command-object) objects
|
|
53
51
|
*/
|
|
54
|
-
bulkOverwriteApplicationCommands(appId: any, data: Array<
|
|
55
|
-
type?: import("discord-typings").ApplicationCommandType;
|
|
56
|
-
}>): Promise<Array<import("discord-typings").ApplicationCommand>>;
|
|
52
|
+
bulkOverwriteApplicationCommands(appId: any, data: Array<import("discord-typings").ApplicationCommandBase>): Promise<Array<import("discord-typings").FetchedApplicationCommand>>;
|
|
57
53
|
/**
|
|
58
54
|
* Deletes a global command
|
|
59
55
|
* @param appId The Id of the application
|
|
@@ -67,7 +63,7 @@ declare class InteractionMethods {
|
|
|
67
63
|
* @param guildId The Id of the guild
|
|
68
64
|
* @returns An Array of [application command](https://discord.com/developers/docs/interactions/slash-commands#application-command-object) objects
|
|
69
65
|
*/
|
|
70
|
-
getGuildApplicationCommands(appId: string, guildId: string): Promise<Array<import("discord-typings").
|
|
66
|
+
getGuildApplicationCommands(appId: string, guildId: string): Promise<Array<import("discord-typings").FetchedApplicationCommand>>;
|
|
71
67
|
/**
|
|
72
68
|
* Fetch a guild command for your application
|
|
73
69
|
* @param appId The Id of the application
|
|
@@ -75,7 +71,7 @@ declare class InteractionMethods {
|
|
|
75
71
|
* @param cmdId The Id of the command
|
|
76
72
|
* @returns An [application command](https://discord.com/developers/docs/interactions/slash-commands#application-command-object) object
|
|
77
73
|
*/
|
|
78
|
-
getGuildApplicationCommand(appId: string, guildId: string, cmdId: string): Promise<import("discord-typings").
|
|
74
|
+
getGuildApplicationCommand(appId: string, guildId: string, cmdId: string): Promise<import("discord-typings").FetchedApplicationCommand>;
|
|
79
75
|
/**
|
|
80
76
|
* Create a new guild command. New guild commands will be available in the guild immediately.
|
|
81
77
|
* @param appId The Id of the application
|
|
@@ -83,9 +79,7 @@ declare class InteractionMethods {
|
|
|
83
79
|
* @param data Command data
|
|
84
80
|
* @returns An [application command](https://discord.com/developers/docs/interactions/slash-commands#application-command-object) object
|
|
85
81
|
*/
|
|
86
|
-
createGuildApplicationCommand(appId: string, guildId: string, data:
|
|
87
|
-
type?: import("discord-typings").ApplicationCommandType;
|
|
88
|
-
}): Promise<import("discord-typings").ApplicationCommand>;
|
|
82
|
+
createGuildApplicationCommand(appId: string, guildId: string, data: import("discord-typings").ApplicationCommandBase): Promise<import("discord-typings").FetchedApplicationCommand>;
|
|
89
83
|
/**
|
|
90
84
|
* Edit a guild command. Updates for guild commands will be available immediately.
|
|
91
85
|
* @param appId The Id of the application
|
|
@@ -94,7 +88,7 @@ declare class InteractionMethods {
|
|
|
94
88
|
* @param data New command data
|
|
95
89
|
* @returns An [application command](https://discord.com/developers/docs/interactions/slash-commands#application-command-object) object
|
|
96
90
|
*/
|
|
97
|
-
editGuildApplicationCommand(appId: string, guildId: string, cmdId: string, data: Partial<
|
|
91
|
+
editGuildApplicationCommand(appId: string, guildId: string, cmdId: string, data: Partial<import("discord-typings").ApplicationCommandBase>): Promise<import("discord-typings").FetchedApplicationCommand>;
|
|
98
92
|
/**
|
|
99
93
|
* Takes a list of application commands, overwriting existing commands for the guild
|
|
100
94
|
* @param appId The Id of the application
|
|
@@ -102,9 +96,7 @@ declare class InteractionMethods {
|
|
|
102
96
|
* @param data Array of commands
|
|
103
97
|
* @returns An Array of [application command](https://discord.com/developers/docs/interactions/slash-commands#application-command-object) objects
|
|
104
98
|
*/
|
|
105
|
-
bulkOverwriteGuildApplicationCommand(appId: string, guildId: string, data: Array<
|
|
106
|
-
type?: import("discord-typings").ApplicationCommandType;
|
|
107
|
-
}>): Promise<Array<import("discord-typings").ApplicationCommand>>;
|
|
99
|
+
bulkOverwriteGuildApplicationCommand(appId: string, guildId: string, data: Array<import("discord-typings").ApplicationCommandBase>): Promise<Array<import("discord-typings").FetchedApplicationCommand>>;
|
|
108
100
|
/**
|
|
109
101
|
* Delete a guild command
|
|
110
102
|
* @param appId The Id of the application
|
|
@@ -213,9 +205,3 @@ declare class InteractionMethods {
|
|
|
213
205
|
batchEditApplicationCommandPermissions(appId: string, guildId: string, permissions: Array<Pick<import("discord-typings").GuildApplicationCommandPermission, "id" | "permissions">>): Promise<Array<import("discord-typings").GuildApplicationCommandPermission>>;
|
|
214
206
|
}
|
|
215
207
|
export = InteractionMethods;
|
|
216
|
-
interface CommandData {
|
|
217
|
-
name: string;
|
|
218
|
-
description: string;
|
|
219
|
-
options?: Array<import("discord-typings").ApplicationCommandOption>;
|
|
220
|
-
default_permission?: boolean;
|
|
221
|
-
}
|
|
@@ -242,9 +242,7 @@ class InteractionMethods {
|
|
|
242
242
|
* @returns A [guild application command permission](https://discord.com/developers/docs/interactions/slash-commands#application-command-permissions-object-guild-application-command-permissions-structure) object
|
|
243
243
|
*/
|
|
244
244
|
editGuildApplicationCommandPermissions(appId, guildId, cmdId, permissions) {
|
|
245
|
-
const payload = {
|
|
246
|
-
permissions: permissions
|
|
247
|
-
};
|
|
245
|
+
const payload = { permissions: permissions };
|
|
248
246
|
return this.requestHandler.request(Endpoints_1.default.APPLICATION_GUILD_COMMAND_PERMISSIONS(appId, guildId, cmdId), "put", "json", payload);
|
|
249
247
|
}
|
|
250
248
|
/**
|
package/dist/methods/Webhooks.js
CHANGED
|
@@ -135,16 +135,13 @@ class WebhookMethods {
|
|
|
135
135
|
return this.requestHandler.request(Endpoints_1.default.WEBHOOK(webhookId), "delete", "json");
|
|
136
136
|
}
|
|
137
137
|
async executeWebhook(webhookId, token, data, options = { wait: false, disableEveryone: this.disableEveryone }) {
|
|
138
|
-
if (typeof data !== "string" && !(data === null || data === void 0 ? void 0 : data.content) && !(data === null || data === void 0 ? void 0 : data.embeds) && !(data === null || data === void 0 ? void 0 : data.files))
|
|
138
|
+
if (typeof data !== "string" && !(data === null || data === void 0 ? void 0 : data.content) && !(data === null || data === void 0 ? void 0 : data.embeds) && !(data === null || data === void 0 ? void 0 : data.files))
|
|
139
139
|
throw new Error("Missing content or embeds or files");
|
|
140
|
-
|
|
141
|
-
if (typeof data === "string") {
|
|
140
|
+
if (typeof data === "string")
|
|
142
141
|
data = { content: data };
|
|
143
|
-
}
|
|
144
142
|
// Sanitize the message
|
|
145
|
-
if (data.content && ((options === null || options === void 0 ? void 0 : options.disableEveryone) !== undefined ? options.disableEveryone : this.disableEveryone))
|
|
143
|
+
if (data.content && ((options === null || options === void 0 ? void 0 : options.disableEveryone) !== undefined ? options.disableEveryone : this.disableEveryone))
|
|
146
144
|
data.content = data.content.replace(/@([^<>@ ]*)/gsmu, replaceEveryone);
|
|
147
|
-
}
|
|
148
145
|
if (data.files)
|
|
149
146
|
return this.requestHandler.request(Endpoints_1.default.WEBHOOK_TOKEN(webhookId, token) + ((options === null || options === void 0 ? void 0 : options.wait) ? "?wait=true" : "") + ((options === null || options === void 0 ? void 0 : options.thread_id) ? `${(options === null || options === void 0 ? void 0 : options.wait) ? "&" : "?"}thread_id=${options.thread_id}` : ""), "post", "multipart", data);
|
|
150
147
|
else
|
|
@@ -160,9 +157,8 @@ class WebhookMethods {
|
|
|
160
157
|
*/
|
|
161
158
|
async executeWebhookSlack(webhookId, token, data, options = { wait: false, disableEveryone: this.disableEveryone }) {
|
|
162
159
|
// Sanitize the message
|
|
163
|
-
if (data.text && ((options === null || options === void 0 ? void 0 : options.disableEveryone) !== undefined ? options.disableEveryone : this.disableEveryone))
|
|
160
|
+
if (data.text && ((options === null || options === void 0 ? void 0 : options.disableEveryone) !== undefined ? options.disableEveryone : this.disableEveryone))
|
|
164
161
|
data.text = data.text.replace(/@([^<>@ ]*)/gsmu, replaceEveryone);
|
|
165
|
-
}
|
|
166
162
|
return this.requestHandler.request(Endpoints_1.default.WEBHOOK_TOKEN_SLACK(webhookId, token) + ((options === null || options === void 0 ? void 0 : options.wait) ? "?wait=true" : "") + ((options === null || options === void 0 ? void 0 : options.thread_id) ? `${(options === null || options === void 0 ? void 0 : options.wait) ? "&" : "?"}thread_id=${options.thread_id}` : ""), "post", "json", data);
|
|
167
163
|
}
|
|
168
164
|
/**
|
|
@@ -216,11 +212,9 @@ class WebhookMethods {
|
|
|
216
212
|
}
|
|
217
213
|
}
|
|
218
214
|
function replaceEveryone(match, target) {
|
|
219
|
-
if (target.match(/^[&!]?\d+$/))
|
|
215
|
+
if (target.match(/^[&!]?\d+$/))
|
|
220
216
|
return `@${target}`;
|
|
221
|
-
|
|
222
|
-
else {
|
|
217
|
+
else
|
|
223
218
|
return `@\u200b${target}`;
|
|
224
|
-
}
|
|
225
219
|
}
|
|
226
220
|
module.exports = WebhookMethods;
|
|
@@ -33,14 +33,11 @@ class LocalBucket {
|
|
|
33
33
|
queue(fn) {
|
|
34
34
|
return new Promise((res, rej) => {
|
|
35
35
|
const wrapFn = () => {
|
|
36
|
-
if (fn instanceof Promise)
|
|
37
|
-
return fn
|
|
38
|
-
}
|
|
36
|
+
if (fn instanceof Promise)
|
|
37
|
+
return fn.then(res).catch(rej);
|
|
39
38
|
return res(fn(this));
|
|
40
39
|
};
|
|
41
|
-
this.fnQueue.push({
|
|
42
|
-
fn, callback: wrapFn
|
|
43
|
-
});
|
|
40
|
+
this.fnQueue.push({ fn, callback: wrapFn });
|
|
44
41
|
this.checkQueue();
|
|
45
42
|
});
|
|
46
43
|
}
|
|
@@ -48,9 +45,8 @@ class LocalBucket {
|
|
|
48
45
|
* Check if there are any functions in the queue that haven't been executed yet
|
|
49
46
|
*/
|
|
50
47
|
checkQueue() {
|
|
51
|
-
if (this.reset < 0)
|
|
48
|
+
if (this.reset < 0)
|
|
52
49
|
this.reset = 100;
|
|
53
|
-
}
|
|
54
50
|
if (this.ratelimiter.global && this.ratelimiter.globalResetAt > Date.now())
|
|
55
51
|
return;
|
|
56
52
|
if (this.fnQueue.length > 0 && this.remaining !== 0) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"program":{"fileNames":["../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es5.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2016.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2019.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2021.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.esnext.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.dom.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.esnext.intl.d.ts","../src/constants.ts","../src/endpoints.ts","../src/ratelimitbuckets/localbucket.ts","../src/ratelimiter.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/index.d.ts","../node_modules/@types/centra/index.d.ts","../node_modules/form-data/index.d.ts","../src/requesthandler.ts","../node_modules/discord-typings/reference.d.ts","../node_modules/discord-typings/topics/permissions.d.ts","../node_modules/discord-typings/resources/emoji.d.ts","../node_modules/discord-typings/resources/voice.d.ts","../node_modules/discord-typings/topics/opcodesandstatuscodes.d.ts","../node_modules/discord-typings/topics/teams.d.ts","../node_modules/discord-typings/resources/application.d.ts","../node_modules/discord-typings/resources/sticker.d.ts","../node_modules/discord-typings/resources/guildscheduledevent.d.ts","../node_modules/discord-typings/resources/invite.d.ts","../node_modules/discord-typings/topics/gateway.d.ts","../node_modules/discord-typings/resources/stageinstance.d.ts","../node_modules/discord-typings/resources/guild.d.ts","../node_modules/discord-typings/resources/user.d.ts","../node_modules/discord-typings/interactions/messagecomponents.d.ts","../node_modules/discord-typings/interactions/receivingandresponding.d.ts","../node_modules/discord-typings/resources/channel.d.ts","../node_modules/discord-typings/interactions/applicationcommands.d.ts","../node_modules/discord-typings/resources/webhook.d.ts","../node_modules/discord-typings/resources/auditlog.d.ts","../node_modules/discord-typings/resources/guildtemplate.d.ts","../node_modules/discord-typings/topics/oauth2.d.ts","../node_modules/discord-typings/index.d.ts","../src/methods/channels.ts","../src/methods/users.ts","../src/methods/guildassets.ts","../src/methods/webhooks.ts","../src/methods/guilds.ts","../src/methods/guildscheduledevent.ts","../src/methods/guildtemplate.ts","../src/methods/interactions.ts","../src/methods/invites.ts","../src/methods/voices.ts","../src/methods/bots.ts","../src/methods/auditlog.ts","../src/methods/stageinstance.ts","../src/snowtransfer.ts","../src/index.ts"],"fileInfos":[{"version":"89f78430e422a0f06d13019d60d5a45b37ec2d28e67eb647f73b1b0d19a46b72","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","2cc028cd0bdb35b1b5eb723d84666a255933fffbea607f72cbd0c7c7b4bee144",{"version":"abba1071bfd89e55e88a054b0c851ea3e8a494c340d0f3fab19eb18f6afb0c9e","affectsGlobalScope":true},{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"4378fc8122ec9d1a685b01eb66c46f62aba6b239ca7228bb6483bcf8259ee493","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"d071129cba6a5f2700be09c86c07ad2791ab67d4e5ed1eb301d6746c62745ea4","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"e8c9f4e445a489991ca1a4232667de3ac36b07ba75ea335971fbeacf2d26fe67","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"82258b9946a70a488d83e96c43392c77c5615a1319a5d56d668712caf3af500d","cbb5b0197f7e751e82a71be15617bfb9a6eaa8c57a654e1673e567223303cd60","49b133ab2f906501242d9b2afa1cf5f7aff41d91affdfd832897dcfbe5eed422","d2af8e2790a78356f1ca286a81e916dbe9b948ded3be2a6577c65c8c3e13c34c","0d5a2ee1fdfa82740e0103389b9efd6bfe145a20018a2da3c02b89666181f4d9","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"92d63add669d18ebc349efbacd88966d6f2ccdddfb1b880b2db98ae3aa7bf7c4","affectsGlobalScope":true},"ccc94049a9841fe47abe5baef6be9a38fc6228807974ae675fb15dc22531b4be",{"version":"aeeee3998c5a730f8689f04038d41cf4245c9edbf6ef29a698e45b36e399b8ed","affectsGlobalScope":true},"95843d5cfafced8f3f8a5ce57d2335f0bcd361b9483587d12a25e4bd403b8216","afc6e96061af46bcff47246158caee7e056f5288783f2d83d6858cd25be1c565",{"version":"34f5bcac12b36d70304b73de5f5aab3bb91bd9919f984be80579ebcad03a624e","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","2f520601649a893e6a49a8851ebfcf4be8ce090dc1281c2a08a871cb04e8251f","f50c975ab7b50e25a69e3d8a3773894125b44e9698924105f23b812bf7488baf","2b8c764f856a1dd0a9a2bf23e5efddbff157de8138b0754010be561ae5fcaa90","76650408392bf49a8fbf3e2b6b302712a92d76af77b06e2da1cc8077359c4409","0af3121e68297b2247dd331c0d24dba599e50736a7517a5622d5591aae4a3122","6972fca26f6e9bd56197568d4379f99071a90766e06b4fcb5920a0130a9202be",{"version":"4a2628e95962c8ab756121faa3ac2ed348112ff7a87b5c286dd2cc3326546b4c","affectsGlobalScope":true},"80793b2277f31baa199234daed806fff0fb11491d1ebd3357e520c3558063f00","a049a59a02009fc023684fcfaf0ac526fe36c35dcc5d2b7d620c1750ba11b083","e3b886bacdd1fbf1f72e654596c80a55c7bc1d10bdf464aaf52f45ecd243862f","c665d5c50c2573aefd98f0ffb12c5583e333ed94294ce6f144a4163a8c84f09b","4b9a003b5c556c96784132945bb41c655ea11273b1917f5c8d0c154dd5fd20dd","a458dc78104cc80048ac24fdc02fe6dce254838094c2f25641b3f954d9721241",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"839e0b959028f5385ca8de7b9d9c00d71a5955d52d2c98cb3e488a626f7b90b3","abc1c425b2ad6720433f40f1877abfa4223f0f3dd486c9c28c492179ca183cb6","945a841f9a591197154c85386bc5a1467d42d325104bb36db51bc566bbb240be","10c39ce1df102994b47d4bc0c71aa9a6aea76f4651a5ec51914431f50bc883a1",{"version":"8207e7e6db9aa5fc7e61c8f17ba74cf9c115d26f51f91ee93f790815a7ea9dfb","affectsGlobalScope":true},"9f1069b9e2c051737b1f9b4f1baf50e4a63385a6a89c32235549ae87fc3d5492","ee18f2da7a037c6ceeb112a084e485aead9ea166980bf433474559eac1b46553","29c2706fa0cc49a2bd90c83234da33d08bb9554ecec675e91c1f85087f5a5324","0acbf26bf958f9e80c1ffa587b74749d2697b75b484062d36e103c137c562bc3","3fa48484c65913004d5abb5c0f917b61ea4684f32d05bb28c1ecfa5f05a9ed12","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"a7971f9fb2a32ec7788ec6cda9d7a33c02023dfe9a62db2030ad1359649d8050","c33a6ea7147af60d8e98f1ac127047f4b0d4e2ce28b8f08ff3de07ca7cc00637",{"version":"b42b47e17b8ece2424ae8039feb944c2e3ba4b262986aebd582e51efbdca93dc","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","2408611d9b4146e35d1dbd1f443ccd8e187c74614a54b80300728277529dbf11","998a3de5237518c0b3ac00a11b3b4417affb008aa20aedee52f3fdae3cb86151","ad41008ffe077206e1811fc873f4d9005b5fd7f6ab52bb6118fef600815a5cb4",{"version":"dd9ea469d1bfaf589c6a196275d35cb1aa14014707c2c46d920c7b921e8f5bca","affectsGlobalScope":true},"badae0df9a8016ac36994b0a0e7b82ba6aaa3528e175a8c3cb161e4683eec03e","c3db860bcaaaeb3bbc23f353bbda1f8ab82756c8d5e973bebb3953cb09ea68f2","235a53595bd20b0b0eeb1a29cb2887c67c48375e92f03749b2488fbd46d0b1a0","bc09393cd4cd13f69cf1366d4236fbae5359bb550f0de4e15767e9a91d63dfb1","9c266243b01545e11d2733a55ad02b4c00ecdbda99c561cd1674f96e89cdc958","c71155c05fc76ff948a4759abc1cb9feec036509f500174bc18dad4c7827a60c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"1503a452a67127e5c2da794d1c7c44344d5038373aae16c9b03ac964db159edd","3e5883cbd1b75ae02ec22e0a74b35c1c069eecf6a34814292024f431d3a38cb3","736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50","4d8e22565e803054f2819b21dc091872efcd6edec88b190d1f588b3190f0e5cc","dba1158a38c78ad31104b9cb36086133846b4c1b2b08d35f79868bdf2fc0ac8a","50d012d83e0e7eb222ca233269676b95f35116bcccd7bc1fb26c5b63a1a32527","a26ea102be21fbcae9d7eefe8e1deb6d5065af54a2470494fb55cf2b6c5f4793","ca6f8fe753ffd22a559a5838c4fe2a8a0c54ce9acd06464bbee549e6250a5814","08efe48606426eca55d9ff13f2849019d4689fa4cb2d27a9f0be4e543a7ce5e1","4cb4c93a284d529a689f96c49a162b654a86451543140e38e18d120342b59230","c960ef16f0024db825cd5395e275a556fdeedd6e6096fb8127de9a095310ea16","c9e75e2e8a8f78f713c243b95fa5ebf425eddf7a0f8ee4bf957d969ce522c055","2dc98f5ca38ced9fecc5fbd9c6547f2e1b91346848e385c3ed34d21ab5485b26","cf8b4dde972cfc12d371895e2c3336af610ac31c2a052c7d5171687f4d94640b","da8d37e350da1f203453d3acb9b417deeabaf395a4113004390619c3b94b21f3","744338121e39ce5a4575436128483d851bec588019adb36e3550b8266fb7df06","f316ea316d6bb4bdee78b606ab7743fa41dd5fe6f9e20423b1cf2e12c145f778","b800c4657de5751c42a234152368abdc480201355c9ea2d79f1e2251f0a0923a","718f18909f7e3e7173e446ddcce0de5c2db20302196c242d6183e9db6dd86173","55fa5ab208fcc4e4a0b80ea7264eef7f33554943f4d375dba7f4a4457d82bc69","0ee2cf302a2bf95ec53eb932a779d9c8c8ca5d9ca9b437f2284062d175fccc5d","53c479afa9c0683507030f416648e6361723e607df5b8c56ecdf12ad14ead18a","cf8ef3555f09f8b71df47dc63dff5a869fb4afe4a1cb632dbec3dd625af725f3","cef33e4a401baf042a4eb8d98eeedd46740160a215d3c306c7b822deaf31be0a","e4ff2ec932357917fc93a319a654ca4a9e948392c8cb8e4a806e92d3add51047","e513fb76a4a263cd9385b0639d79d3e77dee2f918845ce5c1f4d63804b37f928","9f2c9e732e01e506055e2b6f336c24d8c1ea559c803e362dc0d4342b6e7902d1","0050623a6131702df98f5324dbfc0de9ac4a3a11f3dd3ee2e38fd2f52038d109","07b67501c90a8c0eb8c5bce80bf2f4926d0a0d031361fe1ed2195fad42e4f853","f237c30cc2b64e50dc5c55ac41715b8b144034e1aecad905364390423d413947","0d1c230a541c21b0077382ecb265619790174359ba6ccc47017289d21b4e22c6","9f14ac7fc3b5647402f0f96c92280fb521c31edd1d0e4f58701464801676da5c","ee49e8cf9e688f8c41f99426f19dda9b269cfcb23a10c83d9996b6c8eaab33c5","73eb2e9ff158b26354decfd9db95518788db378bc00e7d55dc7368852771b023","3cd6e989add7c1d1770dd0beb3d5b6d0a86952e243eaab0ced59b4da8d57516b","41b6e8df10d6f48ad711e0b37503cc06e7f12471a8f2f3aa7c1c41b3bee2f6cf","0299696802c4bcf38f8d310ad9b767a7b0c76a5b5ce8f94ba8fe5779a76d192f","02533547851eea6c7d9dbd3d4e819cb53cdd472ece19e0839b5ec582e9661563","d5ae0a68f633b9f256d96815ebab7af19c3710dfa49e0d38aad5caeb390b218b","195eebf3c73f44368e8f2b1614aeed91f2762927147f2d616340d1547c0876da","d81d25602e28851b2c0ace0aa04895f5d7b82e8b5b88ec38d98bcd69a9f83b59","9171ad14f0a74623d555141efe5a6340db7d0ea1248f1c161b84ca6c4b6b893e"],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"module":1,"noUnusedLocals":false,"outDir":"./","removeComments":false,"sourceMap":false,"strictNullChecks":true,"target":6},"fileIdsList":[[93],[68,92,93,100],[50,93],[53,93],[54,59,93],[55,65,66,73,82,92,93],[55,56,65,73,93],[57,93],[58,59,66,74,93],[59,82,89,93],[60,62,65,73,93],[61,93],[62,63,93],[64,65,93],[65,93],[65,66,67,82,92,93],[65,66,67,82,93],[68,73,82,92,93],[65,66,68,69,73,82,89,92,93],[68,70,82,89,92,93],[50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99],[65,71,93],[72,92,93],[62,65,73,82,93],[74,93],[75,93],[53,76,93],[77,91,93,97],[78,93],[79,93],[65,80,93],[80,81,93,95],[65,82,83,84,93],[82,84,93],[82,83,93],[85,93],[86,93],[65,87,88,93],[87,88,93],[59,73,89,93],[90,93],[73,91,93],[54,68,79,92,93],[59,93],[82,93,94],[93,95],[93,96],[54,59,65,67,76,82,92,93,95,97],[82,93,98],[93,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125],[93,104,120],[93,106],[93,104,105,116,117,118,120,121],[93,104,109,117],[93,104,112,116,117,120,122],[93,104,106,110,111,116,117,118,119],[93,104,117],[93,104,105,106,107,111,112,114,115,117,120],[93,104,116,117],[93,110,112,116,117,120],[93,104],[93,104,116],[93,104,116,117,120],[93,104,105,106,108,110,111,113,116,117,120],[68,82,93,100],[46,93],[46,47,93,140],[47,93,103,126],[46,47,93,103,126],[47,93,103,126,130],[49,93],[48,93],[46,47,48,49,59,65,93,101,102],[47,49,93,103,127,128,129,130,131,132,133,134,135,136,137,138,139]],"referencedMap":[[10,1],[12,1],[11,1],[2,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[3,1],[4,1],[24,1],[21,1],[22,1],[23,1],[25,1],[26,1],[27,1],[5,1],[28,1],[29,1],[30,1],[31,1],[6,1],[32,1],[33,1],[34,1],[35,1],[7,1],[40,1],[36,1],[37,1],[38,1],[39,1],[8,1],[44,1],[41,1],[42,1],[43,1],[1,1],[9,1],[45,1],[101,2],[50,3],[51,3],[53,4],[54,5],[55,6],[56,7],[57,8],[58,9],[59,10],[60,11],[61,12],[62,13],[63,13],[64,14],[65,15],[66,16],[67,17],[52,1],[99,1],[68,18],[69,19],[70,20],[100,21],[71,22],[72,23],[73,24],[74,25],[75,26],[76,27],[77,28],[78,29],[79,30],[80,31],[81,32],[82,33],[84,34],[83,35],[85,36],[86,37],[87,38],[88,39],[89,40],[90,41],[91,42],[92,43],[93,44],[94,45],[95,46],[96,47],[97,48],[98,49],[126,50],[121,51],[118,52],[119,53],[104,1],[110,54],[123,55],[120,56],[106,57],[116,58],[112,59],[124,59],[113,60],[115,61],[111,57],[117,62],[107,62],[122,63],[114,64],[125,1],[108,1],[105,61],[109,57],[102,65],[46,1],[47,66],[141,67],[138,68],[137,68],[127,69],[129,68],[131,68],[132,69],[133,68],[134,70],[135,68],[139,68],[128,68],[136,68],[130,68],[48,71],[49,72],[103,73],[140,74]],"exportedModulesMap":[[10,1],[12,1],[11,1],[2,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[3,1],[4,1],[24,1],[21,1],[22,1],[23,1],[25,1],[26,1],[27,1],[5,1],[28,1],[29,1],[30,1],[31,1],[6,1],[32,1],[33,1],[34,1],[35,1],[7,1],[40,1],[36,1],[37,1],[38,1],[39,1],[8,1],[44,1],[41,1],[42,1],[43,1],[1,1],[9,1],[45,1],[101,2],[50,3],[51,3],[53,4],[54,5],[55,6],[56,7],[57,8],[58,9],[59,10],[60,11],[61,12],[62,13],[63,13],[64,14],[65,15],[66,16],[67,17],[52,1],[99,1],[68,18],[69,19],[70,20],[100,21],[71,22],[72,23],[73,24],[74,25],[75,26],[76,27],[77,28],[78,29],[79,30],[80,31],[81,32],[82,33],[84,34],[83,35],[85,36],[86,37],[87,38],[88,39],[89,40],[90,41],[91,42],[92,43],[93,44],[94,45],[95,46],[96,47],[97,48],[98,49],[126,50],[121,51],[118,52],[119,53],[104,1],[110,54],[123,55],[120,56],[106,57],[116,58],[112,59],[124,59],[113,60],[115,61],[111,57],[117,62],[107,62],[122,63],[114,64],[125,1],[108,1],[105,61],[109,57],[102,65],[46,1],[47,66],[141,67],[138,68],[137,68],[127,69],[129,68],[131,68],[132,69],[133,68],[134,70],[135,68],[139,68],[128,68],[136,68],[130,68],[48,71],[49,72],[103,73],[140,74]],"semanticDiagnosticsPerFile":[10,12,11,2,13,14,15,16,17,18,19,20,3,4,24,21,22,23,25,26,27,5,28,29,30,31,6,32,33,34,35,7,40,36,37,38,39,8,44,41,42,43,1,9,45,101,50,51,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,52,99,68,69,70,100,71,72,73,74,75,76,77,78,79,80,81,82,84,83,85,86,87,88,89,90,91,92,93,94,95,96,97,98,126,121,118,119,104,110,123,120,106,116,112,124,113,115,111,117,107,122,114,125,108,105,109,102,46,47,141,138,137,127,129,131,132,133,134,135,139,128,136,130,48,49,103,140]},"version":"4.5.5"}
|
|
1
|
+
{"program":{"fileNames":["../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es5.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2016.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2019.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2021.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.esnext.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.dom.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.esnext.intl.d.ts","../src/constants.ts","../src/endpoints.ts","../src/ratelimitbuckets/localbucket.ts","../src/ratelimiter.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/index.d.ts","../node_modules/@types/centra/index.d.ts","../node_modules/form-data/index.d.ts","../src/requesthandler.ts","../node_modules/discord-typings/reference.d.ts","../node_modules/discord-typings/topics/permissions.d.ts","../node_modules/discord-typings/resources/emoji.d.ts","../node_modules/discord-typings/resources/voice.d.ts","../node_modules/discord-typings/topics/opcodesandstatuscodes.d.ts","../node_modules/discord-typings/topics/teams.d.ts","../node_modules/discord-typings/resources/application.d.ts","../node_modules/discord-typings/resources/sticker.d.ts","../node_modules/discord-typings/resources/guildscheduledevent.d.ts","../node_modules/discord-typings/resources/invite.d.ts","../node_modules/discord-typings/topics/gateway.d.ts","../node_modules/discord-typings/resources/stageinstance.d.ts","../node_modules/discord-typings/resources/guild.d.ts","../node_modules/discord-typings/resources/user.d.ts","../node_modules/discord-typings/interactions/messagecomponents.d.ts","../node_modules/discord-typings/interactions/receivingandresponding.d.ts","../node_modules/discord-typings/resources/channel.d.ts","../node_modules/discord-typings/interactions/applicationcommands.d.ts","../node_modules/discord-typings/resources/webhook.d.ts","../node_modules/discord-typings/resources/auditlog.d.ts","../node_modules/discord-typings/resources/guildtemplate.d.ts","../node_modules/discord-typings/topics/oauth2.d.ts","../node_modules/discord-typings/index.d.ts","../src/methods/channels.ts","../src/methods/users.ts","../src/methods/guildassets.ts","../src/methods/webhooks.ts","../src/methods/guilds.ts","../src/methods/guildscheduledevent.ts","../src/methods/guildtemplate.ts","../src/methods/interactions.ts","../src/methods/invites.ts","../src/methods/voices.ts","../src/methods/bots.ts","../src/methods/auditlog.ts","../src/methods/stageinstance.ts","../src/snowtransfer.ts","../src/index.ts"],"fileInfos":[{"version":"89f78430e422a0f06d13019d60d5a45b37ec2d28e67eb647f73b1b0d19a46b72","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","2cc028cd0bdb35b1b5eb723d84666a255933fffbea607f72cbd0c7c7b4bee144",{"version":"abba1071bfd89e55e88a054b0c851ea3e8a494c340d0f3fab19eb18f6afb0c9e","affectsGlobalScope":true},{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"4378fc8122ec9d1a685b01eb66c46f62aba6b239ca7228bb6483bcf8259ee493","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"d071129cba6a5f2700be09c86c07ad2791ab67d4e5ed1eb301d6746c62745ea4","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"e8c9f4e445a489991ca1a4232667de3ac36b07ba75ea335971fbeacf2d26fe67","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"82258b9946a70a488d83e96c43392c77c5615a1319a5d56d668712caf3af500d","cbb5b0197f7e751e82a71be15617bfb9a6eaa8c57a654e1673e567223303cd60",{"version":"79d2b7974a6a01407d95cd988385e0313d4d59e919f9c94fbac114e76cad67d8","signature":"a6f8d474a7cf5d4ab22d761f14e5f6b85c0050728fdc69fd65d79980bc42e60f"},{"version":"02e6eee65abe33c973e1b3c20e0b82559b05fccd88624a20eb7ff9e0e7cd9232","signature":"6feef4cfd98b1ccdd6248a91008b5701a7a2fb0a61adbeb74ee7c8fac0f514da"},"0d5a2ee1fdfa82740e0103389b9efd6bfe145a20018a2da3c02b89666181f4d9","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"92d63add669d18ebc349efbacd88966d6f2ccdddfb1b880b2db98ae3aa7bf7c4","affectsGlobalScope":true},"ccc94049a9841fe47abe5baef6be9a38fc6228807974ae675fb15dc22531b4be",{"version":"aeeee3998c5a730f8689f04038d41cf4245c9edbf6ef29a698e45b36e399b8ed","affectsGlobalScope":true},"95843d5cfafced8f3f8a5ce57d2335f0bcd361b9483587d12a25e4bd403b8216","afc6e96061af46bcff47246158caee7e056f5288783f2d83d6858cd25be1c565",{"version":"34f5bcac12b36d70304b73de5f5aab3bb91bd9919f984be80579ebcad03a624e","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","2f520601649a893e6a49a8851ebfcf4be8ce090dc1281c2a08a871cb04e8251f","f50c975ab7b50e25a69e3d8a3773894125b44e9698924105f23b812bf7488baf","2b8c764f856a1dd0a9a2bf23e5efddbff157de8138b0754010be561ae5fcaa90","76650408392bf49a8fbf3e2b6b302712a92d76af77b06e2da1cc8077359c4409","0af3121e68297b2247dd331c0d24dba599e50736a7517a5622d5591aae4a3122","6972fca26f6e9bd56197568d4379f99071a90766e06b4fcb5920a0130a9202be",{"version":"4a2628e95962c8ab756121faa3ac2ed348112ff7a87b5c286dd2cc3326546b4c","affectsGlobalScope":true},"80793b2277f31baa199234daed806fff0fb11491d1ebd3357e520c3558063f00","a049a59a02009fc023684fcfaf0ac526fe36c35dcc5d2b7d620c1750ba11b083","e3b886bacdd1fbf1f72e654596c80a55c7bc1d10bdf464aaf52f45ecd243862f","c665d5c50c2573aefd98f0ffb12c5583e333ed94294ce6f144a4163a8c84f09b","4b9a003b5c556c96784132945bb41c655ea11273b1917f5c8d0c154dd5fd20dd","a458dc78104cc80048ac24fdc02fe6dce254838094c2f25641b3f954d9721241",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"839e0b959028f5385ca8de7b9d9c00d71a5955d52d2c98cb3e488a626f7b90b3","abc1c425b2ad6720433f40f1877abfa4223f0f3dd486c9c28c492179ca183cb6","945a841f9a591197154c85386bc5a1467d42d325104bb36db51bc566bbb240be","10c39ce1df102994b47d4bc0c71aa9a6aea76f4651a5ec51914431f50bc883a1",{"version":"8207e7e6db9aa5fc7e61c8f17ba74cf9c115d26f51f91ee93f790815a7ea9dfb","affectsGlobalScope":true},"9f1069b9e2c051737b1f9b4f1baf50e4a63385a6a89c32235549ae87fc3d5492","ee18f2da7a037c6ceeb112a084e485aead9ea166980bf433474559eac1b46553","29c2706fa0cc49a2bd90c83234da33d08bb9554ecec675e91c1f85087f5a5324","0acbf26bf958f9e80c1ffa587b74749d2697b75b484062d36e103c137c562bc3","3fa48484c65913004d5abb5c0f917b61ea4684f32d05bb28c1ecfa5f05a9ed12","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"33eee034727baf564056b4ea719075c23d3b4767d0b5f9c6933b81f3d77774d2","c33a6ea7147af60d8e98f1ac127047f4b0d4e2ce28b8f08ff3de07ca7cc00637",{"version":"b42b47e17b8ece2424ae8039feb944c2e3ba4b262986aebd582e51efbdca93dc","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","2408611d9b4146e35d1dbd1f443ccd8e187c74614a54b80300728277529dbf11","998a3de5237518c0b3ac00a11b3b4417affb008aa20aedee52f3fdae3cb86151","ad41008ffe077206e1811fc873f4d9005b5fd7f6ab52bb6118fef600815a5cb4",{"version":"dd9ea469d1bfaf589c6a196275d35cb1aa14014707c2c46d920c7b921e8f5bca","affectsGlobalScope":true},"badae0df9a8016ac36994b0a0e7b82ba6aaa3528e175a8c3cb161e4683eec03e","c3db860bcaaaeb3bbc23f353bbda1f8ab82756c8d5e973bebb3953cb09ea68f2","235a53595bd20b0b0eeb1a29cb2887c67c48375e92f03749b2488fbd46d0b1a0","bc09393cd4cd13f69cf1366d4236fbae5359bb550f0de4e15767e9a91d63dfb1","9c266243b01545e11d2733a55ad02b4c00ecdbda99c561cd1674f96e89cdc958","c71155c05fc76ff948a4759abc1cb9feec036509f500174bc18dad4c7827a60c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"1503a452a67127e5c2da794d1c7c44344d5038373aae16c9b03ac964db159edd","3e5883cbd1b75ae02ec22e0a74b35c1c069eecf6a34814292024f431d3a38cb3","736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50",{"version":"90e45127529f031c10aca8bc4340aa0a2c31214282ba8b82eb7bfe3a438e2b2e","signature":"8cff5283063cc4534f4c3b32dd339bf25920d53c7daaca2761317e2c2dea742f"},"dba1158a38c78ad31104b9cb36086133846b4c1b2b08d35f79868bdf2fc0ac8a","50d012d83e0e7eb222ca233269676b95f35116bcccd7bc1fb26c5b63a1a32527","a26ea102be21fbcae9d7eefe8e1deb6d5065af54a2470494fb55cf2b6c5f4793","ca6f8fe753ffd22a559a5838c4fe2a8a0c54ce9acd06464bbee549e6250a5814","08efe48606426eca55d9ff13f2849019d4689fa4cb2d27a9f0be4e543a7ce5e1","4cb4c93a284d529a689f96c49a162b654a86451543140e38e18d120342b59230","4c8dd7e5a64182782c58ccb793f25674802da7c636d14b341effb74e53bcf245","c9e75e2e8a8f78f713c243b95fa5ebf425eddf7a0f8ee4bf957d969ce522c055","bf0763a84702a72bbc492f6a41196b70df432dfec062af0f6a555d785b943cfb","cf8b4dde972cfc12d371895e2c3336af610ac31c2a052c7d5171687f4d94640b","6f5f168bde77a5a553a0b2703aea33b25b8b6fd3657c32707fd7b135d37f7999","c78aa784c2c60a8acd213cbb94f9a4792788f679c6c64824910bf5d3b028eb42","f316ea316d6bb4bdee78b606ab7743fa41dd5fe6f9e20423b1cf2e12c145f778","b800c4657de5751c42a234152368abdc480201355c9ea2d79f1e2251f0a0923a","febff245a678fc3f598c5611c8f5c079db8b12ad08e61ef1d7febfa9c82743b2","3395093408c97de4f9e47b37b1edbf47643e9a591b74dbf6b814c1c5b3e278e7","0ee2cf302a2bf95ec53eb932a779d9c8c8ca5d9ca9b437f2284062d175fccc5d","4bc02d11602b24eb3e79d80a8b11bbf6437e14f7837c369301a6347f17870bbf","cf8ef3555f09f8b71df47dc63dff5a869fb4afe4a1cb632dbec3dd625af725f3","cef33e4a401baf042a4eb8d98eeedd46740160a215d3c306c7b822deaf31be0a","e4ff2ec932357917fc93a319a654ca4a9e948392c8cb8e4a806e92d3add51047","e513fb76a4a263cd9385b0639d79d3e77dee2f918845ce5c1f4d63804b37f928","9f2c9e732e01e506055e2b6f336c24d8c1ea559c803e362dc0d4342b6e7902d1",{"version":"8a6842b8c9b17ef12cbaa3b4bc084c066696021541e5f2231f4f893f75eb56fb","signature":"1dec42ef5c7ff9fa01ac2c05ecb66d4b8b7d2b4b65ad7d7bdb01a3d727ee90d7"},{"version":"07b67501c90a8c0eb8c5bce80bf2f4926d0a0d031361fe1ed2195fad42e4f853","signature":"07d36410b1d0e2bfce13528fc8ecf1dbec31f6ec3986146410e1d6d6998fc148"},{"version":"f237c30cc2b64e50dc5c55ac41715b8b144034e1aecad905364390423d413947","signature":"4a5d2deb6c3edee59bc443c3bb0b2a1651e5101ee93aeb9261dcdedeed28b5af"},{"version":"323f978434907f72b16c40b82494fa4e70098adf9ec6da4ac03e206e0021e6c1","signature":"b268af0197e558fdc32ca73bccd5dc25964093a15964da7a103c2450aaa47272"},{"version":"9f14ac7fc3b5647402f0f96c92280fb521c31edd1d0e4f58701464801676da5c","signature":"8a2556cb152a00bbbf2a5dadca1c6994f928258085c36aa24684c05b2f3e7274"},{"version":"624dac795ec4759dcde7865d40ee6a02384b8a48564909dfc9be1642e0b81bd6","signature":"4066f8d717c7c12da9bf8cba759a1d7449396d7f35b6eb4d4b4eec0d1647dda4"},{"version":"73eb2e9ff158b26354decfd9db95518788db378bc00e7d55dc7368852771b023","signature":"d948d6e7436ee4109e313b16269a1d2b5d14faf65d9437c976fb7ef4486b18f2"},{"version":"3a4359d94da29fa8bdc76550c1942bfb9c321a6068020440c445f5d708c3e5e6","signature":"157ca38948262ff885e3237a1a565e1bbb15e4f1f83ebc494e0026888d839751"},{"version":"41b6e8df10d6f48ad711e0b37503cc06e7f12471a8f2f3aa7c1c41b3bee2f6cf","signature":"7bd7d8f58f36696617c44d4ac8196284d9fad0036edc66ac5d1514c15fea2ee5"},{"version":"0299696802c4bcf38f8d310ad9b767a7b0c76a5b5ce8f94ba8fe5779a76d192f","signature":"9a61a2e6282659624b125fd29aba2d2aadb3325e22ee8ea66123cbc658e1776f"},{"version":"02533547851eea6c7d9dbd3d4e819cb53cdd472ece19e0839b5ec582e9661563","signature":"c4b601ffd759466cacf25ffd585ac2fcf94fc0e8739ec179bea83e774872838a"},{"version":"d5ae0a68f633b9f256d96815ebab7af19c3710dfa49e0d38aad5caeb390b218b","signature":"d15f0313532fa6144d409cf896d9258750ce4f294cfe201642c7a02752a49f91"},{"version":"195eebf3c73f44368e8f2b1614aeed91f2762927147f2d616340d1547c0876da","signature":"a2ba3ca93f1e681307c75f6ab8505ffad2a5557650f8435cb161b67a97880f4e"},{"version":"cec213842decd45d995ebe107bef25c46eb8d04e35c9496fcbd0970202aecfa5","signature":"5a4048460b708d76d622a550df209789edb421c367e7ece5cd74c1eabc6d1813"},{"version":"9171ad14f0a74623d555141efe5a6340db7d0ea1248f1c161b84ca6c4b6b893e","signature":"7fed7ecc1c740cc737643da5966801ff99b4643b7ac8dbf44bbf84c0be5a6d7d"}],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"module":1,"noUnusedLocals":false,"outDir":"./","removeComments":false,"sourceMap":false,"strictNullChecks":true,"target":6},"fileIdsList":[[93],[68,92,93,100],[50,93],[53,93],[54,59,93],[55,65,66,73,82,92,93],[55,56,65,73,93],[57,93],[58,59,66,74,93],[59,82,89,93],[60,62,65,73,93],[61,93],[62,63,93],[64,65,93],[65,93],[65,66,67,82,92,93],[65,66,67,82,93],[68,73,82,92,93],[65,66,68,69,73,82,89,92,93],[68,70,82,89,92,93],[50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99],[65,71,93],[72,92,93],[62,65,73,82,93],[74,93],[75,93],[53,76,93],[77,91,93,97],[78,93],[79,93],[65,80,93],[80,81,93,95],[65,82,83,84,93],[82,84,93],[82,83,93],[85,93],[86,93],[65,87,88,93],[87,88,93],[59,73,89,93],[90,93],[73,91,93],[54,68,79,92,93],[59,93],[82,93,94],[93,95],[93,96],[54,59,65,67,76,82,92,93,95,97],[82,93,98],[93,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125],[93,104,120],[93,106],[93,104,105,116,117,118,120,121],[93,104,109,117],[93,104,112,116,117,120,122],[93,104,106,110,111,116,117,118,119],[93,104,117],[93,104,105,106,107,111,112,114,115,117,120],[93,104,116,117],[93,110,112,116,117,120],[93,104],[93,104,116],[93,104,116,117,120],[93,104,105,106,108,110,111,113,116,117,120],[68,82,93,100],[46,93],[46,47,93,140],[47,93,103,126],[46,47,93,103,126],[47,93,103,126,130],[49,93],[48,93],[46,47,48,49,59,65,93,101,102],[47,49,93,103,127,128,129,130,131,132,133,134,135,136,137,138,139],[46,47,140],[103,126],[103,126,130],[49],[48],[49,65,101],[49,103,127,128,129,130,131,132,133,134,135,136,137,138,139]],"referencedMap":[[10,1],[12,1],[11,1],[2,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[3,1],[4,1],[24,1],[21,1],[22,1],[23,1],[25,1],[26,1],[27,1],[5,1],[28,1],[29,1],[30,1],[31,1],[6,1],[32,1],[33,1],[34,1],[35,1],[7,1],[40,1],[36,1],[37,1],[38,1],[39,1],[8,1],[44,1],[41,1],[42,1],[43,1],[1,1],[9,1],[45,1],[101,2],[50,3],[51,3],[53,4],[54,5],[55,6],[56,7],[57,8],[58,9],[59,10],[60,11],[61,12],[62,13],[63,13],[64,14],[65,15],[66,16],[67,17],[52,1],[99,1],[68,18],[69,19],[70,20],[100,21],[71,22],[72,23],[73,24],[74,25],[75,26],[76,27],[77,28],[78,29],[79,30],[80,31],[81,32],[82,33],[84,34],[83,35],[85,36],[86,37],[87,38],[88,39],[89,40],[90,41],[91,42],[92,43],[93,44],[94,45],[95,46],[96,47],[97,48],[98,49],[126,50],[121,51],[118,52],[119,53],[104,1],[110,54],[123,55],[120,56],[106,57],[116,58],[112,59],[124,59],[113,60],[115,61],[111,57],[117,62],[107,62],[122,63],[114,64],[125,1],[108,1],[105,61],[109,57],[102,65],[46,1],[47,66],[141,67],[138,68],[137,68],[127,69],[129,68],[131,68],[132,69],[133,68],[134,70],[135,68],[139,68],[128,68],[136,68],[130,68],[48,71],[49,72],[103,73],[140,74]],"exportedModulesMap":[[10,1],[12,1],[11,1],[2,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[3,1],[4,1],[24,1],[21,1],[22,1],[23,1],[25,1],[26,1],[27,1],[5,1],[28,1],[29,1],[30,1],[31,1],[6,1],[32,1],[33,1],[34,1],[35,1],[7,1],[40,1],[36,1],[37,1],[38,1],[39,1],[8,1],[44,1],[41,1],[42,1],[43,1],[1,1],[9,1],[45,1],[101,2],[50,3],[51,3],[53,4],[54,5],[55,6],[56,7],[57,8],[58,9],[59,10],[60,11],[61,12],[62,13],[63,13],[64,14],[65,15],[66,16],[67,17],[52,1],[99,1],[68,18],[69,19],[70,20],[100,21],[71,22],[72,23],[73,24],[74,25],[75,26],[76,27],[77,28],[78,29],[79,30],[80,31],[81,32],[82,33],[84,34],[83,35],[85,36],[86,37],[87,38],[88,39],[89,40],[90,41],[91,42],[92,43],[93,44],[94,45],[95,46],[96,47],[97,48],[98,49],[126,50],[121,51],[118,52],[119,53],[104,1],[110,54],[123,55],[120,56],[106,57],[116,58],[112,59],[124,59],[113,60],[115,61],[111,57],[117,62],[107,62],[122,63],[114,64],[125,1],[108,1],[105,61],[109,57],[102,65],[46,1],[47,66],[141,75],[138,76],[137,76],[127,76],[129,76],[131,76],[132,76],[133,76],[134,77],[135,76],[139,76],[128,76],[136,76],[130,76],[48,78],[49,79],[103,80],[140,81]],"semanticDiagnosticsPerFile":[10,12,11,2,13,14,15,16,17,18,19,20,3,4,24,21,22,23,25,26,27,5,28,29,30,31,6,32,33,34,35,7,40,36,37,38,39,8,44,41,42,43,1,9,45,101,50,51,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,52,99,68,69,70,100,71,72,73,74,75,76,77,78,79,80,81,82,84,83,85,86,87,88,89,90,91,92,93,94,95,96,97,98,126,121,118,119,104,110,123,120,106,116,112,124,113,115,111,117,107,122,114,125,108,105,109,102,46,47,141,138,137,127,129,131,132,133,134,135,139,128,136,130,48,49,103,140]},"version":"4.5.5"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "snowtransfer",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Minimalistic Rest client for the Discord Api",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -30,19 +30,19 @@
|
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"centra": "^2.5.0",
|
|
33
|
-
"discord-typings": "^10.0.
|
|
33
|
+
"discord-typings": "^10.0.2",
|
|
34
34
|
"form-data": "~4.0.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@types/centra": "^2.2.0",
|
|
38
38
|
"@types/node": "^16.0.1",
|
|
39
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
40
|
-
"@typescript-eslint/parser": "^5.
|
|
41
|
-
"eslint": "^8.
|
|
42
|
-
"typedoc": "^0.22.
|
|
39
|
+
"@typescript-eslint/eslint-plugin": "^5.16.0",
|
|
40
|
+
"@typescript-eslint/parser": "^5.16.0",
|
|
41
|
+
"eslint": "^8.12.0",
|
|
42
|
+
"typedoc": "^0.22.13",
|
|
43
43
|
"typedoc-plugin-mdn-links": "^1.0.4",
|
|
44
44
|
"typedoc-plugin-missing-exports": "^0.22.6",
|
|
45
|
-
"typescript": "^4.
|
|
45
|
+
"typescript": "^4.6.3"
|
|
46
46
|
},
|
|
47
47
|
"files": [
|
|
48
48
|
"dist",
|