@sapphire/discord-utilities 3.4.4 → 3.4.5-next.5d7bdbbc
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/iife/index.global.js +47 -47
- package/package.json +2 -2
|
@@ -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 === undefined) 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 === undefined) 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 = undefined;
|
|
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 = undefined;
|
|
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 = undefined;
|
|
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 = undefined;
|
|
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 = undefined;
|
|
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 = undefined;
|
|
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 = undefined;
|
|
766
766
|
var SortOrderType2;
|
|
767
767
|
(function(SortOrderType3) {
|
|
768
768
|
SortOrderType3[SortOrderType3["LatestActivity"] = 0] = "LatestActivity";
|
|
@@ -965,7 +965,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
965
965
|
var require_gateway = __commonJS({
|
|
966
966
|
"../../node_modules/discord-api-types/payloads/v10/gateway.js"(exports) {
|
|
967
967
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
968
|
-
exports.ActivityFlags = exports.ActivityType = exports.ActivityPlatform = exports.PresenceUpdateStatus =
|
|
968
|
+
exports.ActivityFlags = exports.ActivityType = exports.ActivityPlatform = exports.PresenceUpdateStatus = undefined;
|
|
969
969
|
var PresenceUpdateStatus2;
|
|
970
970
|
(function(PresenceUpdateStatus3) {
|
|
971
971
|
PresenceUpdateStatus3["Online"] = "online";
|
|
@@ -1013,7 +1013,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1013
1013
|
var require_guild = __commonJS({
|
|
1014
1014
|
"../../node_modules/discord-api-types/payloads/v10/guild.js"(exports) {
|
|
1015
1015
|
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 =
|
|
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 = undefined;
|
|
1017
1017
|
var GuildDefaultMessageNotifications2;
|
|
1018
1018
|
(function(GuildDefaultMessageNotifications3) {
|
|
1019
1019
|
GuildDefaultMessageNotifications3[GuildDefaultMessageNotifications3["AllMessages"] = 0] = "AllMessages";
|
|
@@ -1152,7 +1152,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1152
1152
|
var require_guildScheduledEvent = __commonJS({
|
|
1153
1153
|
"../../node_modules/discord-api-types/payloads/v10/guildScheduledEvent.js"(exports) {
|
|
1154
1154
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1155
|
-
exports.GuildScheduledEventPrivacyLevel = exports.GuildScheduledEventStatus = exports.GuildScheduledEventEntityType = exports.GuildScheduledEventRecurrenceRuleMonth = exports.GuildScheduledEventRecurrenceRuleWeekday = exports.GuildScheduledEventRecurrenceRuleFrequency =
|
|
1155
|
+
exports.GuildScheduledEventPrivacyLevel = exports.GuildScheduledEventStatus = exports.GuildScheduledEventEntityType = exports.GuildScheduledEventRecurrenceRuleMonth = exports.GuildScheduledEventRecurrenceRuleWeekday = exports.GuildScheduledEventRecurrenceRuleFrequency = undefined;
|
|
1156
1156
|
var GuildScheduledEventRecurrenceRuleFrequency2;
|
|
1157
1157
|
(function(GuildScheduledEventRecurrenceRuleFrequency3) {
|
|
1158
1158
|
GuildScheduledEventRecurrenceRuleFrequency3[GuildScheduledEventRecurrenceRuleFrequency3["Yearly"] = 0] = "Yearly";
|
|
@@ -1265,7 +1265,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1265
1265
|
var require_shared = __commonJS({
|
|
1266
1266
|
"../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/shared.js"(exports) {
|
|
1267
1267
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1268
|
-
exports.ApplicationCommandOptionType =
|
|
1268
|
+
exports.ApplicationCommandOptionType = undefined;
|
|
1269
1269
|
var ApplicationCommandOptionType2;
|
|
1270
1270
|
(function(ApplicationCommandOptionType3) {
|
|
1271
1271
|
ApplicationCommandOptionType3[ApplicationCommandOptionType3["Subcommand"] = 1] = "Subcommand";
|
|
@@ -1315,7 +1315,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1315
1315
|
var require_chatInput = __commonJS({
|
|
1316
1316
|
"../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/chatInput.js"(exports) {
|
|
1317
1317
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
1318
|
-
if (k2 ===
|
|
1318
|
+
if (k2 === undefined) k2 = k;
|
|
1319
1319
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
1320
1320
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
1321
1321
|
desc = { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
@@ -1324,7 +1324,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1324
1324
|
}
|
|
1325
1325
|
Object.defineProperty(o, k2, desc);
|
|
1326
1326
|
} : function(o, m, k, k2) {
|
|
1327
|
-
if (k2 ===
|
|
1327
|
+
if (k2 === undefined) k2 = k;
|
|
1328
1328
|
o[k2] = m[k];
|
|
1329
1329
|
});
|
|
1330
1330
|
var __exportStar = exports && exports.__exportStar || function(m, exports2) {
|
|
@@ -1358,7 +1358,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1358
1358
|
var require_permissions = __commonJS({
|
|
1359
1359
|
"../../node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/permissions.js"(exports) {
|
|
1360
1360
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1361
|
-
exports.APIApplicationCommandPermissionsConstant = exports.ApplicationCommandPermissionType =
|
|
1361
|
+
exports.APIApplicationCommandPermissionsConstant = exports.ApplicationCommandPermissionType = undefined;
|
|
1362
1362
|
var ApplicationCommandPermissionType2;
|
|
1363
1363
|
(function(ApplicationCommandPermissionType3) {
|
|
1364
1364
|
ApplicationCommandPermissionType3[ApplicationCommandPermissionType3["Role"] = 1] = "Role";
|
|
@@ -1384,7 +1384,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1384
1384
|
var require_applicationCommands = __commonJS({
|
|
1385
1385
|
"../../node_modules/discord-api-types/payloads/v10/_interactions/applicationCommands.js"(exports) {
|
|
1386
1386
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
1387
|
-
if (k2 ===
|
|
1387
|
+
if (k2 === undefined) k2 = k;
|
|
1388
1388
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
1389
1389
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
1390
1390
|
desc = { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
@@ -1393,14 +1393,14 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1393
1393
|
}
|
|
1394
1394
|
Object.defineProperty(o, k2, desc);
|
|
1395
1395
|
} : function(o, m, k, k2) {
|
|
1396
|
-
if (k2 ===
|
|
1396
|
+
if (k2 === undefined) k2 = k;
|
|
1397
1397
|
o[k2] = m[k];
|
|
1398
1398
|
});
|
|
1399
1399
|
var __exportStar = exports && exports.__exportStar || function(m, exports2) {
|
|
1400
1400
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
|
|
1401
1401
|
};
|
|
1402
1402
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1403
|
-
exports.EntryPointCommandHandlerType = exports.InteractionContextType = exports.ApplicationIntegrationType = exports.ApplicationCommandType =
|
|
1403
|
+
exports.EntryPointCommandHandlerType = exports.InteractionContextType = exports.ApplicationIntegrationType = exports.ApplicationCommandType = undefined;
|
|
1404
1404
|
__exportStar(require_chatInput(), exports);
|
|
1405
1405
|
__exportStar(require_contextMenu(), exports);
|
|
1406
1406
|
__exportStar(require_permissions(), exports);
|
|
@@ -1470,7 +1470,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1470
1470
|
var require_responses = __commonJS({
|
|
1471
1471
|
"../../node_modules/discord-api-types/payloads/v10/_interactions/responses.js"(exports) {
|
|
1472
1472
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1473
|
-
exports.InteractionResponseType = exports.InteractionType =
|
|
1473
|
+
exports.InteractionResponseType = exports.InteractionType = undefined;
|
|
1474
1474
|
var InteractionType2;
|
|
1475
1475
|
(function(InteractionType3) {
|
|
1476
1476
|
InteractionType3[InteractionType3["Ping"] = 1] = "Ping";
|
|
@@ -1498,7 +1498,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1498
1498
|
var require_interactions = __commonJS({
|
|
1499
1499
|
"../../node_modules/discord-api-types/payloads/v10/interactions.js"(exports) {
|
|
1500
1500
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
1501
|
-
if (k2 ===
|
|
1501
|
+
if (k2 === undefined) k2 = k;
|
|
1502
1502
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
1503
1503
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
1504
1504
|
desc = { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
@@ -1507,7 +1507,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1507
1507
|
}
|
|
1508
1508
|
Object.defineProperty(o, k2, desc);
|
|
1509
1509
|
} : function(o, m, k, k2) {
|
|
1510
|
-
if (k2 ===
|
|
1510
|
+
if (k2 === undefined) k2 = k;
|
|
1511
1511
|
o[k2] = m[k];
|
|
1512
1512
|
});
|
|
1513
1513
|
var __exportStar = exports && exports.__exportStar || function(m, exports2) {
|
|
@@ -1528,7 +1528,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1528
1528
|
var require_invite = __commonJS({
|
|
1529
1529
|
"../../node_modules/discord-api-types/payloads/v10/invite.js"(exports) {
|
|
1530
1530
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1531
|
-
exports.InviteTargetType = exports.InviteType =
|
|
1531
|
+
exports.InviteTargetType = exports.InviteType = undefined;
|
|
1532
1532
|
var InviteType2;
|
|
1533
1533
|
(function(InviteType3) {
|
|
1534
1534
|
InviteType3[InviteType3["Guild"] = 0] = "Guild";
|
|
@@ -1547,7 +1547,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1547
1547
|
var require_monetization = __commonJS({
|
|
1548
1548
|
"../../node_modules/discord-api-types/payloads/v10/monetization.js"(exports) {
|
|
1549
1549
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1550
|
-
exports.SubscriptionStatus = exports.SKUType = exports.SKUFlags = exports.EntitlementType =
|
|
1550
|
+
exports.SubscriptionStatus = exports.SKUType = exports.SKUFlags = exports.EntitlementType = undefined;
|
|
1551
1551
|
var EntitlementType2;
|
|
1552
1552
|
(function(EntitlementType3) {
|
|
1553
1553
|
EntitlementType3[EntitlementType3["Purchase"] = 1] = "Purchase";
|
|
@@ -1585,7 +1585,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1585
1585
|
var require_oauth2 = __commonJS({
|
|
1586
1586
|
"../../node_modules/discord-api-types/payloads/v10/oauth2.js"(exports) {
|
|
1587
1587
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1588
|
-
exports.OAuth2Scopes =
|
|
1588
|
+
exports.OAuth2Scopes = undefined;
|
|
1589
1589
|
var OAuth2Scopes2;
|
|
1590
1590
|
(function(OAuth2Scopes3) {
|
|
1591
1591
|
OAuth2Scopes3["Bot"] = "bot";
|
|
@@ -1621,7 +1621,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1621
1621
|
var require_permissions2 = __commonJS({
|
|
1622
1622
|
"../../node_modules/discord-api-types/payloads/v10/permissions.js"(exports) {
|
|
1623
1623
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1624
|
-
exports.RoleFlags =
|
|
1624
|
+
exports.RoleFlags = undefined;
|
|
1625
1625
|
var RoleFlags2;
|
|
1626
1626
|
(function(RoleFlags3) {
|
|
1627
1627
|
RoleFlags3[RoleFlags3["InPrompt"] = 1] = "InPrompt";
|
|
@@ -1633,7 +1633,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1633
1633
|
var require_poll = __commonJS({
|
|
1634
1634
|
"../../node_modules/discord-api-types/payloads/v10/poll.js"(exports) {
|
|
1635
1635
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1636
|
-
exports.PollLayoutType =
|
|
1636
|
+
exports.PollLayoutType = undefined;
|
|
1637
1637
|
var PollLayoutType2;
|
|
1638
1638
|
(function(PollLayoutType3) {
|
|
1639
1639
|
PollLayoutType3[PollLayoutType3["Default"] = 1] = "Default";
|
|
@@ -1652,7 +1652,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1652
1652
|
var require_stageInstance = __commonJS({
|
|
1653
1653
|
"../../node_modules/discord-api-types/payloads/v10/stageInstance.js"(exports) {
|
|
1654
1654
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1655
|
-
exports.StageInstancePrivacyLevel =
|
|
1655
|
+
exports.StageInstancePrivacyLevel = undefined;
|
|
1656
1656
|
var StageInstancePrivacyLevel2;
|
|
1657
1657
|
(function(StageInstancePrivacyLevel3) {
|
|
1658
1658
|
StageInstancePrivacyLevel3[StageInstancePrivacyLevel3["Public"] = 1] = "Public";
|
|
@@ -1665,7 +1665,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1665
1665
|
var require_sticker = __commonJS({
|
|
1666
1666
|
"../../node_modules/discord-api-types/payloads/v10/sticker.js"(exports) {
|
|
1667
1667
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1668
|
-
exports.StickerFormatType = exports.StickerType =
|
|
1668
|
+
exports.StickerFormatType = exports.StickerType = undefined;
|
|
1669
1669
|
var StickerType2;
|
|
1670
1670
|
(function(StickerType3) {
|
|
1671
1671
|
StickerType3[StickerType3["Standard"] = 1] = "Standard";
|
|
@@ -1685,7 +1685,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1685
1685
|
var require_teams = __commonJS({
|
|
1686
1686
|
"../../node_modules/discord-api-types/payloads/v10/teams.js"(exports) {
|
|
1687
1687
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1688
|
-
exports.TeamMemberRole = exports.TeamMemberMembershipState =
|
|
1688
|
+
exports.TeamMemberRole = exports.TeamMemberMembershipState = undefined;
|
|
1689
1689
|
var TeamMemberMembershipState2;
|
|
1690
1690
|
(function(TeamMemberMembershipState3) {
|
|
1691
1691
|
TeamMemberMembershipState3[TeamMemberMembershipState3["Invited"] = 1] = "Invited";
|
|
@@ -1711,7 +1711,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1711
1711
|
var require_user2 = __commonJS({
|
|
1712
1712
|
"../../node_modules/discord-api-types/payloads/v10/user.js"(exports) {
|
|
1713
1713
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1714
|
-
exports.ConnectionVisibility = exports.ConnectionService = exports.UserPremiumType = exports.UserFlags =
|
|
1714
|
+
exports.ConnectionVisibility = exports.ConnectionService = exports.UserPremiumType = exports.UserFlags = undefined;
|
|
1715
1715
|
var UserFlags2;
|
|
1716
1716
|
(function(UserFlags3) {
|
|
1717
1717
|
UserFlags3[UserFlags3["Staff"] = 1] = "Staff";
|
|
@@ -1794,7 +1794,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1794
1794
|
var require_webhook = __commonJS({
|
|
1795
1795
|
"../../node_modules/discord-api-types/payloads/v10/webhook.js"(exports) {
|
|
1796
1796
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1797
|
-
exports.WebhookType = exports.ApplicationWebhookEventType = exports.ApplicationWebhookType =
|
|
1797
|
+
exports.WebhookType = exports.ApplicationWebhookEventType = exports.ApplicationWebhookType = undefined;
|
|
1798
1798
|
var ApplicationWebhookType2;
|
|
1799
1799
|
(function(ApplicationWebhookType3) {
|
|
1800
1800
|
ApplicationWebhookType3[ApplicationWebhookType3["Ping"] = 0] = "Ping";
|
|
@@ -1819,7 +1819,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1819
1819
|
var require_v102 = __commonJS({
|
|
1820
1820
|
"../../node_modules/discord-api-types/payloads/v10/index.js"(exports) {
|
|
1821
1821
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
1822
|
-
if (k2 ===
|
|
1822
|
+
if (k2 === undefined) k2 = k;
|
|
1823
1823
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
1824
1824
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
1825
1825
|
desc = { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
@@ -1828,7 +1828,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1828
1828
|
}
|
|
1829
1829
|
Object.defineProperty(o, k2, desc);
|
|
1830
1830
|
} : function(o, m, k, k2) {
|
|
1831
|
-
if (k2 ===
|
|
1831
|
+
if (k2 === undefined) k2 = k;
|
|
1832
1832
|
o[k2] = m[k];
|
|
1833
1833
|
});
|
|
1834
1834
|
var __exportStar = exports && exports.__exportStar || function(m, exports2) {
|
|
@@ -1865,7 +1865,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1865
1865
|
var require_internals = __commonJS({
|
|
1866
1866
|
"../../node_modules/discord-api-types/utils/internals.js"(exports) {
|
|
1867
1867
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1868
|
-
exports.urlSafeCharacters =
|
|
1868
|
+
exports.urlSafeCharacters = undefined;
|
|
1869
1869
|
var pattern = /^[\d%A-Za-z-]+$/g;
|
|
1870
1870
|
exports.urlSafeCharacters = {
|
|
1871
1871
|
test(input) {
|
|
@@ -1881,7 +1881,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
1881
1881
|
var require_common3 = __commonJS({
|
|
1882
1882
|
"../../node_modules/discord-api-types/rest/common.js"(exports) {
|
|
1883
1883
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1884
|
-
exports.Locale = exports.RESTJSONErrorCodes =
|
|
1884
|
+
exports.Locale = exports.RESTJSONErrorCodes = undefined;
|
|
1885
1885
|
var RESTJSONErrorCodes2;
|
|
1886
1886
|
(function(RESTJSONErrorCodes3) {
|
|
1887
1887
|
RESTJSONErrorCodes3[RESTJSONErrorCodes3["GeneralError"] = 0] = "GeneralError";
|
|
@@ -2172,7 +2172,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
2172
2172
|
var require_channel3 = __commonJS({
|
|
2173
2173
|
"../../node_modules/discord-api-types/rest/v10/channel.js"(exports) {
|
|
2174
2174
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2175
|
-
exports.ReactionType =
|
|
2175
|
+
exports.ReactionType = undefined;
|
|
2176
2176
|
var ReactionType2;
|
|
2177
2177
|
(function(ReactionType3) {
|
|
2178
2178
|
ReactionType3[ReactionType3["Normal"] = 0] = "Normal";
|
|
@@ -2227,7 +2227,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
2227
2227
|
var require_monetization2 = __commonJS({
|
|
2228
2228
|
"../../node_modules/discord-api-types/rest/v10/monetization.js"(exports) {
|
|
2229
2229
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2230
|
-
exports.EntitlementOwnerType =
|
|
2230
|
+
exports.EntitlementOwnerType = undefined;
|
|
2231
2231
|
var EntitlementOwnerType2;
|
|
2232
2232
|
(function(EntitlementOwnerType3) {
|
|
2233
2233
|
EntitlementOwnerType3[EntitlementOwnerType3["Guild"] = 1] = "Guild";
|
|
@@ -2303,7 +2303,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
2303
2303
|
var require_v103 = __commonJS({
|
|
2304
2304
|
"../../node_modules/discord-api-types/rest/v10/index.js"(exports) {
|
|
2305
2305
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
2306
|
-
if (k2 ===
|
|
2306
|
+
if (k2 === undefined) k2 = k;
|
|
2307
2307
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
2308
2308
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
2309
2309
|
desc = { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
@@ -2312,14 +2312,14 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
2312
2312
|
}
|
|
2313
2313
|
Object.defineProperty(o, k2, desc);
|
|
2314
2314
|
} : function(o, m, k, k2) {
|
|
2315
|
-
if (k2 ===
|
|
2315
|
+
if (k2 === undefined) k2 = k;
|
|
2316
2316
|
o[k2] = m[k];
|
|
2317
2317
|
});
|
|
2318
2318
|
var __exportStar = exports && exports.__exportStar || function(m, exports2) {
|
|
2319
2319
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
|
|
2320
2320
|
};
|
|
2321
2321
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2322
|
-
exports.OAuth2Routes = exports.RouteBases = exports.CDNRoutes = exports.ImageFormat = exports.StickerPackApplicationId = exports.Routes = exports.APIVersion =
|
|
2322
|
+
exports.OAuth2Routes = exports.RouteBases = exports.CDNRoutes = exports.ImageFormat = exports.StickerPackApplicationId = exports.Routes = exports.APIVersion = undefined;
|
|
2323
2323
|
var internals_1 = require_internals();
|
|
2324
2324
|
__exportStar(require_common3(), exports);
|
|
2325
2325
|
__exportStar(require_application2(), exports);
|
|
@@ -3543,7 +3543,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
3543
3543
|
var require_common4 = __commonJS({
|
|
3544
3544
|
"../../node_modules/discord-api-types/rpc/common.js"(exports) {
|
|
3545
3545
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3546
|
-
exports.RPCCloseEventCodes = exports.RPCErrorCodes =
|
|
3546
|
+
exports.RPCCloseEventCodes = exports.RPCErrorCodes = undefined;
|
|
3547
3547
|
var RPCErrorCodes2;
|
|
3548
3548
|
(function(RPCErrorCodes3) {
|
|
3549
3549
|
RPCErrorCodes3[RPCErrorCodes3["UnknownError"] = 1e3] = "UnknownError";
|
|
@@ -3579,7 +3579,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
3579
3579
|
var require_v104 = __commonJS({
|
|
3580
3580
|
"../../node_modules/discord-api-types/rpc/v10.js"(exports) {
|
|
3581
3581
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
3582
|
-
if (k2 ===
|
|
3582
|
+
if (k2 === undefined) k2 = k;
|
|
3583
3583
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
3584
3584
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
3585
3585
|
desc = { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
@@ -3588,7 +3588,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
3588
3588
|
}
|
|
3589
3589
|
Object.defineProperty(o, k2, desc);
|
|
3590
3590
|
} : function(o, m, k, k2) {
|
|
3591
|
-
if (k2 ===
|
|
3591
|
+
if (k2 === undefined) k2 = k;
|
|
3592
3592
|
o[k2] = m[k];
|
|
3593
3593
|
});
|
|
3594
3594
|
var __exportStar = exports && exports.__exportStar || function(m, exports2) {
|
|
@@ -3682,7 +3682,7 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
3682
3682
|
var require_v106 = __commonJS({
|
|
3683
3683
|
"../../node_modules/discord-api-types/v10.js"(exports) {
|
|
3684
3684
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
3685
|
-
if (k2 ===
|
|
3685
|
+
if (k2 === undefined) k2 = k;
|
|
3686
3686
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
3687
3687
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
3688
3688
|
desc = { enumerable: true, get: /* @__PURE__ */ __name(function() {
|
|
@@ -3691,14 +3691,14 @@ var SapphireDiscordUtilities = (function (exports) {
|
|
|
3691
3691
|
}
|
|
3692
3692
|
Object.defineProperty(o, k2, desc);
|
|
3693
3693
|
} : function(o, m, k, k2) {
|
|
3694
|
-
if (k2 ===
|
|
3694
|
+
if (k2 === undefined) k2 = k;
|
|
3695
3695
|
o[k2] = m[k];
|
|
3696
3696
|
});
|
|
3697
3697
|
var __exportStar = exports && exports.__exportStar || function(m, exports2) {
|
|
3698
3698
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
|
|
3699
3699
|
};
|
|
3700
3700
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3701
|
-
exports.Utils =
|
|
3701
|
+
exports.Utils = undefined;
|
|
3702
3702
|
__exportStar(require_v10(), exports);
|
|
3703
3703
|
__exportStar(require_globals(), exports);
|
|
3704
3704
|
__exportStar(require_v102(), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sapphire/discord-utilities",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.5-next.5d7bdbbc",
|
|
4
4
|
"description": "Discord specific utilities for your JavaScript/TypeScript bots",
|
|
5
5
|
"author": "@sapphire",
|
|
6
6
|
"license": "MIT",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"discord-api-types": "^0.37.114"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@favware/cliff-jumper": "^
|
|
68
|
+
"@favware/cliff-jumper": "^6.0.0",
|
|
69
69
|
"@vitest/coverage-v8": "^2.1.8",
|
|
70
70
|
"tsup": "^8.3.5",
|
|
71
71
|
"tsx": "^4.19.2",
|