@sapphire/discord-utilities 3.4.5-next.61eebdff → 3.4.5-next.7bb00e1e
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.
|
@@ -41,7 +41,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
41
41
|
var require_v10 = __commonJS({
|
|
42
42
|
"../../node_modules/discord-api-types/gateway/v10.js"(exports) {
|
|
43
43
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
44
|
-
if (k2 ===
|
|
44
|
+
if (k2 === void 0) k2 = k;
|
|
45
45
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
46
46
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
47
47
|
desc = { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
@@ -50,14 +50,14 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
50
50
|
}
|
|
51
51
|
Object.defineProperty(o, k2, desc);
|
|
52
52
|
} : function(o, m, k, k2) {
|
|
53
|
-
if (k2 ===
|
|
53
|
+
if (k2 === void 0) k2 = k;
|
|
54
54
|
o[k2] = m[k];
|
|
55
55
|
});
|
|
56
56
|
var __exportStar = exports && exports.__exportStar || function(m, exports2) {
|
|
57
57
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
|
|
58
58
|
};
|
|
59
59
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
60
|
-
exports.VoiceChannelEffectSendAnimationType = exports.GatewayDispatchEvents = exports.GatewayIntentBits = exports.GatewayCloseCodes = exports.GatewayOpcodes = exports.GatewayVersion =
|
|
60
|
+
exports.VoiceChannelEffectSendAnimationType = exports.GatewayDispatchEvents = exports.GatewayIntentBits = exports.GatewayCloseCodes = exports.GatewayOpcodes = exports.GatewayVersion = void 0;
|
|
61
61
|
__exportStar(require_common(), exports);
|
|
62
62
|
exports.GatewayVersion = "10";
|
|
63
63
|
var GatewayOpcodes2;
|
|
@@ -208,7 +208,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
208
208
|
var require_globals = __commonJS({
|
|
209
209
|
"../../node_modules/discord-api-types/globals.js"(exports) {
|
|
210
210
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
211
|
-
exports.FormattingPatterns =
|
|
211
|
+
exports.FormattingPatterns = void 0;
|
|
212
212
|
exports.FormattingPatterns = {
|
|
213
213
|
/**
|
|
214
214
|
* Regular expression for matching a user mention, strictly without a nickname
|
|
@@ -311,7 +311,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
311
311
|
var require_common2 = __commonJS({
|
|
312
312
|
"../../node_modules/discord-api-types/payloads/common.js"(exports) {
|
|
313
313
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
314
|
-
exports.PermissionFlagsBits =
|
|
314
|
+
exports.PermissionFlagsBits = void 0;
|
|
315
315
|
exports.PermissionFlagsBits = {
|
|
316
316
|
/**
|
|
317
317
|
* Allows creation of instant invites
|
|
@@ -602,7 +602,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
602
602
|
var require_application = __commonJS({
|
|
603
603
|
"../../node_modules/discord-api-types/payloads/v10/application.js"(exports) {
|
|
604
604
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
605
|
-
exports.ApplicationWebhookEventStatus = exports.ApplicationRoleConnectionMetadataType = exports.ApplicationFlags =
|
|
605
|
+
exports.ApplicationWebhookEventStatus = exports.ApplicationRoleConnectionMetadataType = exports.ApplicationFlags = void 0;
|
|
606
606
|
var ApplicationFlags2;
|
|
607
607
|
(function(ApplicationFlags3) {
|
|
608
608
|
ApplicationFlags3[ApplicationFlags3["EmbeddedReleased"] = 2] = "EmbeddedReleased";
|
|
@@ -646,7 +646,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
646
646
|
var require_auditLog = __commonJS({
|
|
647
647
|
"../../node_modules/discord-api-types/payloads/v10/auditLog.js"(exports) {
|
|
648
648
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
649
|
-
exports.AuditLogOptionsType = exports.AuditLogEvent =
|
|
649
|
+
exports.AuditLogOptionsType = exports.AuditLogEvent = void 0;
|
|
650
650
|
var AuditLogEvent2;
|
|
651
651
|
(function(AuditLogEvent3) {
|
|
652
652
|
AuditLogEvent3[AuditLogEvent3["GuildUpdate"] = 1] = "GuildUpdate";
|
|
@@ -728,7 +728,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
728
728
|
var require_autoModeration = __commonJS({
|
|
729
729
|
"../../node_modules/discord-api-types/payloads/v10/autoModeration.js"(exports) {
|
|
730
730
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
731
|
-
exports.AutoModerationActionType = exports.AutoModerationRuleEventType = exports.AutoModerationRuleKeywordPresetType = exports.AutoModerationRuleTriggerType =
|
|
731
|
+
exports.AutoModerationActionType = exports.AutoModerationRuleEventType = exports.AutoModerationRuleKeywordPresetType = exports.AutoModerationRuleTriggerType = void 0;
|
|
732
732
|
var AutoModerationRuleTriggerType2;
|
|
733
733
|
(function(AutoModerationRuleTriggerType3) {
|
|
734
734
|
AutoModerationRuleTriggerType3[AutoModerationRuleTriggerType3["Keyword"] = 1] = "Keyword";
|
|
@@ -762,7 +762,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
762
762
|
var require_channel = __commonJS({
|
|
763
763
|
"../../node_modules/discord-api-types/payloads/v10/channel.js"(exports) {
|
|
764
764
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
765
|
-
exports.ChannelFlags = exports.SelectMenuDefaultValueType = exports.TextInputStyle = exports.ButtonStyle = exports.ComponentType = exports.AllowedMentionsTypes = exports.AttachmentFlags = exports.EmbedType = exports.ThreadMemberFlags = exports.ThreadAutoArchiveDuration = exports.OverwriteType = exports.MessageFlags = exports.MessageReferenceType = exports.MessageActivityType = exports.MessageType = exports.VideoQualityMode = exports.ChannelType = exports.ForumLayoutType = exports.SortOrderType =
|
|
765
|
+
exports.ChannelFlags = exports.SelectMenuDefaultValueType = exports.TextInputStyle = exports.ButtonStyle = exports.ComponentType = exports.AllowedMentionsTypes = exports.AttachmentFlags = exports.EmbedType = exports.ThreadMemberFlags = exports.ThreadAutoArchiveDuration = exports.OverwriteType = exports.MessageFlags = exports.MessageReferenceType = exports.MessageActivityType = exports.MessageType = exports.VideoQualityMode = exports.ChannelType = exports.ForumLayoutType = exports.SortOrderType = void 0;
|
|
766
766
|
var SortOrderType2;
|
|
767
767
|
(function(SortOrderType3) {
|
|
768
768
|
SortOrderType3[SortOrderType3["LatestActivity"] = 0] = "LatestActivity";
|
|
@@ -866,6 +866,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
866
866
|
MessageFlags3[MessageFlags3["ShouldShowLinkNotDiscordWarning"] = 1024] = "ShouldShowLinkNotDiscordWarning";
|
|
867
867
|
MessageFlags3[MessageFlags3["SuppressNotifications"] = 4096] = "SuppressNotifications";
|
|
868
868
|
MessageFlags3[MessageFlags3["IsVoiceMessage"] = 8192] = "IsVoiceMessage";
|
|
869
|
+
MessageFlags3[MessageFlags3["HasSnapshot"] = 16384] = "HasSnapshot";
|
|
869
870
|
})(MessageFlags2 || (exports.MessageFlags = MessageFlags2 = {}));
|
|
870
871
|
var OverwriteType2;
|
|
871
872
|
(function(OverwriteType3) {
|
|
@@ -965,7 +966,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
965
966
|
var require_gateway = __commonJS({
|
|
966
967
|
"../../node_modules/discord-api-types/payloads/v10/gateway.js"(exports) {
|
|
967
968
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
968
|
-
exports.ActivityFlags = exports.ActivityType = exports.ActivityPlatform = exports.PresenceUpdateStatus =
|
|
969
|
+
exports.ActivityFlags = exports.ActivityType = exports.ActivityPlatform = exports.PresenceUpdateStatus = void 0;
|
|
969
970
|
var PresenceUpdateStatus2;
|
|
970
971
|
(function(PresenceUpdateStatus3) {
|
|
971
972
|
PresenceUpdateStatus3["Online"] = "online";
|
|
@@ -1013,7 +1014,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1013
1014
|
var require_guild = __commonJS({
|
|
1014
1015
|
"../../node_modules/discord-api-types/payloads/v10/guild.js"(exports) {
|
|
1015
1016
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1016
|
-
exports.GuildOnboardingPromptType = exports.GuildOnboardingMode = exports.MembershipScreeningFieldType = exports.GuildWidgetStyle = exports.IntegrationExpireBehavior = exports.GuildMemberFlags = exports.GuildFeature = exports.GuildSystemChannelFlags = exports.GuildHubType = exports.GuildPremiumTier = exports.GuildVerificationLevel = exports.GuildNSFWLevel = exports.GuildMFALevel = exports.GuildExplicitContentFilter = exports.GuildDefaultMessageNotifications =
|
|
1017
|
+
exports.GuildOnboardingPromptType = exports.GuildOnboardingMode = exports.MembershipScreeningFieldType = exports.GuildWidgetStyle = exports.IntegrationExpireBehavior = exports.GuildMemberFlags = exports.GuildFeature = exports.GuildSystemChannelFlags = exports.GuildHubType = exports.GuildPremiumTier = exports.GuildVerificationLevel = exports.GuildNSFWLevel = exports.GuildMFALevel = exports.GuildExplicitContentFilter = exports.GuildDefaultMessageNotifications = void 0;
|
|
1017
1018
|
var GuildDefaultMessageNotifications2;
|
|
1018
1019
|
(function(GuildDefaultMessageNotifications3) {
|
|
1019
1020
|
GuildDefaultMessageNotifications3[GuildDefaultMessageNotifications3["AllMessages"] = 0] = "AllMessages";
|
|
@@ -1152,7 +1153,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1152
1153
|
var require_guildScheduledEvent = __commonJS({
|
|
1153
1154
|
"../../node_modules/discord-api-types/payloads/v10/guildScheduledEvent.js"(exports) {
|
|
1154
1155
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1155
|
-
exports.GuildScheduledEventPrivacyLevel = exports.GuildScheduledEventStatus = exports.GuildScheduledEventEntityType = exports.GuildScheduledEventRecurrenceRuleMonth = exports.GuildScheduledEventRecurrenceRuleWeekday = exports.GuildScheduledEventRecurrenceRuleFrequency =
|
|
1156
|
+
exports.GuildScheduledEventPrivacyLevel = exports.GuildScheduledEventStatus = exports.GuildScheduledEventEntityType = exports.GuildScheduledEventRecurrenceRuleMonth = exports.GuildScheduledEventRecurrenceRuleWeekday = exports.GuildScheduledEventRecurrenceRuleFrequency = void 0;
|
|
1156
1157
|
var GuildScheduledEventRecurrenceRuleFrequency2;
|
|
1157
1158
|
(function(GuildScheduledEventRecurrenceRuleFrequency3) {
|
|
1158
1159
|
GuildScheduledEventRecurrenceRuleFrequency3[GuildScheduledEventRecurrenceRuleFrequency3["Yearly"] = 0] = "Yearly";
|
|
@@ -1265,7 +1266,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1265
1266
|
var require_shared = __commonJS({
|
|
1266
1267
|
"../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/shared.js"(exports) {
|
|
1267
1268
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1268
|
-
exports.ApplicationCommandOptionType =
|
|
1269
|
+
exports.ApplicationCommandOptionType = void 0;
|
|
1269
1270
|
var ApplicationCommandOptionType2;
|
|
1270
1271
|
(function(ApplicationCommandOptionType3) {
|
|
1271
1272
|
ApplicationCommandOptionType3[ApplicationCommandOptionType3["Subcommand"] = 1] = "Subcommand";
|
|
@@ -1315,7 +1316,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1315
1316
|
var require_chatInput = __commonJS({
|
|
1316
1317
|
"../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/chatInput.js"(exports) {
|
|
1317
1318
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
1318
|
-
if (k2 ===
|
|
1319
|
+
if (k2 === void 0) k2 = k;
|
|
1319
1320
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
1320
1321
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
1321
1322
|
desc = { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
@@ -1324,7 +1325,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1324
1325
|
}
|
|
1325
1326
|
Object.defineProperty(o, k2, desc);
|
|
1326
1327
|
} : function(o, m, k, k2) {
|
|
1327
|
-
if (k2 ===
|
|
1328
|
+
if (k2 === void 0) k2 = k;
|
|
1328
1329
|
o[k2] = m[k];
|
|
1329
1330
|
});
|
|
1330
1331
|
var __exportStar = exports && exports.__exportStar || function(m, exports2) {
|
|
@@ -1358,7 +1359,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1358
1359
|
var require_permissions = __commonJS({
|
|
1359
1360
|
"../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/permissions.js"(exports) {
|
|
1360
1361
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1361
|
-
exports.APIApplicationCommandPermissionsConstant = exports.ApplicationCommandPermissionType =
|
|
1362
|
+
exports.APIApplicationCommandPermissionsConstant = exports.ApplicationCommandPermissionType = void 0;
|
|
1362
1363
|
var ApplicationCommandPermissionType2;
|
|
1363
1364
|
(function(ApplicationCommandPermissionType3) {
|
|
1364
1365
|
ApplicationCommandPermissionType3[ApplicationCommandPermissionType3["Role"] = 1] = "Role";
|
|
@@ -1384,7 +1385,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1384
1385
|
var require_applicationCommands = __commonJS({
|
|
1385
1386
|
"../../node_modules/discord-api-types/payloads/v10/_interactions/applicationCommands.js"(exports) {
|
|
1386
1387
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
1387
|
-
if (k2 ===
|
|
1388
|
+
if (k2 === void 0) k2 = k;
|
|
1388
1389
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
1389
1390
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
1390
1391
|
desc = { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
@@ -1393,14 +1394,14 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1393
1394
|
}
|
|
1394
1395
|
Object.defineProperty(o, k2, desc);
|
|
1395
1396
|
} : function(o, m, k, k2) {
|
|
1396
|
-
if (k2 ===
|
|
1397
|
+
if (k2 === void 0) k2 = k;
|
|
1397
1398
|
o[k2] = m[k];
|
|
1398
1399
|
});
|
|
1399
1400
|
var __exportStar = exports && exports.__exportStar || function(m, exports2) {
|
|
1400
1401
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
|
|
1401
1402
|
};
|
|
1402
1403
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1403
|
-
exports.EntryPointCommandHandlerType = exports.InteractionContextType = exports.ApplicationIntegrationType = exports.ApplicationCommandType =
|
|
1404
|
+
exports.EntryPointCommandHandlerType = exports.InteractionContextType = exports.ApplicationIntegrationType = exports.ApplicationCommandType = void 0;
|
|
1404
1405
|
__exportStar(require_chatInput(), exports);
|
|
1405
1406
|
__exportStar(require_contextMenu(), exports);
|
|
1406
1407
|
__exportStar(require_permissions(), exports);
|
|
@@ -1470,7 +1471,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1470
1471
|
var require_responses = __commonJS({
|
|
1471
1472
|
"../../node_modules/discord-api-types/payloads/v10/_interactions/responses.js"(exports) {
|
|
1472
1473
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1473
|
-
exports.InteractionResponseType = exports.InteractionType =
|
|
1474
|
+
exports.InteractionResponseType = exports.InteractionType = void 0;
|
|
1474
1475
|
var InteractionType2;
|
|
1475
1476
|
(function(InteractionType3) {
|
|
1476
1477
|
InteractionType3[InteractionType3["Ping"] = 1] = "Ping";
|
|
@@ -1498,7 +1499,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1498
1499
|
var require_interactions = __commonJS({
|
|
1499
1500
|
"../../node_modules/discord-api-types/payloads/v10/interactions.js"(exports) {
|
|
1500
1501
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
1501
|
-
if (k2 ===
|
|
1502
|
+
if (k2 === void 0) k2 = k;
|
|
1502
1503
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
1503
1504
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
1504
1505
|
desc = { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
@@ -1507,7 +1508,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1507
1508
|
}
|
|
1508
1509
|
Object.defineProperty(o, k2, desc);
|
|
1509
1510
|
} : function(o, m, k, k2) {
|
|
1510
|
-
if (k2 ===
|
|
1511
|
+
if (k2 === void 0) k2 = k;
|
|
1511
1512
|
o[k2] = m[k];
|
|
1512
1513
|
});
|
|
1513
1514
|
var __exportStar = exports && exports.__exportStar || function(m, exports2) {
|
|
@@ -1528,7 +1529,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1528
1529
|
var require_invite = __commonJS({
|
|
1529
1530
|
"../../node_modules/discord-api-types/payloads/v10/invite.js"(exports) {
|
|
1530
1531
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1531
|
-
exports.InviteTargetType = exports.InviteType =
|
|
1532
|
+
exports.InviteTargetType = exports.InviteType = void 0;
|
|
1532
1533
|
var InviteType2;
|
|
1533
1534
|
(function(InviteType3) {
|
|
1534
1535
|
InviteType3[InviteType3["Guild"] = 0] = "Guild";
|
|
@@ -1547,7 +1548,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1547
1548
|
var require_monetization = __commonJS({
|
|
1548
1549
|
"../../node_modules/discord-api-types/payloads/v10/monetization.js"(exports) {
|
|
1549
1550
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1550
|
-
exports.SubscriptionStatus = exports.SKUType = exports.SKUFlags = exports.EntitlementType =
|
|
1551
|
+
exports.SubscriptionStatus = exports.SKUType = exports.SKUFlags = exports.EntitlementType = void 0;
|
|
1551
1552
|
var EntitlementType2;
|
|
1552
1553
|
(function(EntitlementType3) {
|
|
1553
1554
|
EntitlementType3[EntitlementType3["Purchase"] = 1] = "Purchase";
|
|
@@ -1585,7 +1586,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1585
1586
|
var require_oauth2 = __commonJS({
|
|
1586
1587
|
"../../node_modules/discord-api-types/payloads/v10/oauth2.js"(exports) {
|
|
1587
1588
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1588
|
-
exports.OAuth2Scopes =
|
|
1589
|
+
exports.OAuth2Scopes = void 0;
|
|
1589
1590
|
var OAuth2Scopes2;
|
|
1590
1591
|
(function(OAuth2Scopes3) {
|
|
1591
1592
|
OAuth2Scopes3["Bot"] = "bot";
|
|
@@ -1621,7 +1622,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1621
1622
|
var require_permissions2 = __commonJS({
|
|
1622
1623
|
"../../node_modules/discord-api-types/payloads/v10/permissions.js"(exports) {
|
|
1623
1624
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1624
|
-
exports.RoleFlags =
|
|
1625
|
+
exports.RoleFlags = void 0;
|
|
1625
1626
|
var RoleFlags2;
|
|
1626
1627
|
(function(RoleFlags3) {
|
|
1627
1628
|
RoleFlags3[RoleFlags3["InPrompt"] = 1] = "InPrompt";
|
|
@@ -1633,7 +1634,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1633
1634
|
var require_poll = __commonJS({
|
|
1634
1635
|
"../../node_modules/discord-api-types/payloads/v10/poll.js"(exports) {
|
|
1635
1636
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1636
|
-
exports.PollLayoutType =
|
|
1637
|
+
exports.PollLayoutType = void 0;
|
|
1637
1638
|
var PollLayoutType2;
|
|
1638
1639
|
(function(PollLayoutType3) {
|
|
1639
1640
|
PollLayoutType3[PollLayoutType3["Default"] = 1] = "Default";
|
|
@@ -1652,7 +1653,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1652
1653
|
var require_stageInstance = __commonJS({
|
|
1653
1654
|
"../../node_modules/discord-api-types/payloads/v10/stageInstance.js"(exports) {
|
|
1654
1655
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1655
|
-
exports.StageInstancePrivacyLevel =
|
|
1656
|
+
exports.StageInstancePrivacyLevel = void 0;
|
|
1656
1657
|
var StageInstancePrivacyLevel2;
|
|
1657
1658
|
(function(StageInstancePrivacyLevel3) {
|
|
1658
1659
|
StageInstancePrivacyLevel3[StageInstancePrivacyLevel3["Public"] = 1] = "Public";
|
|
@@ -1665,7 +1666,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1665
1666
|
var require_sticker = __commonJS({
|
|
1666
1667
|
"../../node_modules/discord-api-types/payloads/v10/sticker.js"(exports) {
|
|
1667
1668
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1668
|
-
exports.StickerFormatType = exports.StickerType =
|
|
1669
|
+
exports.StickerFormatType = exports.StickerType = void 0;
|
|
1669
1670
|
var StickerType2;
|
|
1670
1671
|
(function(StickerType3) {
|
|
1671
1672
|
StickerType3[StickerType3["Standard"] = 1] = "Standard";
|
|
@@ -1685,7 +1686,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1685
1686
|
var require_teams = __commonJS({
|
|
1686
1687
|
"../../node_modules/discord-api-types/payloads/v10/teams.js"(exports) {
|
|
1687
1688
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1688
|
-
exports.TeamMemberRole = exports.TeamMemberMembershipState =
|
|
1689
|
+
exports.TeamMemberRole = exports.TeamMemberMembershipState = void 0;
|
|
1689
1690
|
var TeamMemberMembershipState2;
|
|
1690
1691
|
(function(TeamMemberMembershipState3) {
|
|
1691
1692
|
TeamMemberMembershipState3[TeamMemberMembershipState3["Invited"] = 1] = "Invited";
|
|
@@ -1711,7 +1712,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1711
1712
|
var require_user2 = __commonJS({
|
|
1712
1713
|
"../../node_modules/discord-api-types/payloads/v10/user.js"(exports) {
|
|
1713
1714
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1714
|
-
exports.ConnectionVisibility = exports.ConnectionService = exports.UserPremiumType = exports.UserFlags =
|
|
1715
|
+
exports.ConnectionVisibility = exports.ConnectionService = exports.UserPremiumType = exports.UserFlags = void 0;
|
|
1715
1716
|
var UserFlags2;
|
|
1716
1717
|
(function(UserFlags3) {
|
|
1717
1718
|
UserFlags3[UserFlags3["Staff"] = 1] = "Staff";
|
|
@@ -1794,7 +1795,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1794
1795
|
var require_webhook = __commonJS({
|
|
1795
1796
|
"../../node_modules/discord-api-types/payloads/v10/webhook.js"(exports) {
|
|
1796
1797
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1797
|
-
exports.WebhookType = exports.ApplicationWebhookEventType = exports.ApplicationWebhookType =
|
|
1798
|
+
exports.WebhookType = exports.ApplicationWebhookEventType = exports.ApplicationWebhookType = void 0;
|
|
1798
1799
|
var ApplicationWebhookType2;
|
|
1799
1800
|
(function(ApplicationWebhookType3) {
|
|
1800
1801
|
ApplicationWebhookType3[ApplicationWebhookType3["Ping"] = 0] = "Ping";
|
|
@@ -1819,7 +1820,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1819
1820
|
var require_v102 = __commonJS({
|
|
1820
1821
|
"../../node_modules/discord-api-types/payloads/v10/index.js"(exports) {
|
|
1821
1822
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
1822
|
-
if (k2 ===
|
|
1823
|
+
if (k2 === void 0) k2 = k;
|
|
1823
1824
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
1824
1825
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
1825
1826
|
desc = { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
@@ -1828,7 +1829,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1828
1829
|
}
|
|
1829
1830
|
Object.defineProperty(o, k2, desc);
|
|
1830
1831
|
} : function(o, m, k, k2) {
|
|
1831
|
-
if (k2 ===
|
|
1832
|
+
if (k2 === void 0) k2 = k;
|
|
1832
1833
|
o[k2] = m[k];
|
|
1833
1834
|
});
|
|
1834
1835
|
var __exportStar = exports && exports.__exportStar || function(m, exports2) {
|
|
@@ -1865,8 +1866,8 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1865
1866
|
var require_internals = __commonJS({
|
|
1866
1867
|
"../../node_modules/discord-api-types/utils/internals.js"(exports) {
|
|
1867
1868
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1868
|
-
exports.urlSafeCharacters =
|
|
1869
|
-
var pattern = /^[\d%A-Za-z-]+$/g;
|
|
1869
|
+
exports.urlSafeCharacters = void 0;
|
|
1870
|
+
var pattern = /^[\d%A-Za-z-_]+$/g;
|
|
1870
1871
|
exports.urlSafeCharacters = {
|
|
1871
1872
|
test(input) {
|
|
1872
1873
|
const result = pattern.test(input);
|
|
@@ -1881,7 +1882,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1881
1882
|
var require_common3 = __commonJS({
|
|
1882
1883
|
"../../node_modules/discord-api-types/rest/common.js"(exports) {
|
|
1883
1884
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1884
|
-
exports.Locale = exports.RESTJSONErrorCodes =
|
|
1885
|
+
exports.Locale = exports.RESTJSONErrorCodes = void 0;
|
|
1885
1886
|
var RESTJSONErrorCodes2;
|
|
1886
1887
|
(function(RESTJSONErrorCodes3) {
|
|
1887
1888
|
RESTJSONErrorCodes3[RESTJSONErrorCodes3["GeneralError"] = 0] = "GeneralError";
|
|
@@ -2172,7 +2173,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
2172
2173
|
var require_channel3 = __commonJS({
|
|
2173
2174
|
"../../node_modules/discord-api-types/rest/v10/channel.js"(exports) {
|
|
2174
2175
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2175
|
-
exports.ReactionType =
|
|
2176
|
+
exports.ReactionType = void 0;
|
|
2176
2177
|
var ReactionType2;
|
|
2177
2178
|
(function(ReactionType3) {
|
|
2178
2179
|
ReactionType3[ReactionType3["Normal"] = 0] = "Normal";
|
|
@@ -2227,7 +2228,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
2227
2228
|
var require_monetization2 = __commonJS({
|
|
2228
2229
|
"../../node_modules/discord-api-types/rest/v10/monetization.js"(exports) {
|
|
2229
2230
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2230
|
-
exports.EntitlementOwnerType =
|
|
2231
|
+
exports.EntitlementOwnerType = void 0;
|
|
2231
2232
|
var EntitlementOwnerType2;
|
|
2232
2233
|
(function(EntitlementOwnerType3) {
|
|
2233
2234
|
EntitlementOwnerType3[EntitlementOwnerType3["Guild"] = 1] = "Guild";
|
|
@@ -2303,7 +2304,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
2303
2304
|
var require_v103 = __commonJS({
|
|
2304
2305
|
"../../node_modules/discord-api-types/rest/v10/index.js"(exports) {
|
|
2305
2306
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
2306
|
-
if (k2 ===
|
|
2307
|
+
if (k2 === void 0) k2 = k;
|
|
2307
2308
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
2308
2309
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
2309
2310
|
desc = { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
@@ -2312,14 +2313,14 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
2312
2313
|
}
|
|
2313
2314
|
Object.defineProperty(o, k2, desc);
|
|
2314
2315
|
} : function(o, m, k, k2) {
|
|
2315
|
-
if (k2 ===
|
|
2316
|
+
if (k2 === void 0) k2 = k;
|
|
2316
2317
|
o[k2] = m[k];
|
|
2317
2318
|
});
|
|
2318
2319
|
var __exportStar = exports && exports.__exportStar || function(m, exports2) {
|
|
2319
2320
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
|
|
2320
2321
|
};
|
|
2321
2322
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2322
|
-
exports.OAuth2Routes = exports.RouteBases = exports.CDNRoutes = exports.ImageFormat = exports.StickerPackApplicationId = exports.Routes = exports.APIVersion =
|
|
2323
|
+
exports.OAuth2Routes = exports.RouteBases = exports.CDNRoutes = exports.ImageFormat = exports.StickerPackApplicationId = exports.Routes = exports.APIVersion = void 0;
|
|
2323
2324
|
var internals_1 = require_internals();
|
|
2324
2325
|
__exportStar(require_common3(), exports);
|
|
2325
2326
|
__exportStar(require_application2(), exports);
|
|
@@ -3145,6 +3146,13 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
3145
3146
|
guildOnboarding(guildId) {
|
|
3146
3147
|
return `/guilds/${guildId}/onboarding`;
|
|
3147
3148
|
},
|
|
3149
|
+
/**
|
|
3150
|
+
* Route for:
|
|
3151
|
+
* - PUT `/guilds/${guild.id}/incident-actions`
|
|
3152
|
+
*/
|
|
3153
|
+
guildIncidentActions(guildId) {
|
|
3154
|
+
return `/guilds/${guildId}/incident-actions`;
|
|
3155
|
+
},
|
|
3148
3156
|
/**
|
|
3149
3157
|
* Route for:
|
|
3150
3158
|
* - GET `/applications/@me`
|
|
@@ -3543,7 +3551,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
3543
3551
|
var require_common4 = __commonJS({
|
|
3544
3552
|
"../../node_modules/discord-api-types/rpc/common.js"(exports) {
|
|
3545
3553
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3546
|
-
exports.RPCCloseEventCodes = exports.RPCErrorCodes =
|
|
3554
|
+
exports.RPCCloseEventCodes = exports.RPCErrorCodes = void 0;
|
|
3547
3555
|
var RPCErrorCodes2;
|
|
3548
3556
|
(function(RPCErrorCodes3) {
|
|
3549
3557
|
RPCErrorCodes3[RPCErrorCodes3["UnknownError"] = 1e3] = "UnknownError";
|
|
@@ -3579,7 +3587,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
3579
3587
|
var require_v104 = __commonJS({
|
|
3580
3588
|
"../../node_modules/discord-api-types/rpc/v10.js"(exports) {
|
|
3581
3589
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
3582
|
-
if (k2 ===
|
|
3590
|
+
if (k2 === void 0) k2 = k;
|
|
3583
3591
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
3584
3592
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
3585
3593
|
desc = { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
@@ -3588,7 +3596,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
3588
3596
|
}
|
|
3589
3597
|
Object.defineProperty(o, k2, desc);
|
|
3590
3598
|
} : function(o, m, k, k2) {
|
|
3591
|
-
if (k2 ===
|
|
3599
|
+
if (k2 === void 0) k2 = k;
|
|
3592
3600
|
o[k2] = m[k];
|
|
3593
3601
|
});
|
|
3594
3602
|
var __exportStar = exports && exports.__exportStar || function(m, exports2) {
|
|
@@ -3682,7 +3690,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
3682
3690
|
var require_v106 = __commonJS({
|
|
3683
3691
|
"../../node_modules/discord-api-types/v10.js"(exports) {
|
|
3684
3692
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
3685
|
-
if (k2 ===
|
|
3693
|
+
if (k2 === void 0) k2 = k;
|
|
3686
3694
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
3687
3695
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
3688
3696
|
desc = { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
@@ -3691,14 +3699,14 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
3691
3699
|
}
|
|
3692
3700
|
Object.defineProperty(o, k2, desc);
|
|
3693
3701
|
} : function(o, m, k, k2) {
|
|
3694
|
-
if (k2 ===
|
|
3702
|
+
if (k2 === void 0) k2 = k;
|
|
3695
3703
|
o[k2] = m[k];
|
|
3696
3704
|
});
|
|
3697
3705
|
var __exportStar = exports && exports.__exportStar || function(m, exports2) {
|
|
3698
3706
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
|
|
3699
3707
|
};
|
|
3700
3708
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3701
|
-
exports.Utils =
|
|
3709
|
+
exports.Utils = void 0;
|
|
3702
3710
|
__exportStar(require_v10(), exports);
|
|
3703
3711
|
__exportStar(require_globals(), exports);
|
|
3704
3712
|
__exportStar(require_v102(), exports);
|