@@ -20279,7 +20279,7 @@ var require_common2 = __commonJS({
2027920279 /**
2028020280 * Allows management and editing of emojis, stickers, and soundboard sounds
2028120281 *
20282- * @deprecated This is the old name for {@apilink PermissionFlagsBits# ManageGuildExpressions}
20282+ * @deprecated This is the old name for {@link PermissionFlagsBits. ManageGuildExpressions}
2028320283 */
2028420284 ManageEmojisAndStickers: 1n << 30n,
2028520285 /**
@@ -20335,7 +20335,7 @@ var require_common2 = __commonJS({
2033520335 */
2033620336 SendMessagesInThreads: 1n << 38n,
2033720337 /**
20338- * Allows for using Activities (applications with the {@apilink ApplicationFlags.Embedded} flag) in a voice channel
20338+ * Allows for using Activities (applications with the {@link ApplicationFlags.Embedded} flag) in a voice channel
2033920339 *
2034020340 * Applies to channel types: Voice
2034120341 */
@@ -21202,6 +21202,14 @@ var require_entryPoint = __commonJS({
2120221202 }
2120321203});
2120421204
21205+ // node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/internals.js
21206+ var require_internals = __commonJS({
21207+ "node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/internals.js"(exports2) {
21208+ "use strict";
21209+ Object.defineProperty(exports2, "__esModule", { value: true });
21210+ }
21211+ });
21212+
2120521213// node_modules/discord-api-types/payloads/v10/_interactions/applicationCommands.js
2120621214var require_applicationCommands = __commonJS({
2120721215 "node_modules/discord-api-types/payloads/v10/_interactions/applicationCommands.js"(exports2) {
@@ -21228,6 +21236,7 @@ var require_applicationCommands = __commonJS({
2122821236 __exportStar2(require_contextMenu(), exports2);
2122921237 __exportStar2(require_permissions(), exports2);
2123021238 __exportStar2(require_entryPoint(), exports2);
21239+ __exportStar2(require_internals(), exports2);
2123121240 var ApplicationCommandType;
2123221241 (function(ApplicationCommandType2) {
2123321242 ApplicationCommandType2[ApplicationCommandType2["ChatInput"] = 1] = "ChatInput";
@@ -21433,6 +21442,9 @@ var require_oauth2 = __commonJS({
2143321442 OAuth2Scopes3["MessagesRead"] = "messages.read";
2143421443 OAuth2Scopes3["RoleConnectionsWrite"] = "role_connections.write";
2143521444 OAuth2Scopes3["RPC"] = "rpc";
21445+ OAuth2Scopes3["RPCActivitiesWrite"] = "rpc.activities.write";
21446+ OAuth2Scopes3["RPCVoiceRead"] = "rpc.voice.read";
21447+ OAuth2Scopes3["RPCVoiceWrite"] = "rpc.voice.write";
2143621448 OAuth2Scopes3["RPCNotificationsRead"] = "rpc.notifications.read";
2143721449 OAuth2Scopes3["WebhookIncoming"] = "webhook.incoming";
2143821450 OAuth2Scopes3["Voice"] = "voice";
@@ -21706,7 +21718,7 @@ var require_v102 = __commonJS({
2170621718});
2170721719
2170821720// node_modules/discord-api-types/utils/internals.js
21709- var require_internals = __commonJS({
21721+ var require_internals2 = __commonJS({
2171021722 "node_modules/discord-api-types/utils/internals.js"(exports2) {
2171121723 "use strict";
2171221724 Object.defineProperty(exports2, "__esModule", { value: true });
@@ -22187,7 +22199,7 @@ var require_v103 = __commonJS({
2218722199 };
2218822200 Object.defineProperty(exports2, "__esModule", { value: true });
2218922201 exports2.OAuth2Routes = exports2.RouteBases = exports2.CDNRoutes = exports2.ImageFormat = exports2.StickerPackApplicationId = exports2.Routes = exports2.APIVersion = void 0;
22190- var internals_1 = require_internals ();
22202+ var internals_1 = require_internals2 ();
2219122203 __exportStar2(require_common3(), exports2);
2219222204 __exportStar2(require_application2(), exports2);
2219322205 __exportStar2(require_auditLog2(), exports2);
@@ -22671,7 +22683,7 @@ var require_v103 = __commonJS({
2267122683 * - GET `/users/{user.id}`
2267222684 * - PATCH `/users/@me`
2267322685 *
22674- * @param [userId] The user ID, defaulted to `@me`
22686+ * @param [userId] - The user ID, defaulted to `@me`
2267522687 */
2267622688 user(userId = "@me") {
2267722689 return `/users/${userId}`;
@@ -23218,7 +23230,7 @@ var require_v103 = __commonJS({
2321823230 * Route for:
2321923231 * - GET `/embed/avatars/{index}.png`
2322023232 *
23221- * The value for `index` parameter depends on whether the user is [migrated to the new username system]( https://discord.com/developers/docs/change-log#unique-usernames-on-discord) .
23233+ * The value for `index` parameter depends on whether the user is {@link https://discord.com/developers/docs/change-log#unique-usernames-on-discord | migrated to the new username system} .
2322223234 * For users on the new username system, `index` will be `(user.id >> 22) % 6`.
2322323235 * For users on the legacy username system, `index` will be `user.discriminator % 5`.
2322423236 *
@@ -23405,7 +23417,7 @@ var require_v103 = __commonJS({
2340523417 authorizationURL: `${exports2.RouteBases.api}${exports2.Routes.oauth2Authorization()}`,
2340623418 tokenURL: `${exports2.RouteBases.api}${exports2.Routes.oauth2TokenExchange()}`,
2340723419 /**
23408- * See https://tools.ietf.org/html/rfc7009
23420+ * @see {@link https://tools.ietf.org/html/rfc7009}
2340923421 */
2341023422 tokenRevocationURL: `${exports2.RouteBases.api}${exports2.Routes.oauth2TokenRevocation()}`
2341123423 };
@@ -23418,10 +23430,52 @@ var require_common4 = __commonJS({
2341823430 "node_modules/discord-api-types/rpc/common.js"(exports2) {
2341923431 "use strict";
2342023432 Object.defineProperty(exports2, "__esModule", { value: true });
23421- exports2.RPCCloseEventCodes = exports2.RPCErrorCodes = void 0;
23433+ exports2.RPCCloseEventCodes = exports2.RPCErrorCodes = exports2.RelationshipType = exports2.VoiceConnectionStates = exports2.RPCVoiceShortcutKeyComboKeyType = exports2.RPCVoiceSettingsModeType = exports2.RPCDeviceType = void 0;
23434+ var RPCDeviceType;
23435+ (function(RPCDeviceType2) {
23436+ RPCDeviceType2["AudioInput"] = "audioinput";
23437+ RPCDeviceType2["AudioOutput"] = "audiooutput";
23438+ RPCDeviceType2["VideoInput"] = "videoinput";
23439+ })(RPCDeviceType || (exports2.RPCDeviceType = RPCDeviceType = {}));
23440+ var RPCVoiceSettingsModeType;
23441+ (function(RPCVoiceSettingsModeType2) {
23442+ RPCVoiceSettingsModeType2["PushToTalk"] = "PUSH_TO_TALK";
23443+ RPCVoiceSettingsModeType2["VoiceActivity"] = "VOICE_ACTIVITY";
23444+ })(RPCVoiceSettingsModeType || (exports2.RPCVoiceSettingsModeType = RPCVoiceSettingsModeType = {}));
23445+ var RPCVoiceShortcutKeyComboKeyType;
23446+ (function(RPCVoiceShortcutKeyComboKeyType2) {
23447+ RPCVoiceShortcutKeyComboKeyType2[RPCVoiceShortcutKeyComboKeyType2["KeyboardKey"] = 0] = "KeyboardKey";
23448+ RPCVoiceShortcutKeyComboKeyType2[RPCVoiceShortcutKeyComboKeyType2["MouseButton"] = 1] = "MouseButton";
23449+ RPCVoiceShortcutKeyComboKeyType2[RPCVoiceShortcutKeyComboKeyType2["KeyboardModifierKey"] = 2] = "KeyboardModifierKey";
23450+ RPCVoiceShortcutKeyComboKeyType2[RPCVoiceShortcutKeyComboKeyType2["GamepadButton"] = 3] = "GamepadButton";
23451+ })(RPCVoiceShortcutKeyComboKeyType || (exports2.RPCVoiceShortcutKeyComboKeyType = RPCVoiceShortcutKeyComboKeyType = {}));
23452+ var VoiceConnectionStates;
23453+ (function(VoiceConnectionStates2) {
23454+ VoiceConnectionStates2["Disconnected"] = "DISCONNECTED";
23455+ VoiceConnectionStates2["AwaitingEndpoint"] = "AWAITING_ENDPOINT";
23456+ VoiceConnectionStates2["Authenticating"] = "AUTHENTICATING";
23457+ VoiceConnectionStates2["Connecting"] = "CONNECTING";
23458+ VoiceConnectionStates2["Connected"] = "CONNECTED";
23459+ VoiceConnectionStates2["VoiceDisconnected"] = "VOICE_DISCONNECTED";
23460+ VoiceConnectionStates2["VoiceConnecting"] = "VOICE_CONNECTING";
23461+ VoiceConnectionStates2["VoiceConnected"] = "VOICE_CONNECTED";
23462+ VoiceConnectionStates2["NoRoute"] = "NO_ROUTE";
23463+ VoiceConnectionStates2["IceChecking"] = "ICE_CHECKING";
23464+ })(VoiceConnectionStates || (exports2.VoiceConnectionStates = VoiceConnectionStates = {}));
23465+ var RelationshipType;
23466+ (function(RelationshipType2) {
23467+ RelationshipType2[RelationshipType2["None"] = 0] = "None";
23468+ RelationshipType2[RelationshipType2["Friend"] = 1] = "Friend";
23469+ RelationshipType2[RelationshipType2["Blocked"] = 2] = "Blocked";
23470+ RelationshipType2[RelationshipType2["PendingIncoming"] = 3] = "PendingIncoming";
23471+ RelationshipType2[RelationshipType2["PendingOutgoing"] = 4] = "PendingOutgoing";
23472+ RelationshipType2[RelationshipType2["Implicit"] = 5] = "Implicit";
23473+ })(RelationshipType || (exports2.RelationshipType = RelationshipType = {}));
2342223474 var RPCErrorCodes;
2342323475 (function(RPCErrorCodes2) {
2342423476 RPCErrorCodes2[RPCErrorCodes2["UnknownError"] = 1e3] = "UnknownError";
23477+ RPCErrorCodes2[RPCErrorCodes2["ServiceUnavailable"] = 1001] = "ServiceUnavailable";
23478+ RPCErrorCodes2[RPCErrorCodes2["TransactionAborted"] = 1002] = "TransactionAborted";
2342523479 RPCErrorCodes2[RPCErrorCodes2["InvalidPayload"] = 4e3] = "InvalidPayload";
2342623480 RPCErrorCodes2[RPCErrorCodes2["InvalidCommand"] = 4002] = "InvalidCommand";
2342723481 RPCErrorCodes2[RPCErrorCodes2["InvalidGuild"] = 4003] = "InvalidGuild";
@@ -23432,14 +23486,27 @@ var require_common4 = __commonJS({
2343223486 RPCErrorCodes2[RPCErrorCodes2["InvalidOrigin"] = 4008] = "InvalidOrigin";
2343323487 RPCErrorCodes2[RPCErrorCodes2["InvalidToken"] = 4009] = "InvalidToken";
2343423488 RPCErrorCodes2[RPCErrorCodes2["InvalidUser"] = 4010] = "InvalidUser";
23489+ RPCErrorCodes2[RPCErrorCodes2["InvalidInvite"] = 4011] = "InvalidInvite";
23490+ RPCErrorCodes2[RPCErrorCodes2["InvalidActivityJoinRequest"] = 4012] = "InvalidActivityJoinRequest";
23491+ RPCErrorCodes2[RPCErrorCodes2["InvalidEntitlement"] = 4013] = "InvalidEntitlement";
23492+ RPCErrorCodes2[RPCErrorCodes2["InvalidGiftCode"] = 4014] = "InvalidGiftCode";
2343523493 RPCErrorCodes2[RPCErrorCodes2["OAuth2Error"] = 5e3] = "OAuth2Error";
2343623494 RPCErrorCodes2[RPCErrorCodes2["SelectChannelTimedOut"] = 5001] = "SelectChannelTimedOut";
2343723495 RPCErrorCodes2[RPCErrorCodes2["GetGuildTimedOut"] = 5002] = "GetGuildTimedOut";
2343823496 RPCErrorCodes2[RPCErrorCodes2["SelectVoiceForceRequired"] = 5003] = "SelectVoiceForceRequired";
2343923497 RPCErrorCodes2[RPCErrorCodes2["CaptureShortcutAlreadyListening"] = 5004] = "CaptureShortcutAlreadyListening";
23498+ RPCErrorCodes2[RPCErrorCodes2["InvalidActivitySecret"] = 5005] = "InvalidActivitySecret";
23499+ RPCErrorCodes2[RPCErrorCodes2["NoEligibleActivity"] = 5006] = "NoEligibleActivity";
23500+ RPCErrorCodes2[RPCErrorCodes2["PurchaseCanceled"] = 5007] = "PurchaseCanceled";
23501+ RPCErrorCodes2[RPCErrorCodes2["PurchaseError"] = 5008] = "PurchaseError";
23502+ RPCErrorCodes2[RPCErrorCodes2["UnauthorizedForAchievement"] = 5009] = "UnauthorizedForAchievement";
23503+ RPCErrorCodes2[RPCErrorCodes2["RateLimited"] = 5010] = "RateLimited";
2344023504 })(RPCErrorCodes || (exports2.RPCErrorCodes = RPCErrorCodes = {}));
2344123505 var RPCCloseEventCodes;
2344223506 (function(RPCCloseEventCodes2) {
23507+ RPCCloseEventCodes2[RPCCloseEventCodes2["CloseNormal"] = 1e3] = "CloseNormal";
23508+ RPCCloseEventCodes2[RPCCloseEventCodes2["CloseUnsupported"] = 1003] = "CloseUnsupported";
23509+ RPCCloseEventCodes2[RPCCloseEventCodes2["CloseAbnormal"] = 1006] = "CloseAbnormal";
2344323510 RPCCloseEventCodes2[RPCCloseEventCodes2["InvalidClientId"] = 4e3] = "InvalidClientId";
2344423511 RPCCloseEventCodes2[RPCCloseEventCodes2["InvalidOrigin"] = 4001] = "InvalidOrigin";
2344523512 RPCCloseEventCodes2[RPCCloseEventCodes2["RateLimited"] = 4002] = "RateLimited";
@@ -23471,7 +23538,94 @@ var require_v104 = __commonJS({
2347123538 for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding2(exports3, m, p);
2347223539 };
2347323540 Object.defineProperty(exports2, "__esModule", { value: true });
23541+ exports2.RPCEvents = exports2.RPCCommands = exports2.RPCVersion = void 0;
2347423542 __exportStar2(require_common4(), exports2);
23543+ exports2.RPCVersion = "1";
23544+ var RPCCommands;
23545+ (function(RPCCommands2) {
23546+ RPCCommands2["AcceptActivityInvite"] = "ACCEPT_ACTIVITY_INVITE";
23547+ RPCCommands2["ActivityInviteUser"] = "ACTIVITY_INVITE_USER";
23548+ RPCCommands2["Authenticate"] = "AUTHENTICATE";
23549+ RPCCommands2["Authorize"] = "AUTHORIZE";
23550+ RPCCommands2["BraintreePopupBridgeCallback"] = "BRAINTREE_POPUP_BRIDGE_CALLBACK";
23551+ RPCCommands2["BrowserHandoff"] = "BROWSER_HANDOFF";
23552+ RPCCommands2["CloseActivityJoinRequest"] = "CLOSE_ACTIVITY_JOIN_REQUEST";
23553+ RPCCommands2["ConnectionsCallback"] = "CONNECTIONS_CALLBACK";
23554+ RPCCommands2["CreateChannelInvite"] = "CREATE_CHANNEL_INVITE";
23555+ RPCCommands2["DeepLink"] = "DEEP_LINK";
23556+ RPCCommands2["Dispatch"] = "DISPATCH";
23557+ RPCCommands2["GetApplicationTicket"] = "GET_APPLICATION_TICKET";
23558+ RPCCommands2["GetChannel"] = "GET_CHANNEL";
23559+ RPCCommands2["GetChannels"] = "GET_CHANNELS";
23560+ RPCCommands2["GetEntitlementTicket"] = "GET_ENTITLEMENT_TICKET";
23561+ RPCCommands2["GetEntitlements"] = "GET_ENTITLEMENTS";
23562+ RPCCommands2["GetGuild"] = "GET_GUILD";
23563+ RPCCommands2["GetGuilds"] = "GET_GUILDS";
23564+ RPCCommands2["GetImage"] = "GET_IMAGE";
23565+ RPCCommands2["GetNetworkingConfig"] = "GET_NETWORKING_CONFIG";
23566+ RPCCommands2["GetRelationships"] = "GET_RELATIONSHIPS";
23567+ RPCCommands2["GetSelectedVoiceChannel"] = "GET_SELECTED_VOICE_CHANNEL";
23568+ RPCCommands2["GetSkus"] = "GET_SKUS";
23569+ RPCCommands2["GetUser"] = "GET_USER";
23570+ RPCCommands2["GetVoiceSettings"] = "GET_VOICE_SETTINGS";
23571+ RPCCommands2["GiftCodeBrowser"] = "GIFT_CODE_BROWSER";
23572+ RPCCommands2["GuildTemplateBrowser"] = "GUILD_TEMPLATE_BROWSER";
23573+ RPCCommands2["InviteBrowser"] = "INVITE_BROWSER";
23574+ RPCCommands2["NetworkingCreateToken"] = "NETWORKING_CREATE_TOKEN";
23575+ RPCCommands2["NetworkingPeerMetrics"] = "NETWORKING_PEER_METRICS";
23576+ RPCCommands2["NetworkingSystemMetrics"] = "NETWORKING_SYSTEM_METRICS";
23577+ RPCCommands2["OpenOverlayActivityInvite"] = "OPEN_OVERLAY_ACTIVITY_INVITE";
23578+ RPCCommands2["OpenOverlayGuildInvite"] = "OPEN_OVERLAY_GUILD_INVITE";
23579+ RPCCommands2["OpenOverlayVoiceSettings"] = "OPEN_OVERLAY_VOICE_SETTINGS";
23580+ RPCCommands2["Overlay"] = "OVERLAY";
23581+ RPCCommands2["SelectTextChannel"] = "SELECT_TEXT_CHANNEL";
23582+ RPCCommands2["SelectVoiceChannel"] = "SELECT_VOICE_CHANNEL";
23583+ RPCCommands2["SendActivityJoinInvite"] = "SEND_ACTIVITY_JOIN_INVITE";
23584+ RPCCommands2["SetActivity"] = "SET_ACTIVITY";
23585+ RPCCommands2["SetCertifiedDevices"] = "SET_CERTIFIED_DEVICES";
23586+ RPCCommands2["SetOverlayLocked"] = "SET_OVERLAY_LOCKED";
23587+ RPCCommands2["SetUserVoiceSettings"] = "SET_USER_VOICE_SETTINGS";
23588+ RPCCommands2["SetUserVoiceSettings2"] = "SET_USER_VOICE_SETTINGS_2";
23589+ RPCCommands2["SetVoiceSettings"] = "SET_VOICE_SETTINGS";
23590+ RPCCommands2["SetVoiceSettings2"] = "SET_VOICE_SETTINGS_2";
23591+ RPCCommands2["StartPurchase"] = "START_PURCHASE";
23592+ RPCCommands2["Subscribe"] = "SUBSCRIBE";
23593+ RPCCommands2["Unsubscribe"] = "UNSUBSCRIBE";
23594+ RPCCommands2["ValidateApplication"] = "VALIDATE_APPLICATION";
23595+ })(RPCCommands || (exports2.RPCCommands = RPCCommands = {}));
23596+ var RPCEvents;
23597+ (function(RPCEvents2) {
23598+ RPCEvents2["ActivityInvite"] = "ACTIVITY_INVITE";
23599+ RPCEvents2["ActivityJoin"] = "ACTIVITY_JOIN";
23600+ RPCEvents2["ActivityJoinRequest"] = "ACTIVITY_JOIN_REQUEST";
23601+ RPCEvents2["ActivitySpectate"] = "ACTIVITY_SPECTATE";
23602+ RPCEvents2["ChannelCreate"] = "CHANNEL_CREATE";
23603+ RPCEvents2["CurrentUserUpdate"] = "CURRENT_USER_UPDATE";
23604+ RPCEvents2["EntitlementCreate"] = "ENTITLEMENT_CREATE";
23605+ RPCEvents2["EntitlementDelete"] = "ENTITLEMENT_DELETE";
23606+ RPCEvents2["Error"] = "ERROR";
23607+ RPCEvents2["GameJoin"] = "GAME_JOIN";
23608+ RPCEvents2["GameSpectate"] = "GAME_SPECTATE";
23609+ RPCEvents2["GuildCreate"] = "GUILD_CREATE";
23610+ RPCEvents2["GuildStatus"] = "GUILD_STATUS";
23611+ RPCEvents2["MessageCreate"] = "MESSAGE_CREATE";
23612+ RPCEvents2["MessageDelete"] = "MESSAGE_DELETE";
23613+ RPCEvents2["MessageUpdate"] = "MESSAGE_UPDATE";
23614+ RPCEvents2["NotificationCreate"] = "NOTIFICATION_CREATE";
23615+ RPCEvents2["Overlay"] = "OVERLAY";
23616+ RPCEvents2["OverlayUpdate"] = "OVERLAY_UPDATE";
23617+ RPCEvents2["Ready"] = "READY";
23618+ RPCEvents2["RelationshipUpdate"] = "RELATIONSHIP_UPDATE";
23619+ RPCEvents2["SpeakingStart"] = "SPEAKING_START";
23620+ RPCEvents2["SpeakingStop"] = "SPEAKING_STOP";
23621+ RPCEvents2["VoiceChannelSelect"] = "VOICE_CHANNEL_SELECT";
23622+ RPCEvents2["VoiceConnectionStatus"] = "VOICE_CONNECTION_STATUS";
23623+ RPCEvents2["VoiceSettingsUpdate"] = "VOICE_SETTINGS_UPDATE";
23624+ RPCEvents2["VoiceSettingsUpdate2"] = "VOICE_SETTINGS_UPDATE_2";
23625+ RPCEvents2["VoiceStateCreate"] = "VOICE_STATE_CREATE";
23626+ RPCEvents2["VoiceStateDelete"] = "VOICE_STATE_DELETE";
23627+ RPCEvents2["VoiceStateUpdate"] = "VOICE_STATE_UPDATE";
23628+ })(RPCEvents || (exports2.RPCEvents = RPCEvents = {}));
2347523629 }
2347623630});
2347723631
@@ -23569,6 +23723,7 @@ var require_v106 = __commonJS({
2356923723 __exportStar2(require_v102(), exports2);
2357023724 __exportStar2(require_v103(), exports2);
2357123725 __exportStar2(require_v104(), exports2);
23726+ __exportStar2(require_internals2(), exports2);
2357223727 exports2.Utils = require_v105();
2357323728 }
2357423729});
0 commit comments