@sapphire/discord-utilities 3.5.0 → 3.5.1-next.104fbcfe
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.
|
@@ -30,35 +30,11 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
30
30
|
));
|
|
31
31
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
32
32
|
|
|
33
|
-
// ../../node_modules/discord-api-types/gateway/common.js
|
|
34
|
-
var require_common = __commonJS({
|
|
35
|
-
"../../node_modules/discord-api-types/gateway/common.js"(exports) {
|
|
36
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
|
|
40
33
|
// ../../node_modules/discord-api-types/gateway/v10.js
|
|
41
34
|
var require_v10 = __commonJS({
|
|
42
35
|
"../../node_modules/discord-api-types/gateway/v10.js"(exports) {
|
|
43
|
-
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
44
|
-
if (k2 === void 0) k2 = k;
|
|
45
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
46
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
47
|
-
desc = { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
48
|
-
return m[k];
|
|
49
|
-
}, "get") };
|
|
50
|
-
}
|
|
51
|
-
Object.defineProperty(o, k2, desc);
|
|
52
|
-
} : function(o, m, k, k2) {
|
|
53
|
-
if (k2 === void 0) k2 = k;
|
|
54
|
-
o[k2] = m[k];
|
|
55
|
-
});
|
|
56
|
-
var __exportStar = exports && exports.__exportStar || function(m, exports2) {
|
|
57
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
|
|
58
|
-
};
|
|
59
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
60
37
|
exports.VoiceChannelEffectSendAnimationType = exports.GatewayDispatchEvents = exports.GatewayIntentBits = exports.GatewayCloseCodes = exports.GatewayOpcodes = exports.GatewayVersion = void 0;
|
|
61
|
-
__exportStar(require_common(), exports);
|
|
62
38
|
exports.GatewayVersion = "10";
|
|
63
39
|
var GatewayOpcodes2;
|
|
64
40
|
(function(GatewayOpcodes3) {
|
|
@@ -249,10 +225,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
249
225
|
*
|
|
250
226
|
* The `fullName` (possibly including `name`, `subcommandOrGroup` and `subcommand`) and `id` group properties are present on the `exec` result of this expression
|
|
251
227
|
*/
|
|
252
|
-
SlashCommand: (
|
|
253
|
-
// eslint-disable-next-line unicorn/no-unsafe-regex
|
|
254
|
-
/<\/(?<fullName>(?<name>[-_\p{Letter}\p{Number}\p{sc=Deva}\p{sc=Thai}]{1,32})(?: (?<subcommandOrGroup>[-_\p{Letter}\p{Number}\p{sc=Deva}\p{sc=Thai}]{1,32}))?(?: (?<subcommand>[-_\p{Letter}\p{Number}\p{sc=Deva}\p{sc=Thai}]{1,32}))?):(?<id>\d{17,20})>/u
|
|
255
|
-
),
|
|
228
|
+
SlashCommand: /<\/(?<fullName>(?<name>[-_\p{Letter}\p{Number}\p{sc=Deva}\p{sc=Thai}]{1,32})(?: (?<subcommandOrGroup>[-_\p{Letter}\p{Number}\p{sc=Deva}\p{sc=Thai}]{1,32}))?(?: (?<subcommand>[-_\p{Letter}\p{Number}\p{sc=Deva}\p{sc=Thai}]{1,32}))?):(?<id>\d{17,20})>/u,
|
|
256
229
|
/**
|
|
257
230
|
* Regular expression for matching a custom emoji, either static or animated
|
|
258
231
|
*
|
|
@@ -308,7 +281,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
308
281
|
});
|
|
309
282
|
|
|
310
283
|
// ../../node_modules/discord-api-types/payloads/common.js
|
|
311
|
-
var
|
|
284
|
+
var require_common = __commonJS({
|
|
312
285
|
"../../node_modules/discord-api-types/payloads/common.js"(exports) {
|
|
313
286
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
314
287
|
exports.PermissionFlagsBits = void 0;
|
|
@@ -322,7 +295,6 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
322
295
|
/**
|
|
323
296
|
* Allows kicking members
|
|
324
297
|
*/
|
|
325
|
-
// eslint-disable-next-line sonarjs/no-identical-expressions
|
|
326
298
|
KickMembers: 1n << 1n,
|
|
327
299
|
/**
|
|
328
300
|
* Allows banning members
|
|
@@ -592,7 +564,13 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
592
564
|
*
|
|
593
565
|
* Applies to channel types: Text, Voice, Stage
|
|
594
566
|
*/
|
|
595
|
-
UseExternalApps: 1n << 50n
|
|
567
|
+
UseExternalApps: 1n << 50n,
|
|
568
|
+
/**
|
|
569
|
+
* Allows pinning and unpinning messages
|
|
570
|
+
*
|
|
571
|
+
* Applies to channel types: Text
|
|
572
|
+
*/
|
|
573
|
+
PinMessages: 1n << 51n
|
|
596
574
|
};
|
|
597
575
|
Object.freeze(exports.PermissionFlagsBits);
|
|
598
576
|
}
|
|
@@ -706,6 +684,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
706
684
|
AuditLogEvent3[AuditLogEvent3["AutoModerationBlockMessage"] = 143] = "AutoModerationBlockMessage";
|
|
707
685
|
AuditLogEvent3[AuditLogEvent3["AutoModerationFlagToChannel"] = 144] = "AutoModerationFlagToChannel";
|
|
708
686
|
AuditLogEvent3[AuditLogEvent3["AutoModerationUserCommunicationDisabled"] = 145] = "AutoModerationUserCommunicationDisabled";
|
|
687
|
+
AuditLogEvent3[AuditLogEvent3["AutoModerationQuarantineUser"] = 146] = "AutoModerationQuarantineUser";
|
|
709
688
|
AuditLogEvent3[AuditLogEvent3["CreatorMonetizationRequestCreated"] = 150] = "CreatorMonetizationRequestCreated";
|
|
710
689
|
AuditLogEvent3[AuditLogEvent3["CreatorMonetizationTermsAccepted"] = 151] = "CreatorMonetizationTermsAccepted";
|
|
711
690
|
AuditLogEvent3[AuditLogEvent3["OnboardingPromptCreate"] = 163] = "OnboardingPromptCreate";
|
|
@@ -976,18 +955,11 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
976
955
|
}
|
|
977
956
|
});
|
|
978
957
|
|
|
979
|
-
// ../../node_modules/discord-api-types/payloads/v10/emoji.js
|
|
980
|
-
var require_emoji = __commonJS({
|
|
981
|
-
"../../node_modules/discord-api-types/payloads/v10/emoji.js"(exports) {
|
|
982
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
983
|
-
}
|
|
984
|
-
});
|
|
985
|
-
|
|
986
958
|
// ../../node_modules/discord-api-types/payloads/v10/gateway.js
|
|
987
959
|
var require_gateway = __commonJS({
|
|
988
960
|
"../../node_modules/discord-api-types/payloads/v10/gateway.js"(exports) {
|
|
989
961
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
990
|
-
exports.ActivityFlags = exports.ActivityType = exports.ActivityPlatform = exports.PresenceUpdateStatus = void 0;
|
|
962
|
+
exports.ActivityFlags = exports.StatusDisplayType = exports.ActivityType = exports.ActivityPlatform = exports.PresenceUpdateStatus = void 0;
|
|
991
963
|
var PresenceUpdateStatus2;
|
|
992
964
|
(function(PresenceUpdateStatus3) {
|
|
993
965
|
PresenceUpdateStatus3["Online"] = "online";
|
|
@@ -1016,6 +988,12 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1016
988
|
ActivityType3[ActivityType3["Custom"] = 4] = "Custom";
|
|
1017
989
|
ActivityType3[ActivityType3["Competing"] = 5] = "Competing";
|
|
1018
990
|
})(ActivityType2 || (exports.ActivityType = ActivityType2 = {}));
|
|
991
|
+
var StatusDisplayType2;
|
|
992
|
+
(function(StatusDisplayType3) {
|
|
993
|
+
StatusDisplayType3[StatusDisplayType3["Name"] = 0] = "Name";
|
|
994
|
+
StatusDisplayType3[StatusDisplayType3["State"] = 1] = "State";
|
|
995
|
+
StatusDisplayType3[StatusDisplayType3["Details"] = 2] = "Details";
|
|
996
|
+
})(StatusDisplayType2 || (exports.StatusDisplayType = StatusDisplayType2 = {}));
|
|
1019
997
|
var ActivityFlags2;
|
|
1020
998
|
(function(ActivityFlags3) {
|
|
1021
999
|
ActivityFlags3[ActivityFlags3["Instance"] = 1] = "Instance";
|
|
@@ -1126,6 +1104,9 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1126
1104
|
GuildFeature3["Verified"] = "VERIFIED";
|
|
1127
1105
|
GuildFeature3["VIPRegions"] = "VIP_REGIONS";
|
|
1128
1106
|
GuildFeature3["WelcomeScreenEnabled"] = "WELCOME_SCREEN_ENABLED";
|
|
1107
|
+
GuildFeature3["GuildTags"] = "GUILD_TAGS";
|
|
1108
|
+
GuildFeature3["EnhancedRoleColors"] = "ENHANCED_ROLE_COLORS";
|
|
1109
|
+
GuildFeature3["GuestsEnabled"] = "GUESTS_ENABLED";
|
|
1129
1110
|
})(GuildFeature2 || (exports.GuildFeature = GuildFeature2 = {}));
|
|
1130
1111
|
var GuildMemberFlags2;
|
|
1131
1112
|
(function(GuildMemberFlags3) {
|
|
@@ -1139,6 +1120,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1139
1120
|
GuildMemberFlags3[GuildMemberFlags3["AutomodQuarantinedUsernameOrGuildNickname"] = 128] = "AutomodQuarantinedUsernameOrGuildNickname";
|
|
1140
1121
|
GuildMemberFlags3[GuildMemberFlags3["AutomodQuarantinedBio"] = 256] = "AutomodQuarantinedBio";
|
|
1141
1122
|
GuildMemberFlags3[GuildMemberFlags3["DmSettingsUpsellAcknowledged"] = 512] = "DmSettingsUpsellAcknowledged";
|
|
1123
|
+
GuildMemberFlags3[GuildMemberFlags3["AutoModQuarantinedGuildTag"] = 1024] = "AutoModQuarantinedGuildTag";
|
|
1142
1124
|
})(GuildMemberFlags2 || (exports.GuildMemberFlags = GuildMemberFlags2 = {}));
|
|
1143
1125
|
var IntegrationExpireBehavior2;
|
|
1144
1126
|
(function(IntegrationExpireBehavior3) {
|
|
@@ -1227,62 +1209,6 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1227
1209
|
}
|
|
1228
1210
|
});
|
|
1229
1211
|
|
|
1230
|
-
// ../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/attachment.js
|
|
1231
|
-
var require_attachment = __commonJS({
|
|
1232
|
-
"../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/attachment.js"(exports) {
|
|
1233
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1234
|
-
}
|
|
1235
|
-
});
|
|
1236
|
-
|
|
1237
|
-
// ../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/base.js
|
|
1238
|
-
var require_base = __commonJS({
|
|
1239
|
-
"../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/base.js"(exports) {
|
|
1240
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1241
|
-
}
|
|
1242
|
-
});
|
|
1243
|
-
|
|
1244
|
-
// ../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/boolean.js
|
|
1245
|
-
var require_boolean = __commonJS({
|
|
1246
|
-
"../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/boolean.js"(exports) {
|
|
1247
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1248
|
-
}
|
|
1249
|
-
});
|
|
1250
|
-
|
|
1251
|
-
// ../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/channel.js
|
|
1252
|
-
var require_channel2 = __commonJS({
|
|
1253
|
-
"../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/channel.js"(exports) {
|
|
1254
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1255
|
-
}
|
|
1256
|
-
});
|
|
1257
|
-
|
|
1258
|
-
// ../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/integer.js
|
|
1259
|
-
var require_integer = __commonJS({
|
|
1260
|
-
"../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/integer.js"(exports) {
|
|
1261
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1262
|
-
}
|
|
1263
|
-
});
|
|
1264
|
-
|
|
1265
|
-
// ../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/mentionable.js
|
|
1266
|
-
var require_mentionable = __commonJS({
|
|
1267
|
-
"../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/mentionable.js"(exports) {
|
|
1268
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1269
|
-
}
|
|
1270
|
-
});
|
|
1271
|
-
|
|
1272
|
-
// ../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/number.js
|
|
1273
|
-
var require_number = __commonJS({
|
|
1274
|
-
"../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/number.js"(exports) {
|
|
1275
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1276
|
-
}
|
|
1277
|
-
});
|
|
1278
|
-
|
|
1279
|
-
// ../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/role.js
|
|
1280
|
-
var require_role = __commonJS({
|
|
1281
|
-
"../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/role.js"(exports) {
|
|
1282
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1283
|
-
}
|
|
1284
|
-
});
|
|
1285
|
-
|
|
1286
1212
|
// ../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/shared.js
|
|
1287
1213
|
var require_shared = __commonJS({
|
|
1288
1214
|
"../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/shared.js"(exports) {
|
|
@@ -1305,34 +1231,6 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1305
1231
|
}
|
|
1306
1232
|
});
|
|
1307
1233
|
|
|
1308
|
-
// ../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/string.js
|
|
1309
|
-
var require_string = __commonJS({
|
|
1310
|
-
"../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/string.js"(exports) {
|
|
1311
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1312
|
-
}
|
|
1313
|
-
});
|
|
1314
|
-
|
|
1315
|
-
// ../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommand.js
|
|
1316
|
-
var require_subcommand = __commonJS({
|
|
1317
|
-
"../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommand.js"(exports) {
|
|
1318
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1319
|
-
}
|
|
1320
|
-
});
|
|
1321
|
-
|
|
1322
|
-
// ../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommandGroup.js
|
|
1323
|
-
var require_subcommandGroup = __commonJS({
|
|
1324
|
-
"../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommandGroup.js"(exports) {
|
|
1325
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1326
|
-
}
|
|
1327
|
-
});
|
|
1328
|
-
|
|
1329
|
-
// ../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/user.js
|
|
1330
|
-
var require_user = __commonJS({
|
|
1331
|
-
"../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/user.js"(exports) {
|
|
1332
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1333
|
-
}
|
|
1334
|
-
});
|
|
1335
|
-
|
|
1336
1234
|
// ../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/chatInput.js
|
|
1337
1235
|
var require_chatInput = __commonJS({
|
|
1338
1236
|
"../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/chatInput.js"(exports) {
|
|
@@ -1353,26 +1251,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1353
1251
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
|
|
1354
1252
|
};
|
|
1355
1253
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1356
|
-
__exportStar(require_attachment(), exports);
|
|
1357
|
-
__exportStar(require_base(), exports);
|
|
1358
|
-
__exportStar(require_boolean(), exports);
|
|
1359
|
-
__exportStar(require_channel2(), exports);
|
|
1360
|
-
__exportStar(require_integer(), exports);
|
|
1361
|
-
__exportStar(require_mentionable(), exports);
|
|
1362
|
-
__exportStar(require_number(), exports);
|
|
1363
|
-
__exportStar(require_role(), exports);
|
|
1364
1254
|
__exportStar(require_shared(), exports);
|
|
1365
|
-
__exportStar(require_string(), exports);
|
|
1366
|
-
__exportStar(require_subcommand(), exports);
|
|
1367
|
-
__exportStar(require_subcommandGroup(), exports);
|
|
1368
|
-
__exportStar(require_user(), exports);
|
|
1369
|
-
}
|
|
1370
|
-
});
|
|
1371
|
-
|
|
1372
|
-
// ../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/contextMenu.js
|
|
1373
|
-
var require_contextMenu = __commonJS({
|
|
1374
|
-
"../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/contextMenu.js"(exports) {
|
|
1375
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1376
1255
|
}
|
|
1377
1256
|
});
|
|
1378
1257
|
|
|
@@ -1395,20 +1274,6 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1395
1274
|
}
|
|
1396
1275
|
});
|
|
1397
1276
|
|
|
1398
|
-
// ../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/entryPoint.js
|
|
1399
|
-
var require_entryPoint = __commonJS({
|
|
1400
|
-
"../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/entryPoint.js"(exports) {
|
|
1401
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1402
|
-
}
|
|
1403
|
-
});
|
|
1404
|
-
|
|
1405
|
-
// ../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/internals.js
|
|
1406
|
-
var require_internals = __commonJS({
|
|
1407
|
-
"../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/internals.js"(exports) {
|
|
1408
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1409
|
-
}
|
|
1410
|
-
});
|
|
1411
|
-
|
|
1412
1277
|
// ../../node_modules/discord-api-types/payloads/v10/_interactions/applicationCommands.js
|
|
1413
1278
|
var require_applicationCommands = __commonJS({
|
|
1414
1279
|
"../../node_modules/discord-api-types/payloads/v10/_interactions/applicationCommands.js"(exports) {
|
|
@@ -1431,10 +1296,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1431
1296
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1432
1297
|
exports.EntryPointCommandHandlerType = exports.InteractionContextType = exports.ApplicationIntegrationType = exports.ApplicationCommandType = void 0;
|
|
1433
1298
|
__exportStar(require_chatInput(), exports);
|
|
1434
|
-
__exportStar(require_contextMenu(), exports);
|
|
1435
1299
|
__exportStar(require_permissions(), exports);
|
|
1436
|
-
__exportStar(require_entryPoint(), exports);
|
|
1437
|
-
__exportStar(require_internals(), exports);
|
|
1438
1300
|
var ApplicationCommandType2;
|
|
1439
1301
|
(function(ApplicationCommandType3) {
|
|
1440
1302
|
ApplicationCommandType3[ApplicationCommandType3["ChatInput"] = 1] = "ChatInput";
|
|
@@ -1461,41 +1323,6 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1461
1323
|
}
|
|
1462
1324
|
});
|
|
1463
1325
|
|
|
1464
|
-
// ../../node_modules/discord-api-types/payloads/v10/_interactions/autocomplete.js
|
|
1465
|
-
var require_autocomplete = __commonJS({
|
|
1466
|
-
"../../node_modules/discord-api-types/payloads/v10/_interactions/autocomplete.js"(exports) {
|
|
1467
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1468
|
-
}
|
|
1469
|
-
});
|
|
1470
|
-
|
|
1471
|
-
// ../../node_modules/discord-api-types/payloads/v10/_interactions/base.js
|
|
1472
|
-
var require_base2 = __commonJS({
|
|
1473
|
-
"../../node_modules/discord-api-types/payloads/v10/_interactions/base.js"(exports) {
|
|
1474
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1475
|
-
}
|
|
1476
|
-
});
|
|
1477
|
-
|
|
1478
|
-
// ../../node_modules/discord-api-types/payloads/v10/_interactions/messageComponents.js
|
|
1479
|
-
var require_messageComponents = __commonJS({
|
|
1480
|
-
"../../node_modules/discord-api-types/payloads/v10/_interactions/messageComponents.js"(exports) {
|
|
1481
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1482
|
-
}
|
|
1483
|
-
});
|
|
1484
|
-
|
|
1485
|
-
// ../../node_modules/discord-api-types/payloads/v10/_interactions/modalSubmit.js
|
|
1486
|
-
var require_modalSubmit = __commonJS({
|
|
1487
|
-
"../../node_modules/discord-api-types/payloads/v10/_interactions/modalSubmit.js"(exports) {
|
|
1488
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1489
|
-
}
|
|
1490
|
-
});
|
|
1491
|
-
|
|
1492
|
-
// ../../node_modules/discord-api-types/payloads/v10/_interactions/ping.js
|
|
1493
|
-
var require_ping = __commonJS({
|
|
1494
|
-
"../../node_modules/discord-api-types/payloads/v10/_interactions/ping.js"(exports) {
|
|
1495
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1496
|
-
}
|
|
1497
|
-
});
|
|
1498
|
-
|
|
1499
1326
|
// ../../node_modules/discord-api-types/payloads/v10/_interactions/responses.js
|
|
1500
1327
|
var require_responses = __commonJS({
|
|
1501
1328
|
"../../node_modules/discord-api-types/payloads/v10/_interactions/responses.js"(exports) {
|
|
@@ -1545,11 +1372,6 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1545
1372
|
};
|
|
1546
1373
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1547
1374
|
__exportStar(require_applicationCommands(), exports);
|
|
1548
|
-
__exportStar(require_autocomplete(), exports);
|
|
1549
|
-
__exportStar(require_base2(), exports);
|
|
1550
|
-
__exportStar(require_messageComponents(), exports);
|
|
1551
|
-
__exportStar(require_modalSubmit(), exports);
|
|
1552
|
-
__exportStar(require_ping(), exports);
|
|
1553
1375
|
__exportStar(require_responses(), exports);
|
|
1554
1376
|
}
|
|
1555
1377
|
});
|
|
@@ -1558,7 +1380,11 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1558
1380
|
var require_invite = __commonJS({
|
|
1559
1381
|
"../../node_modules/discord-api-types/payloads/v10/invite.js"(exports) {
|
|
1560
1382
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1561
|
-
exports.InviteTargetType = exports.InviteType = void 0;
|
|
1383
|
+
exports.InviteTargetType = exports.InviteType = exports.InviteFlags = void 0;
|
|
1384
|
+
var InviteFlags2;
|
|
1385
|
+
(function(InviteFlags3) {
|
|
1386
|
+
InviteFlags3[InviteFlags3["IsGuestInvite"] = 1] = "IsGuestInvite";
|
|
1387
|
+
})(InviteFlags2 || (exports.InviteFlags = InviteFlags2 = {}));
|
|
1562
1388
|
var InviteType2;
|
|
1563
1389
|
(function(InviteType3) {
|
|
1564
1390
|
InviteType3[InviteType3["Guild"] = 0] = "Guild";
|
|
@@ -1674,13 +1500,6 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1674
1500
|
}
|
|
1675
1501
|
});
|
|
1676
1502
|
|
|
1677
|
-
// ../../node_modules/discord-api-types/payloads/v10/soundboard.js
|
|
1678
|
-
var require_soundboard = __commonJS({
|
|
1679
|
-
"../../node_modules/discord-api-types/payloads/v10/soundboard.js"(exports) {
|
|
1680
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1681
|
-
}
|
|
1682
|
-
});
|
|
1683
|
-
|
|
1684
1503
|
// ../../node_modules/discord-api-types/payloads/v10/stageInstance.js
|
|
1685
1504
|
var require_stageInstance = __commonJS({
|
|
1686
1505
|
"../../node_modules/discord-api-types/payloads/v10/stageInstance.js"(exports) {
|
|
@@ -1733,18 +1552,11 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1733
1552
|
}
|
|
1734
1553
|
});
|
|
1735
1554
|
|
|
1736
|
-
// ../../node_modules/discord-api-types/payloads/v10/template.js
|
|
1737
|
-
var require_template = __commonJS({
|
|
1738
|
-
"../../node_modules/discord-api-types/payloads/v10/template.js"(exports) {
|
|
1739
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1740
|
-
}
|
|
1741
|
-
});
|
|
1742
|
-
|
|
1743
1555
|
// ../../node_modules/discord-api-types/payloads/v10/user.js
|
|
1744
|
-
var
|
|
1556
|
+
var require_user = __commonJS({
|
|
1745
1557
|
"../../node_modules/discord-api-types/payloads/v10/user.js"(exports) {
|
|
1746
1558
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1747
|
-
exports.ConnectionVisibility = exports.ConnectionService = exports.UserPremiumType = exports.UserFlags = void 0;
|
|
1559
|
+
exports.NameplatePalette = exports.ConnectionVisibility = exports.ConnectionService = exports.UserPremiumType = exports.UserFlags = void 0;
|
|
1748
1560
|
var UserFlags2;
|
|
1749
1561
|
(function(UserFlags3) {
|
|
1750
1562
|
UserFlags3[UserFlags3["Staff"] = 1] = "Staff";
|
|
@@ -1813,13 +1625,20 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1813
1625
|
ConnectionVisibility3[ConnectionVisibility3["None"] = 0] = "None";
|
|
1814
1626
|
ConnectionVisibility3[ConnectionVisibility3["Everyone"] = 1] = "Everyone";
|
|
1815
1627
|
})(ConnectionVisibility2 || (exports.ConnectionVisibility = ConnectionVisibility2 = {}));
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1628
|
+
var NameplatePalette2;
|
|
1629
|
+
(function(NameplatePalette3) {
|
|
1630
|
+
NameplatePalette3["Berry"] = "berry";
|
|
1631
|
+
NameplatePalette3["BubbleGum"] = "bubble_gum";
|
|
1632
|
+
NameplatePalette3["Clover"] = "clover";
|
|
1633
|
+
NameplatePalette3["Cobalt"] = "cobalt";
|
|
1634
|
+
NameplatePalette3["Crimson"] = "crimson";
|
|
1635
|
+
NameplatePalette3["Forest"] = "forest";
|
|
1636
|
+
NameplatePalette3["Lemon"] = "lemon";
|
|
1637
|
+
NameplatePalette3["Sky"] = "sky";
|
|
1638
|
+
NameplatePalette3["Teal"] = "teal";
|
|
1639
|
+
NameplatePalette3["Violet"] = "violet";
|
|
1640
|
+
NameplatePalette3["White"] = "white";
|
|
1641
|
+
})(NameplatePalette2 || (exports.NameplatePalette = NameplatePalette2 = {}));
|
|
1823
1642
|
}
|
|
1824
1643
|
});
|
|
1825
1644
|
|
|
@@ -1836,6 +1655,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1836
1655
|
var ApplicationWebhookEventType2;
|
|
1837
1656
|
(function(ApplicationWebhookEventType3) {
|
|
1838
1657
|
ApplicationWebhookEventType3["ApplicationAuthorized"] = "APPLICATION_AUTHORIZED";
|
|
1658
|
+
ApplicationWebhookEventType3["ApplicationDeauthorized"] = "APPLICATION_DEAUTHORIZED";
|
|
1839
1659
|
ApplicationWebhookEventType3["EntitlementCreate"] = "ENTITLEMENT_CREATE";
|
|
1840
1660
|
ApplicationWebhookEventType3["QuestUserEnrollment"] = "QUEST_USER_ENROLLMENT";
|
|
1841
1661
|
})(ApplicationWebhookEventType2 || (exports.ApplicationWebhookEventType = ApplicationWebhookEventType2 = {}));
|
|
@@ -1868,12 +1688,11 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1868
1688
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
|
|
1869
1689
|
};
|
|
1870
1690
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1871
|
-
__exportStar(
|
|
1691
|
+
__exportStar(require_common(), exports);
|
|
1872
1692
|
__exportStar(require_application(), exports);
|
|
1873
1693
|
__exportStar(require_auditLog(), exports);
|
|
1874
1694
|
__exportStar(require_autoModeration(), exports);
|
|
1875
1695
|
__exportStar(require_channel(), exports);
|
|
1876
|
-
__exportStar(require_emoji(), exports);
|
|
1877
1696
|
__exportStar(require_gateway(), exports);
|
|
1878
1697
|
__exportStar(require_guild(), exports);
|
|
1879
1698
|
__exportStar(require_guildScheduledEvent(), exports);
|
|
@@ -1883,19 +1702,16 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1883
1702
|
__exportStar(require_oauth2(), exports);
|
|
1884
1703
|
__exportStar(require_permissions2(), exports);
|
|
1885
1704
|
__exportStar(require_poll(), exports);
|
|
1886
|
-
__exportStar(require_soundboard(), exports);
|
|
1887
1705
|
__exportStar(require_stageInstance(), exports);
|
|
1888
1706
|
__exportStar(require_sticker(), exports);
|
|
1889
1707
|
__exportStar(require_teams(), exports);
|
|
1890
|
-
__exportStar(
|
|
1891
|
-
__exportStar(require_user2(), exports);
|
|
1892
|
-
__exportStar(require_voice(), exports);
|
|
1708
|
+
__exportStar(require_user(), exports);
|
|
1893
1709
|
__exportStar(require_webhook(), exports);
|
|
1894
1710
|
}
|
|
1895
1711
|
});
|
|
1896
1712
|
|
|
1897
1713
|
// ../../node_modules/discord-api-types/utils/internals.js
|
|
1898
|
-
var
|
|
1714
|
+
var require_internals = __commonJS({
|
|
1899
1715
|
"../../node_modules/discord-api-types/utils/internals.js"(exports) {
|
|
1900
1716
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1901
1717
|
exports.urlSafeCharacters = void 0;
|
|
@@ -1911,7 +1727,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1911
1727
|
});
|
|
1912
1728
|
|
|
1913
1729
|
// ../../node_modules/discord-api-types/rest/common.js
|
|
1914
|
-
var
|
|
1730
|
+
var require_common2 = __commonJS({
|
|
1915
1731
|
"../../node_modules/discord-api-types/rest/common.js"(exports) {
|
|
1916
1732
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1917
1733
|
exports.Locale = exports.RESTJSONErrorCodes = void 0;
|
|
@@ -2180,29 +1996,8 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
2180
1996
|
}
|
|
2181
1997
|
});
|
|
2182
1998
|
|
|
2183
|
-
// ../../node_modules/discord-api-types/rest/v10/application.js
|
|
2184
|
-
var require_application2 = __commonJS({
|
|
2185
|
-
"../../node_modules/discord-api-types/rest/v10/application.js"(exports) {
|
|
2186
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2187
|
-
}
|
|
2188
|
-
});
|
|
2189
|
-
|
|
2190
|
-
// ../../node_modules/discord-api-types/rest/v10/auditLog.js
|
|
2191
|
-
var require_auditLog2 = __commonJS({
|
|
2192
|
-
"../../node_modules/discord-api-types/rest/v10/auditLog.js"(exports) {
|
|
2193
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2194
|
-
}
|
|
2195
|
-
});
|
|
2196
|
-
|
|
2197
|
-
// ../../node_modules/discord-api-types/rest/v10/autoModeration.js
|
|
2198
|
-
var require_autoModeration2 = __commonJS({
|
|
2199
|
-
"../../node_modules/discord-api-types/rest/v10/autoModeration.js"(exports) {
|
|
2200
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2201
|
-
}
|
|
2202
|
-
});
|
|
2203
|
-
|
|
2204
1999
|
// ../../node_modules/discord-api-types/rest/v10/channel.js
|
|
2205
|
-
var
|
|
2000
|
+
var require_channel2 = __commonJS({
|
|
2206
2001
|
"../../node_modules/discord-api-types/rest/v10/channel.js"(exports) {
|
|
2207
2002
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2208
2003
|
exports.ReactionType = void 0;
|
|
@@ -2214,48 +2009,6 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
2214
2009
|
}
|
|
2215
2010
|
});
|
|
2216
2011
|
|
|
2217
|
-
// ../../node_modules/discord-api-types/rest/v10/emoji.js
|
|
2218
|
-
var require_emoji2 = __commonJS({
|
|
2219
|
-
"../../node_modules/discord-api-types/rest/v10/emoji.js"(exports) {
|
|
2220
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2221
|
-
}
|
|
2222
|
-
});
|
|
2223
|
-
|
|
2224
|
-
// ../../node_modules/discord-api-types/rest/v10/gateway.js
|
|
2225
|
-
var require_gateway2 = __commonJS({
|
|
2226
|
-
"../../node_modules/discord-api-types/rest/v10/gateway.js"(exports) {
|
|
2227
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2228
|
-
}
|
|
2229
|
-
});
|
|
2230
|
-
|
|
2231
|
-
// ../../node_modules/discord-api-types/rest/v10/guild.js
|
|
2232
|
-
var require_guild2 = __commonJS({
|
|
2233
|
-
"../../node_modules/discord-api-types/rest/v10/guild.js"(exports) {
|
|
2234
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2235
|
-
}
|
|
2236
|
-
});
|
|
2237
|
-
|
|
2238
|
-
// ../../node_modules/discord-api-types/rest/v10/guildScheduledEvent.js
|
|
2239
|
-
var require_guildScheduledEvent2 = __commonJS({
|
|
2240
|
-
"../../node_modules/discord-api-types/rest/v10/guildScheduledEvent.js"(exports) {
|
|
2241
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2242
|
-
}
|
|
2243
|
-
});
|
|
2244
|
-
|
|
2245
|
-
// ../../node_modules/discord-api-types/rest/v10/interactions.js
|
|
2246
|
-
var require_interactions2 = __commonJS({
|
|
2247
|
-
"../../node_modules/discord-api-types/rest/v10/interactions.js"(exports) {
|
|
2248
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2249
|
-
}
|
|
2250
|
-
});
|
|
2251
|
-
|
|
2252
|
-
// ../../node_modules/discord-api-types/rest/v10/invite.js
|
|
2253
|
-
var require_invite2 = __commonJS({
|
|
2254
|
-
"../../node_modules/discord-api-types/rest/v10/invite.js"(exports) {
|
|
2255
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2256
|
-
}
|
|
2257
|
-
});
|
|
2258
|
-
|
|
2259
2012
|
// ../../node_modules/discord-api-types/rest/v10/monetization.js
|
|
2260
2013
|
var require_monetization2 = __commonJS({
|
|
2261
2014
|
"../../node_modules/discord-api-types/rest/v10/monetization.js"(exports) {
|
|
@@ -2269,69 +2022,6 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
2269
2022
|
}
|
|
2270
2023
|
});
|
|
2271
2024
|
|
|
2272
|
-
// ../../node_modules/discord-api-types/rest/v10/oauth2.js
|
|
2273
|
-
var require_oauth22 = __commonJS({
|
|
2274
|
-
"../../node_modules/discord-api-types/rest/v10/oauth2.js"(exports) {
|
|
2275
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2276
|
-
}
|
|
2277
|
-
});
|
|
2278
|
-
|
|
2279
|
-
// ../../node_modules/discord-api-types/rest/v10/poll.js
|
|
2280
|
-
var require_poll2 = __commonJS({
|
|
2281
|
-
"../../node_modules/discord-api-types/rest/v10/poll.js"(exports) {
|
|
2282
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2283
|
-
}
|
|
2284
|
-
});
|
|
2285
|
-
|
|
2286
|
-
// ../../node_modules/discord-api-types/rest/v10/soundboard.js
|
|
2287
|
-
var require_soundboard2 = __commonJS({
|
|
2288
|
-
"../../node_modules/discord-api-types/rest/v10/soundboard.js"(exports) {
|
|
2289
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2290
|
-
}
|
|
2291
|
-
});
|
|
2292
|
-
|
|
2293
|
-
// ../../node_modules/discord-api-types/rest/v10/stageInstance.js
|
|
2294
|
-
var require_stageInstance2 = __commonJS({
|
|
2295
|
-
"../../node_modules/discord-api-types/rest/v10/stageInstance.js"(exports) {
|
|
2296
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2297
|
-
}
|
|
2298
|
-
});
|
|
2299
|
-
|
|
2300
|
-
// ../../node_modules/discord-api-types/rest/v10/sticker.js
|
|
2301
|
-
var require_sticker2 = __commonJS({
|
|
2302
|
-
"../../node_modules/discord-api-types/rest/v10/sticker.js"(exports) {
|
|
2303
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2304
|
-
}
|
|
2305
|
-
});
|
|
2306
|
-
|
|
2307
|
-
// ../../node_modules/discord-api-types/rest/v10/template.js
|
|
2308
|
-
var require_template2 = __commonJS({
|
|
2309
|
-
"../../node_modules/discord-api-types/rest/v10/template.js"(exports) {
|
|
2310
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2311
|
-
}
|
|
2312
|
-
});
|
|
2313
|
-
|
|
2314
|
-
// ../../node_modules/discord-api-types/rest/v10/user.js
|
|
2315
|
-
var require_user3 = __commonJS({
|
|
2316
|
-
"../../node_modules/discord-api-types/rest/v10/user.js"(exports) {
|
|
2317
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2318
|
-
}
|
|
2319
|
-
});
|
|
2320
|
-
|
|
2321
|
-
// ../../node_modules/discord-api-types/rest/v10/voice.js
|
|
2322
|
-
var require_voice2 = __commonJS({
|
|
2323
|
-
"../../node_modules/discord-api-types/rest/v10/voice.js"(exports) {
|
|
2324
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2325
|
-
}
|
|
2326
|
-
});
|
|
2327
|
-
|
|
2328
|
-
// ../../node_modules/discord-api-types/rest/v10/webhook.js
|
|
2329
|
-
var require_webhook2 = __commonJS({
|
|
2330
|
-
"../../node_modules/discord-api-types/rest/v10/webhook.js"(exports) {
|
|
2331
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2332
|
-
}
|
|
2333
|
-
});
|
|
2334
|
-
|
|
2335
2025
|
// ../../node_modules/discord-api-types/rest/v10/index.js
|
|
2336
2026
|
var require_v103 = __commonJS({
|
|
2337
2027
|
"../../node_modules/discord-api-types/rest/v10/index.js"(exports) {
|
|
@@ -2353,28 +2043,10 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
2353
2043
|
};
|
|
2354
2044
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2355
2045
|
exports.OAuth2Routes = exports.RouteBases = exports.CDNRoutes = exports.ImageFormat = exports.StickerPackApplicationId = exports.Routes = exports.APIVersion = void 0;
|
|
2356
|
-
var internals_1 =
|
|
2357
|
-
__exportStar(
|
|
2358
|
-
__exportStar(
|
|
2359
|
-
__exportStar(require_auditLog2(), exports);
|
|
2360
|
-
__exportStar(require_autoModeration2(), exports);
|
|
2361
|
-
__exportStar(require_channel3(), exports);
|
|
2362
|
-
__exportStar(require_emoji2(), exports);
|
|
2363
|
-
__exportStar(require_gateway2(), exports);
|
|
2364
|
-
__exportStar(require_guild2(), exports);
|
|
2365
|
-
__exportStar(require_guildScheduledEvent2(), exports);
|
|
2366
|
-
__exportStar(require_interactions2(), exports);
|
|
2367
|
-
__exportStar(require_invite2(), exports);
|
|
2046
|
+
var internals_1 = require_internals();
|
|
2047
|
+
__exportStar(require_common2(), exports);
|
|
2048
|
+
__exportStar(require_channel2(), exports);
|
|
2368
2049
|
__exportStar(require_monetization2(), exports);
|
|
2369
|
-
__exportStar(require_oauth22(), exports);
|
|
2370
|
-
__exportStar(require_poll2(), exports);
|
|
2371
|
-
__exportStar(require_soundboard2(), exports);
|
|
2372
|
-
__exportStar(require_stageInstance2(), exports);
|
|
2373
|
-
__exportStar(require_sticker2(), exports);
|
|
2374
|
-
__exportStar(require_template2(), exports);
|
|
2375
|
-
__exportStar(require_user3(), exports);
|
|
2376
|
-
__exportStar(require_voice2(), exports);
|
|
2377
|
-
__exportStar(require_webhook2(), exports);
|
|
2378
2050
|
exports.APIVersion = "10";
|
|
2379
2051
|
exports.Routes = {
|
|
2380
2052
|
/**
|
|
@@ -2515,9 +2187,26 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
2515
2187
|
channelTyping(channelId) {
|
|
2516
2188
|
return `/channels/${channelId}/typing`;
|
|
2517
2189
|
},
|
|
2190
|
+
/**
|
|
2191
|
+
* Route for:
|
|
2192
|
+
* - GET `/channels/{channel.id}/messages/pins`
|
|
2193
|
+
*/
|
|
2194
|
+
channelMessagesPins(channelId) {
|
|
2195
|
+
return `/channels/${channelId}/messages/pins`;
|
|
2196
|
+
},
|
|
2197
|
+
/**
|
|
2198
|
+
* Route for:
|
|
2199
|
+
* - PUT `/channels/{channel.id}/messages/pins/{message.id}`
|
|
2200
|
+
* - DELETE `/channels/{channel.id}/messages/pins/{message.id}`
|
|
2201
|
+
*/
|
|
2202
|
+
channelMessagesPin(channelId, messageId) {
|
|
2203
|
+
return `/channels/${channelId}/messages/pins/${messageId}`;
|
|
2204
|
+
},
|
|
2518
2205
|
/**
|
|
2519
2206
|
* Route for:
|
|
2520
2207
|
* - GET `/channels/{channel.id}/pins`
|
|
2208
|
+
*
|
|
2209
|
+
* @deprecated Use {@link Routes.channelMessagesPins} instead.
|
|
2521
2210
|
*/
|
|
2522
2211
|
channelPins(channelId) {
|
|
2523
2212
|
return `/channels/${channelId}/pins`;
|
|
@@ -2526,6 +2215,8 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
2526
2215
|
* Route for:
|
|
2527
2216
|
* - PUT `/channels/{channel.id}/pins/{message.id}`
|
|
2528
2217
|
* - DELETE `/channels/{channel.id}/pins/{message.id}`
|
|
2218
|
+
*
|
|
2219
|
+
* @deprecated Use {@link Routes.channelMessagesPin} instead.
|
|
2529
2220
|
*/
|
|
2530
2221
|
channelPin(channelId, messageId) {
|
|
2531
2222
|
return `/channels/${channelId}/pins/${messageId}`;
|
|
@@ -2558,6 +2249,8 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
2558
2249
|
/**
|
|
2559
2250
|
* Route for:
|
|
2560
2251
|
* - POST `/guilds`
|
|
2252
|
+
*
|
|
2253
|
+
* @deprecated {@link https://discord.com/developers/docs/change-log#guild-create-deprecation}
|
|
2561
2254
|
*/
|
|
2562
2255
|
guilds() {
|
|
2563
2256
|
return "/guilds";
|
|
@@ -2566,7 +2259,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
2566
2259
|
* Route for:
|
|
2567
2260
|
* - GET `/guilds/{guild.id}`
|
|
2568
2261
|
* - PATCH `/guilds/{guild.id}`
|
|
2569
|
-
* - DELETE `/guilds/{guild.id}`
|
|
2262
|
+
* - DELETE `/guilds/{guild.id}` (**deprecated**)
|
|
2570
2263
|
*/
|
|
2571
2264
|
guild(guildId) {
|
|
2572
2265
|
return `/guilds/${guildId}`;
|
|
@@ -2632,6 +2325,8 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
2632
2325
|
/**
|
|
2633
2326
|
* Route for:
|
|
2634
2327
|
* - POST `/guilds/{guild.id}/mfa`
|
|
2328
|
+
*
|
|
2329
|
+
* @deprecated
|
|
2635
2330
|
*/
|
|
2636
2331
|
guildMFA(guildId) {
|
|
2637
2332
|
return `/guilds/${guildId}/mfa`;
|
|
@@ -2746,7 +2441,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
2746
2441
|
/**
|
|
2747
2442
|
* Route for:
|
|
2748
2443
|
* - GET `/guilds/templates/{template.code}`
|
|
2749
|
-
* - POST `/guilds/templates/{template.code}`
|
|
2444
|
+
* - POST `/guilds/templates/{template.code}` (**deprecated**)
|
|
2750
2445
|
*/
|
|
2751
2446
|
template(code) {
|
|
2752
2447
|
return `/guilds/templates/${code}`;
|
|
@@ -2837,7 +2532,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
2837
2532
|
* - GET `/users/{user.id}`
|
|
2838
2533
|
* - PATCH `/users/@me`
|
|
2839
2534
|
*
|
|
2840
|
-
* @param
|
|
2535
|
+
* @param userId - The user ID, defaulted to `@me`
|
|
2841
2536
|
*/
|
|
2842
2537
|
user(userId = "@me") {
|
|
2843
2538
|
return `/users/${userId}`;
|
|
@@ -3540,6 +3235,15 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
3540
3235
|
*/
|
|
3541
3236
|
soundboardSound(soundId) {
|
|
3542
3237
|
return `/soundboard-sounds/${soundId}`;
|
|
3238
|
+
},
|
|
3239
|
+
/**
|
|
3240
|
+
* Route for:
|
|
3241
|
+
* - GET `/guild-tag-badges/{guild.id}/{badge}.{png|jpeg|webp}`
|
|
3242
|
+
*
|
|
3243
|
+
* This route supports the extensions: PNG, JPEG, WebP
|
|
3244
|
+
*/
|
|
3245
|
+
guildTagBadge(guildId, guildTagBadge, format) {
|
|
3246
|
+
return `/guild-tag-badges/${guildId}/${guildTagBadge}.${format}`;
|
|
3543
3247
|
}
|
|
3544
3248
|
};
|
|
3545
3249
|
for (const [key, fn] of Object.entries(exports.CDNRoutes)) {
|
|
@@ -3580,7 +3284,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
3580
3284
|
});
|
|
3581
3285
|
|
|
3582
3286
|
// ../../node_modules/discord-api-types/rpc/common.js
|
|
3583
|
-
var
|
|
3287
|
+
var require_common3 = __commonJS({
|
|
3584
3288
|
"../../node_modules/discord-api-types/rpc/common.js"(exports) {
|
|
3585
3289
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3586
3290
|
exports.RPCCloseEventCodes = exports.RPCErrorCodes = exports.RelationshipType = exports.VoiceConnectionStates = exports.RPCVoiceShortcutKeyComboKeyType = exports.RPCVoiceSettingsModeType = exports.RPCDeviceType = void 0;
|
|
@@ -3691,7 +3395,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
3691
3395
|
};
|
|
3692
3396
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3693
3397
|
exports.RPCEvents = exports.RPCCommands = exports.RPCVersion = void 0;
|
|
3694
|
-
__exportStar(
|
|
3398
|
+
__exportStar(require_common3(), exports);
|
|
3695
3399
|
exports.RPCVersion = "1";
|
|
3696
3400
|
var RPCCommands2;
|
|
3697
3401
|
(function(RPCCommands3) {
|
|
@@ -3886,7 +3590,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
3886
3590
|
__exportStar(require_v102(), exports);
|
|
3887
3591
|
__exportStar(require_v103(), exports);
|
|
3888
3592
|
__exportStar(require_v104(), exports);
|
|
3889
|
-
__exportStar(
|
|
3593
|
+
__exportStar(require_internals(), exports);
|
|
3890
3594
|
exports.Utils = require_v105();
|
|
3891
3595
|
}
|
|
3892
3596
|
});
|
|
@@ -3957,6 +3661,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
3957
3661
|
import_v10.default.InteractionContextType;
|
|
3958
3662
|
import_v10.default.InteractionResponseType;
|
|
3959
3663
|
var InteractionType = import_v10.default.InteractionType;
|
|
3664
|
+
import_v10.default.InviteFlags;
|
|
3960
3665
|
import_v10.default.InviteTargetType;
|
|
3961
3666
|
import_v10.default.InviteType;
|
|
3962
3667
|
import_v10.default.Locale;
|
|
@@ -3965,6 +3670,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
3965
3670
|
import_v10.default.MessageFlags;
|
|
3966
3671
|
import_v10.default.MessageReferenceType;
|
|
3967
3672
|
import_v10.default.MessageType;
|
|
3673
|
+
import_v10.default.NameplatePalette;
|
|
3968
3674
|
import_v10.default.OAuth2Routes;
|
|
3969
3675
|
import_v10.default.OAuth2Scopes;
|
|
3970
3676
|
import_v10.default.OverwriteType;
|
|
@@ -3991,6 +3697,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
3991
3697
|
import_v10.default.SeparatorSpacingSize;
|
|
3992
3698
|
import_v10.default.SortOrderType;
|
|
3993
3699
|
import_v10.default.StageInstancePrivacyLevel;
|
|
3700
|
+
import_v10.default.StatusDisplayType;
|
|
3994
3701
|
import_v10.default.StickerFormatType;
|
|
3995
3702
|
import_v10.default.StickerPackApplicationId;
|
|
3996
3703
|
import_v10.default.StickerType;
|