From e148b93dd270c50534bde18cf1941f7cc897d4ce Mon Sep 17 00:00:00 2001 From: ION606 <58801387+ION606@users.noreply.github.com> Date: Thu, 28 Jul 2022 17:24:39 +0000 Subject: [PATCH] Added the '/reminders' webhook --- .replit | 72 + main.js | 132 +- node_modules/.bin/mime | 1 + node_modules/.package-lock.json | 1036 ++ node_modules/@discordjs/builders/CHANGELOG.md | 246 + node_modules/@discordjs/builders/LICENSE | 191 + node_modules/@discordjs/builders/README.md | 53 + .../@discordjs/builders/dist/index.d.ts | 1406 +++ .../@discordjs/builders/dist/index.js | 1557 +++ .../@discordjs/builders/dist/index.js.map | 1 + .../@discordjs/builders/dist/index.mjs | 1482 +++ .../@discordjs/builders/dist/index.mjs.map | 1 + .../node_modules/discord-api-types/LICENSE | 21 + .../node_modules/discord-api-types/README.md | 105 + .../discord-api-types/gateway/common.d.ts | 9 + .../discord-api-types/gateway/common.d.ts.map | 1 + .../discord-api-types/gateway/common.js | 3 + .../discord-api-types/gateway/common.js.map | 1 + .../discord-api-types/gateway/index.d.ts | 2 + .../discord-api-types/gateway/index.d.ts.map | 1 + .../discord-api-types/gateway/index.js | 20 + .../discord-api-types/gateway/index.js.map | 1 + .../discord-api-types/gateway/index.mjs | 8 + .../discord-api-types/gateway/v10.d.ts | 1471 +++ .../discord-api-types/gateway/v10.d.ts.map | 1 + .../discord-api-types/gateway/v10.js | 243 + .../discord-api-types/gateway/v10.js.map | 1 + .../discord-api-types/gateway/v10.mjs | 8 + .../discord-api-types/gateway/v6.d.ts | 608 ++ .../discord-api-types/gateway/v6.d.ts.map | 1 + .../discord-api-types/gateway/v6.js | 167 + .../discord-api-types/gateway/v6.js.map | 1 + .../discord-api-types/gateway/v6.mjs | 10 + .../discord-api-types/gateway/v8.d.ts | 1455 +++ .../discord-api-types/gateway/v8.d.ts.map | 1 + .../discord-api-types/gateway/v8.js | 242 + .../discord-api-types/gateway/v8.js.map | 1 + .../discord-api-types/gateway/v8.mjs | 8 + .../discord-api-types/gateway/v9.d.ts | 1470 +++ .../discord-api-types/gateway/v9.d.ts.map | 1 + .../discord-api-types/gateway/v9.js | 242 + .../discord-api-types/gateway/v9.js.map | 1 + .../discord-api-types/gateway/v9.mjs | 8 + .../discord-api-types/globals.d.ts | 83 + .../discord-api-types/globals.d.ts.map | 1 + .../node_modules/discord-api-types/globals.js | 82 + .../discord-api-types/globals.js.map | 1 + .../discord-api-types/globals.mjs | 4 + .../discord-api-types/package.json | 206 + .../discord-api-types/payloads/common.d.ts | 53 + .../payloads/common.d.ts.map | 1 + .../discord-api-types/payloads/common.js | 59 + .../discord-api-types/payloads/common.js.map | 1 + .../discord-api-types/payloads/index.d.ts | 2 + .../discord-api-types/payloads/index.d.ts.map | 1 + .../discord-api-types/payloads/index.js | 20 + .../discord-api-types/payloads/index.js.map | 1 + .../discord-api-types/payloads/index.mjs | 57 + .../_chatInput/attachment.d.ts | 6 + .../_chatInput/attachment.d.ts.map | 1 + .../_chatInput/attachment.js | 3 + .../_chatInput/attachment.js.map | 1 + .../_applicationCommands/_chatInput/base.d.ts | 22 + .../_chatInput/base.d.ts.map | 1 + .../_applicationCommands/_chatInput/base.js | 3 + .../_chatInput/base.js.map | 1 + .../_chatInput/boolean.d.ts | 5 + .../_chatInput/boolean.d.ts.map | 1 + .../_chatInput/boolean.js | 3 + .../_chatInput/boolean.js.map | 1 + .../_chatInput/channel.d.ts | 9 + .../_chatInput/channel.d.ts.map | 1 + .../_chatInput/channel.js | 3 + .../_chatInput/channel.js.map | 1 + .../_chatInput/integer.d.ts | 18 + .../_chatInput/integer.d.ts.map | 1 + .../_chatInput/integer.js | 3 + .../_chatInput/integer.js.map | 1 + .../_chatInput/mentionable.d.ts | 6 + .../_chatInput/mentionable.d.ts.map | 1 + .../_chatInput/mentionable.js | 3 + .../_chatInput/mentionable.js.map | 1 + .../_chatInput/number.d.ts | 18 + .../_chatInput/number.d.ts.map | 1 + .../_applicationCommands/_chatInput/number.js | 3 + .../_chatInput/number.js.map | 1 + .../_applicationCommands/_chatInput/role.d.ts | 6 + .../_chatInput/role.d.ts.map | 1 + .../_applicationCommands/_chatInput/role.js | 3 + .../_chatInput/role.js.map | 1 + .../_chatInput/shared.d.ts | 26 + .../_chatInput/shared.d.ts.map | 1 + .../_applicationCommands/_chatInput/shared.js | 21 + .../_chatInput/shared.js.map | 1 + .../_chatInput/string.d.ts | 18 + .../_chatInput/string.d.ts.map | 1 + .../_applicationCommands/_chatInput/string.js | 3 + .../_chatInput/string.js.map | 1 + .../_chatInput/subcommand.d.ts | 12 + .../_chatInput/subcommand.d.ts.map | 1 + .../_chatInput/subcommand.js | 3 + .../_chatInput/subcommand.js.map | 1 + .../_chatInput/subcommandGroup.d.ts | 12 + .../_chatInput/subcommandGroup.d.ts.map | 1 + .../_chatInput/subcommandGroup.js | 3 + .../_chatInput/subcommandGroup.js.map | 1 + .../_applicationCommands/_chatInput/user.d.ts | 6 + .../_chatInput/user.d.ts.map | 1 + .../_applicationCommands/_chatInput/user.js | 3 + .../_chatInput/user.js.map | 1 + .../_applicationCommands/chatInput.d.ts | 71 + .../_applicationCommands/chatInput.d.ts.map | 1 + .../_applicationCommands/chatInput.js | 29 + .../_applicationCommands/chatInput.js.map | 1 + .../_applicationCommands/contextMenu.d.ts | 74 + .../_applicationCommands/contextMenu.d.ts.map | 1 + .../_applicationCommands/contextMenu.js | 3 + .../_applicationCommands/contextMenu.js.map | 1 + .../_applicationCommands/internals.d.ts | 9 + .../_applicationCommands/internals.d.ts.map | 1 + .../_applicationCommands/internals.js | 3 + .../_applicationCommands/internals.js.map | 1 + .../_applicationCommands/permissions.d.ts | 55 + .../_applicationCommands/permissions.d.ts.map | 1 + .../_applicationCommands/permissions.js | 20 + .../_applicationCommands/permissions.js.map | 1 + .../_interactions/applicationCommands.d.ts | 122 + .../applicationCommands.d.ts.map | 1 + .../v10/_interactions/applicationCommands.js | 30 + .../_interactions/applicationCommands.js.map | 1 + .../v10/_interactions/autocomplete.d.ts | 11 + .../v10/_interactions/autocomplete.d.ts.map | 1 + .../v10/_interactions/autocomplete.js | 3 + .../v10/_interactions/autocomplete.js.map | 1 + .../payloads/v10/_interactions/base.d.ts | 105 + .../payloads/v10/_interactions/base.d.ts.map | 1 + .../payloads/v10/_interactions/base.js | 3 + .../payloads/v10/_interactions/base.js.map | 1 + .../v10/_interactions/messageComponents.d.ts | 24 + .../_interactions/messageComponents.d.ts.map | 1 + .../v10/_interactions/messageComponents.js | 3 + .../_interactions/messageComponents.js.map | 1 + .../v10/_interactions/modalSubmit.d.ts | 33 + .../v10/_interactions/modalSubmit.d.ts.map | 1 + .../payloads/v10/_interactions/modalSubmit.js | 3 + .../v10/_interactions/modalSubmit.js.map | 1 + .../payloads/v10/_interactions/ping.d.ts | 4 + .../payloads/v10/_interactions/ping.d.ts.map | 1 + .../payloads/v10/_interactions/ping.js | 3 + .../payloads/v10/_interactions/ping.js.map | 1 + .../payloads/v10/_interactions/responses.d.ts | 104 + .../v10/_interactions/responses.d.ts.map | 1 + .../payloads/v10/_interactions/responses.js | 49 + .../v10/_interactions/responses.js.map | 1 + .../payloads/v10/application.d.ts | 129 + .../payloads/v10/application.d.ts.map | 1 + .../payloads/v10/application.js | 26 + .../payloads/v10/application.js.map | 1 + .../payloads/v10/auditLog.d.ts | 528 + .../payloads/v10/auditLog.d.ts.map | 1 + .../payloads/v10/auditLog.js | 66 + .../payloads/v10/auditLog.js.map | 1 + .../payloads/v10/channel.d.ts | 1297 +++ .../payloads/v10/channel.d.ts.map | 1 + .../discord-api-types/payloads/v10/channel.js | 273 + .../payloads/v10/channel.js.map | 1 + .../discord-api-types/payloads/v10/emoji.d.ts | 49 + .../payloads/v10/emoji.d.ts.map | 1 + .../discord-api-types/payloads/v10/emoji.js | 6 + .../payloads/v10/emoji.js.map | 1 + .../payloads/v10/gateway.d.ts | 365 + .../payloads/v10/gateway.d.ts.map | 1 + .../discord-api-types/payloads/v10/gateway.js | 78 + .../payloads/v10/gateway.js.map | 1 + .../discord-api-types/payloads/v10/guild.d.ts | 873 ++ .../payloads/v10/guild.d.ts.map | 1 + .../discord-api-types/payloads/v10/guild.js | 255 + .../payloads/v10/guild.js.map | 1 + .../payloads/v10/guildScheduledEvent.d.ts | 139 + .../payloads/v10/guildScheduledEvent.d.ts.map | 1 + .../payloads/v10/guildScheduledEvent.js | 33 + .../payloads/v10/guildScheduledEvent.js.map | 1 + .../discord-api-types/payloads/v10/index.d.ts | 20 + .../payloads/v10/index.d.ts.map | 1 + .../discord-api-types/payloads/v10/index.js | 36 + .../payloads/v10/index.js.map | 1 + .../discord-api-types/payloads/v10/index.mjs | 57 + .../payloads/v10/interactions.d.ts | 25 + .../payloads/v10/interactions.d.ts.map | 1 + .../payloads/v10/interactions.js | 24 + .../payloads/v10/interactions.js.map | 1 + .../payloads/v10/invite.d.ts | 109 + .../payloads/v10/invite.d.ts.map | 1 + .../discord-api-types/payloads/v10/invite.js | 15 + .../payloads/v10/invite.js.map | 1 + .../payloads/v10/oauth2.d.ts | 128 + .../payloads/v10/oauth2.d.ts.map | 1 + .../discord-api-types/payloads/v10/oauth2.js | 132 + .../payloads/v10/oauth2.js.map | 1 + .../payloads/v10/permissions.d.ts | 73 + .../payloads/v10/permissions.d.ts.map | 1 + .../payloads/v10/permissions.js | 6 + .../payloads/v10/permissions.js.map | 1 + .../payloads/v10/stageInstance.d.ts | 75 + .../payloads/v10/stageInstance.d.ts.map | 1 + .../payloads/v10/stageInstance.js | 18 + .../payloads/v10/stageInstance.js.map | 1 + .../payloads/v10/sticker.d.ts | 122 + .../payloads/v10/sticker.d.ts.map | 1 + .../discord-api-types/payloads/v10/sticker.js | 30 + .../payloads/v10/sticker.js.map | 1 + .../discord-api-types/payloads/v10/teams.d.ts | 63 + .../payloads/v10/teams.d.ts.map | 1 + .../discord-api-types/payloads/v10/teams.js | 15 + .../payloads/v10/teams.js.map | 1 + .../payloads/v10/template.d.ts | 63 + .../payloads/v10/template.d.ts.map | 1 + .../payloads/v10/template.js | 6 + .../payloads/v10/template.js.map | 1 + .../discord-api-types/payloads/v10/user.d.ts | 236 + .../payloads/v10/user.d.ts.map | 1 + .../discord-api-types/payloads/v10/user.js | 119 + .../payloads/v10/user.js.map | 1 + .../discord-api-types/payloads/v10/voice.d.ts | 90 + .../payloads/v10/voice.d.ts.map | 1 + .../discord-api-types/payloads/v10/voice.js | 6 + .../payloads/v10/voice.js.map | 1 + .../payloads/v10/webhook.d.ts | 77 + .../payloads/v10/webhook.d.ts.map | 1 + .../discord-api-types/payloads/v10/webhook.js | 22 + .../payloads/v10/webhook.js.map | 1 + .../payloads/v6/auditLog.d.ts | 414 + .../payloads/v6/auditLog.d.ts.map | 1 + .../discord-api-types/payloads/v6/auditLog.js | 57 + .../payloads/v6/auditLog.js.map | 1 + .../payloads/v6/channel.d.ts | 320 + .../payloads/v6/channel.d.ts.map | 1 + .../discord-api-types/payloads/v6/channel.js | 90 + .../payloads/v6/channel.js.map | 1 + .../discord-api-types/payloads/v6/emoji.d.ts | 25 + .../payloads/v6/emoji.d.ts.map | 1 + .../discord-api-types/payloads/v6/emoji.js | 6 + .../payloads/v6/emoji.js.map | 1 + .../payloads/v6/gateway.d.ts | 136 + .../payloads/v6/gateway.d.ts.map | 1 + .../discord-api-types/payloads/v6/gateway.js | 43 + .../payloads/v6/gateway.js.map | 1 + .../discord-api-types/payloads/v6/guild.d.ts | 293 + .../payloads/v6/guild.d.ts.map | 1 + .../discord-api-types/payloads/v6/guild.js | 109 + .../payloads/v6/guild.js.map | 1 + .../discord-api-types/payloads/v6/index.d.ts | 13 + .../payloads/v6/index.d.ts.map | 1 + .../discord-api-types/payloads/v6/index.js | 29 + .../payloads/v6/index.js.map | 1 + .../discord-api-types/payloads/v6/index.mjs | 30 + .../discord-api-types/payloads/v6/invite.d.ts | 39 + .../payloads/v6/invite.d.ts.map | 1 + .../discord-api-types/payloads/v6/invite.js | 15 + .../payloads/v6/invite.js.map | 1 + .../discord-api-types/payloads/v6/oauth2.d.ts | 27 + .../payloads/v6/oauth2.d.ts.map | 1 + .../discord-api-types/payloads/v6/oauth2.js | 6 + .../payloads/v6/oauth2.js.map | 1 + .../payloads/v6/permissions.d.ts | 73 + .../payloads/v6/permissions.d.ts.map | 1 + .../payloads/v6/permissions.js | 54 + .../payloads/v6/permissions.js.map | 1 + .../discord-api-types/payloads/v6/teams.d.ts | 33 + .../payloads/v6/teams.d.ts.map | 1 + .../discord-api-types/payloads/v6/teams.js | 16 + .../payloads/v6/teams.js.map | 1 + .../discord-api-types/payloads/v6/user.d.ts | 75 + .../payloads/v6/user.d.ts.map | 1 + .../discord-api-types/payloads/v6/user.js | 46 + .../discord-api-types/payloads/v6/user.js.map | 1 + .../discord-api-types/payloads/v6/voice.d.ts | 35 + .../payloads/v6/voice.d.ts.map | 1 + .../discord-api-types/payloads/v6/voice.js | 6 + .../payloads/v6/voice.js.map | 1 + .../payloads/v6/webhook.d.ts | 31 + .../payloads/v6/webhook.d.ts.map | 1 + .../discord-api-types/payloads/v6/webhook.js | 15 + .../payloads/v6/webhook.js.map | 1 + .../_chatInput/attachment.d.ts | 12 + .../_chatInput/attachment.d.ts.map | 1 + .../_chatInput/attachment.js | 3 + .../_chatInput/attachment.js.map | 1 + .../_applicationCommands/_chatInput/base.d.ts | 28 + .../_chatInput/base.d.ts.map | 1 + .../_applicationCommands/_chatInput/base.js | 3 + .../_chatInput/base.js.map | 1 + .../_chatInput/boolean.d.ts | 11 + .../_chatInput/boolean.d.ts.map | 1 + .../_chatInput/boolean.js | 3 + .../_chatInput/boolean.js.map | 1 + .../_chatInput/channel.d.ts | 15 + .../_chatInput/channel.d.ts.map | 1 + .../_chatInput/channel.js | 3 + .../_chatInput/channel.js.map | 1 + .../_chatInput/integer.d.ts | 27 + .../_chatInput/integer.d.ts.map | 1 + .../_chatInput/integer.js | 3 + .../_chatInput/integer.js.map | 1 + .../_chatInput/mentionable.d.ts | 12 + .../_chatInput/mentionable.d.ts.map | 1 + .../_chatInput/mentionable.js | 3 + .../_chatInput/mentionable.js.map | 1 + .../_chatInput/number.d.ts | 27 + .../_chatInput/number.d.ts.map | 1 + .../_applicationCommands/_chatInput/number.js | 3 + .../_chatInput/number.js.map | 1 + .../_applicationCommands/_chatInput/role.d.ts | 12 + .../_chatInput/role.d.ts.map | 1 + .../_applicationCommands/_chatInput/role.js | 3 + .../_chatInput/role.js.map | 1 + .../_chatInput/shared.d.ts | 26 + .../_chatInput/shared.d.ts.map | 1 + .../_applicationCommands/_chatInput/shared.js | 22 + .../_chatInput/shared.js.map | 1 + .../_chatInput/string.d.ts | 13 + .../_chatInput/string.d.ts.map | 1 + .../_applicationCommands/_chatInput/string.js | 3 + .../_chatInput/string.js.map | 1 + .../_chatInput/subcommand.d.ts | 18 + .../_chatInput/subcommand.d.ts.map | 1 + .../_chatInput/subcommand.js | 3 + .../_chatInput/subcommand.js.map | 1 + .../_chatInput/subcommandGroup.d.ts | 18 + .../_chatInput/subcommandGroup.d.ts.map | 1 + .../_chatInput/subcommandGroup.js | 3 + .../_chatInput/subcommandGroup.js.map | 1 + .../_applicationCommands/_chatInput/user.d.ts | 12 + .../_chatInput/user.d.ts.map | 1 + .../_applicationCommands/_chatInput/user.js | 3 + .../_chatInput/user.js.map | 1 + .../_applicationCommands/chatInput.d.ts | 82 + .../_applicationCommands/chatInput.d.ts.map | 1 + .../_applicationCommands/chatInput.js | 29 + .../_applicationCommands/chatInput.js.map | 1 + .../_applicationCommands/contextMenu.d.ts | 88 + .../_applicationCommands/contextMenu.d.ts.map | 1 + .../_applicationCommands/contextMenu.js | 3 + .../_applicationCommands/contextMenu.js.map | 1 + .../_applicationCommands/internals.d.ts | 11 + .../_applicationCommands/internals.d.ts.map | 1 + .../_applicationCommands/internals.js | 3 + .../_applicationCommands/internals.js.map | 1 + .../_applicationCommands/permissions.d.ts | 50 + .../_applicationCommands/permissions.d.ts.map | 1 + .../_applicationCommands/permissions.js | 13 + .../_applicationCommands/permissions.js.map | 1 + .../v8/_interactions/applicationCommands.d.ts | 103 + .../applicationCommands.d.ts.map | 1 + .../v8/_interactions/applicationCommands.js | 31 + .../_interactions/applicationCommands.js.map | 1 + .../v8/_interactions/autocomplete.d.ts | 16 + .../v8/_interactions/autocomplete.d.ts.map | 1 + .../payloads/v8/_interactions/autocomplete.js | 3 + .../v8/_interactions/autocomplete.js.map | 1 + .../payloads/v8/_interactions/base.d.ts | 113 + .../payloads/v8/_interactions/base.d.ts.map | 1 + .../payloads/v8/_interactions/base.js | 3 + .../payloads/v8/_interactions/base.js.map | 1 + .../v8/_interactions/messageComponents.d.ts | 43 + .../_interactions/messageComponents.d.ts.map | 1 + .../v8/_interactions/messageComponents.js | 3 + .../v8/_interactions/messageComponents.js.map | 1 + .../v8/_interactions/modalSubmit.d.ts | 45 + .../v8/_interactions/modalSubmit.d.ts.map | 1 + .../payloads/v8/_interactions/modalSubmit.js | 3 + .../v8/_interactions/modalSubmit.js.map | 1 + .../payloads/v8/_interactions/ping.d.ts | 7 + .../payloads/v8/_interactions/ping.d.ts.map | 1 + .../payloads/v8/_interactions/ping.js | 3 + .../payloads/v8/_interactions/ping.js.map | 1 + .../payloads/v8/_interactions/responses.d.ts | 133 + .../v8/_interactions/responses.d.ts.map | 1 + .../payloads/v8/_interactions/responses.js | 51 + .../v8/_interactions/responses.js.map | 1 + .../payloads/v8/application.d.ts | 132 + .../payloads/v8/application.d.ts.map | 1 + .../payloads/v8/application.js | 27 + .../payloads/v8/application.js.map | 1 + .../payloads/v8/auditLog.d.ts | 568 ++ .../payloads/v8/auditLog.d.ts.map | 1 + .../discord-api-types/payloads/v8/auditLog.js | 66 + .../payloads/v8/auditLog.js.map | 1 + .../payloads/v8/channel.d.ts | 1236 +++ .../payloads/v8/channel.d.ts.map | 1 + .../discord-api-types/payloads/v8/channel.js | 245 + .../payloads/v8/channel.js.map | 1 + .../discord-api-types/payloads/v8/emoji.d.ts | 51 + .../payloads/v8/emoji.d.ts.map | 1 + .../discord-api-types/payloads/v8/emoji.js | 6 + .../payloads/v8/emoji.js.map | 1 + .../payloads/v8/gateway.d.ts | 319 + .../payloads/v8/gateway.d.ts.map | 1 + .../discord-api-types/payloads/v8/gateway.js | 77 + .../payloads/v8/gateway.js.map | 1 + .../discord-api-types/payloads/v8/guild.d.ts | 977 ++ .../payloads/v8/guild.d.ts.map | 1 + .../discord-api-types/payloads/v8/guild.js | 254 + .../payloads/v8/guild.js.map | 1 + .../payloads/v8/guildScheduledEvent.d.ts | 157 + .../payloads/v8/guildScheduledEvent.d.ts.map | 1 + .../payloads/v8/guildScheduledEvent.js | 36 + .../payloads/v8/guildScheduledEvent.js.map | 1 + .../discord-api-types/payloads/v8/index.d.ts | 20 + .../payloads/v8/index.d.ts.map | 1 + .../discord-api-types/payloads/v8/index.js | 36 + .../payloads/v8/index.js.map | 1 + .../discord-api-types/payloads/v8/index.mjs | 51 + .../payloads/v8/interactions.d.ts | 28 + .../payloads/v8/interactions.d.ts.map | 1 + .../payloads/v8/interactions.js | 24 + .../payloads/v8/interactions.js.map | 1 + .../discord-api-types/payloads/v8/invite.d.ts | 111 + .../payloads/v8/invite.d.ts.map | 1 + .../discord-api-types/payloads/v8/invite.js | 16 + .../payloads/v8/invite.js.map | 1 + .../discord-api-types/payloads/v8/oauth2.d.ts | 117 + .../payloads/v8/oauth2.d.ts.map | 1 + .../discord-api-types/payloads/v8/oauth2.js | 121 + .../payloads/v8/oauth2.js.map | 1 + .../payloads/v8/permissions.d.ts | 75 + .../payloads/v8/permissions.d.ts.map | 1 + .../payloads/v8/permissions.js | 6 + .../payloads/v8/permissions.js.map | 1 + .../payloads/v8/stageInstance.d.ts | 73 + .../payloads/v8/stageInstance.d.ts.map | 1 + .../payloads/v8/stageInstance.js | 19 + .../payloads/v8/stageInstance.js.map | 1 + .../payloads/v8/sticker.d.ts | 127 + .../payloads/v8/sticker.d.ts.map | 1 + .../discord-api-types/payloads/v8/sticker.js | 32 + .../payloads/v8/sticker.js.map | 1 + .../discord-api-types/payloads/v8/teams.d.ts | 66 + .../payloads/v8/teams.d.ts.map | 1 + .../discord-api-types/payloads/v8/teams.js | 16 + .../payloads/v8/teams.js.map | 1 + .../payloads/v8/template.d.ts | 67 + .../payloads/v8/template.d.ts.map | 1 + .../discord-api-types/payloads/v8/template.js | 6 + .../payloads/v8/template.js.map | 1 + .../discord-api-types/payloads/v8/user.d.ts | 224 + .../payloads/v8/user.d.ts.map | 1 + .../discord-api-types/payloads/v8/user.js | 106 + .../discord-api-types/payloads/v8/user.js.map | 1 + .../discord-api-types/payloads/v8/voice.d.ts | 92 + .../payloads/v8/voice.d.ts.map | 1 + .../discord-api-types/payloads/v8/voice.js | 6 + .../payloads/v8/voice.js.map | 1 + .../payloads/v8/webhook.d.ts | 81 + .../payloads/v8/webhook.d.ts.map | 1 + .../discord-api-types/payloads/v8/webhook.js | 25 + .../payloads/v8/webhook.js.map | 1 + .../_chatInput/attachment.d.ts | 6 + .../_chatInput/attachment.d.ts.map | 1 + .../_chatInput/attachment.js | 3 + .../_chatInput/attachment.js.map | 1 + .../_applicationCommands/_chatInput/base.d.ts | 22 + .../_chatInput/base.d.ts.map | 1 + .../_applicationCommands/_chatInput/base.js | 3 + .../_chatInput/base.js.map | 1 + .../_chatInput/boolean.d.ts | 5 + .../_chatInput/boolean.d.ts.map | 1 + .../_chatInput/boolean.js | 3 + .../_chatInput/boolean.js.map | 1 + .../_chatInput/channel.d.ts | 9 + .../_chatInput/channel.d.ts.map | 1 + .../_chatInput/channel.js | 3 + .../_chatInput/channel.js.map | 1 + .../_chatInput/integer.d.ts | 18 + .../_chatInput/integer.d.ts.map | 1 + .../_chatInput/integer.js | 3 + .../_chatInput/integer.js.map | 1 + .../_chatInput/mentionable.d.ts | 6 + .../_chatInput/mentionable.d.ts.map | 1 + .../_chatInput/mentionable.js | 3 + .../_chatInput/mentionable.js.map | 1 + .../_chatInput/number.d.ts | 18 + .../_chatInput/number.d.ts.map | 1 + .../_applicationCommands/_chatInput/number.js | 3 + .../_chatInput/number.js.map | 1 + .../_applicationCommands/_chatInput/role.d.ts | 6 + .../_chatInput/role.d.ts.map | 1 + .../_applicationCommands/_chatInput/role.js | 3 + .../_chatInput/role.js.map | 1 + .../_chatInput/shared.d.ts | 26 + .../_chatInput/shared.d.ts.map | 1 + .../_applicationCommands/_chatInput/shared.js | 21 + .../_chatInput/shared.js.map | 1 + .../_chatInput/string.d.ts | 18 + .../_chatInput/string.d.ts.map | 1 + .../_applicationCommands/_chatInput/string.js | 3 + .../_chatInput/string.js.map | 1 + .../_chatInput/subcommand.d.ts | 12 + .../_chatInput/subcommand.d.ts.map | 1 + .../_chatInput/subcommand.js | 3 + .../_chatInput/subcommand.js.map | 1 + .../_chatInput/subcommandGroup.d.ts | 12 + .../_chatInput/subcommandGroup.d.ts.map | 1 + .../_chatInput/subcommandGroup.js | 3 + .../_chatInput/subcommandGroup.js.map | 1 + .../_applicationCommands/_chatInput/user.d.ts | 6 + .../_chatInput/user.d.ts.map | 1 + .../_applicationCommands/_chatInput/user.js | 3 + .../_chatInput/user.js.map | 1 + .../_applicationCommands/chatInput.d.ts | 71 + .../_applicationCommands/chatInput.d.ts.map | 1 + .../_applicationCommands/chatInput.js | 29 + .../_applicationCommands/chatInput.js.map | 1 + .../_applicationCommands/contextMenu.d.ts | 74 + .../_applicationCommands/contextMenu.d.ts.map | 1 + .../_applicationCommands/contextMenu.js | 3 + .../_applicationCommands/contextMenu.js.map | 1 + .../_applicationCommands/internals.d.ts | 9 + .../_applicationCommands/internals.d.ts.map | 1 + .../_applicationCommands/internals.js | 3 + .../_applicationCommands/internals.js.map | 1 + .../_applicationCommands/permissions.d.ts | 55 + .../_applicationCommands/permissions.d.ts.map | 1 + .../_applicationCommands/permissions.js | 20 + .../_applicationCommands/permissions.js.map | 1 + .../v9/_interactions/applicationCommands.d.ts | 122 + .../applicationCommands.d.ts.map | 1 + .../v9/_interactions/applicationCommands.js | 30 + .../_interactions/applicationCommands.js.map | 1 + .../v9/_interactions/autocomplete.d.ts | 11 + .../v9/_interactions/autocomplete.d.ts.map | 1 + .../payloads/v9/_interactions/autocomplete.js | 3 + .../v9/_interactions/autocomplete.js.map | 1 + .../payloads/v9/_interactions/base.d.ts | 105 + .../payloads/v9/_interactions/base.d.ts.map | 1 + .../payloads/v9/_interactions/base.js | 3 + .../payloads/v9/_interactions/base.js.map | 1 + .../v9/_interactions/messageComponents.d.ts | 24 + .../_interactions/messageComponents.d.ts.map | 1 + .../v9/_interactions/messageComponents.js | 3 + .../v9/_interactions/messageComponents.js.map | 1 + .../v9/_interactions/modalSubmit.d.ts | 33 + .../v9/_interactions/modalSubmit.d.ts.map | 1 + .../payloads/v9/_interactions/modalSubmit.js | 3 + .../v9/_interactions/modalSubmit.js.map | 1 + .../payloads/v9/_interactions/ping.d.ts | 4 + .../payloads/v9/_interactions/ping.d.ts.map | 1 + .../payloads/v9/_interactions/ping.js | 3 + .../payloads/v9/_interactions/ping.js.map | 1 + .../payloads/v9/_interactions/responses.d.ts | 104 + .../v9/_interactions/responses.d.ts.map | 1 + .../payloads/v9/_interactions/responses.js | 49 + .../v9/_interactions/responses.js.map | 1 + .../payloads/v9/application.d.ts | 129 + .../payloads/v9/application.d.ts.map | 1 + .../payloads/v9/application.js | 26 + .../payloads/v9/application.js.map | 1 + .../payloads/v9/auditLog.d.ts | 528 + .../payloads/v9/auditLog.d.ts.map | 1 + .../discord-api-types/payloads/v9/auditLog.js | 66 + .../payloads/v9/auditLog.js.map | 1 + .../payloads/v9/channel.d.ts | 1301 +++ .../payloads/v9/channel.d.ts.map | 1 + .../discord-api-types/payloads/v9/channel.js | 273 + .../payloads/v9/channel.js.map | 1 + .../discord-api-types/payloads/v9/emoji.d.ts | 49 + .../payloads/v9/emoji.d.ts.map | 1 + .../discord-api-types/payloads/v9/emoji.js | 6 + .../payloads/v9/emoji.js.map | 1 + .../payloads/v9/gateway.d.ts | 356 + .../payloads/v9/gateway.d.ts.map | 1 + .../discord-api-types/payloads/v9/gateway.js | 78 + .../payloads/v9/gateway.js.map | 1 + .../discord-api-types/payloads/v9/guild.d.ts | 873 ++ .../payloads/v9/guild.d.ts.map | 1 + .../discord-api-types/payloads/v9/guild.js | 255 + .../payloads/v9/guild.js.map | 1 + .../payloads/v9/guildScheduledEvent.d.ts | 139 + .../payloads/v9/guildScheduledEvent.d.ts.map | 1 + .../payloads/v9/guildScheduledEvent.js | 33 + .../payloads/v9/guildScheduledEvent.js.map | 1 + .../discord-api-types/payloads/v9/index.d.ts | 20 + .../payloads/v9/index.d.ts.map | 1 + .../discord-api-types/payloads/v9/index.js | 36 + .../payloads/v9/index.js.map | 1 + .../discord-api-types/payloads/v9/index.mjs | 57 + .../payloads/v9/interactions.d.ts | 25 + .../payloads/v9/interactions.d.ts.map | 1 + .../payloads/v9/interactions.js | 24 + .../payloads/v9/interactions.js.map | 1 + .../discord-api-types/payloads/v9/invite.d.ts | 109 + .../payloads/v9/invite.d.ts.map | 1 + .../discord-api-types/payloads/v9/invite.js | 15 + .../payloads/v9/invite.js.map | 1 + .../discord-api-types/payloads/v9/oauth2.d.ts | 128 + .../payloads/v9/oauth2.d.ts.map | 1 + .../discord-api-types/payloads/v9/oauth2.js | 132 + .../payloads/v9/oauth2.js.map | 1 + .../payloads/v9/permissions.d.ts | 73 + .../payloads/v9/permissions.d.ts.map | 1 + .../payloads/v9/permissions.js | 6 + .../payloads/v9/permissions.js.map | 1 + .../payloads/v9/stageInstance.d.ts | 77 + .../payloads/v9/stageInstance.d.ts.map | 1 + .../payloads/v9/stageInstance.js | 19 + .../payloads/v9/stageInstance.js.map | 1 + .../payloads/v9/sticker.d.ts | 122 + .../payloads/v9/sticker.d.ts.map | 1 + .../discord-api-types/payloads/v9/sticker.js | 30 + .../payloads/v9/sticker.js.map | 1 + .../discord-api-types/payloads/v9/teams.d.ts | 63 + .../payloads/v9/teams.d.ts.map | 1 + .../discord-api-types/payloads/v9/teams.js | 15 + .../payloads/v9/teams.js.map | 1 + .../payloads/v9/template.d.ts | 63 + .../payloads/v9/template.d.ts.map | 1 + .../discord-api-types/payloads/v9/template.js | 6 + .../payloads/v9/template.js.map | 1 + .../discord-api-types/payloads/v9/user.d.ts | 236 + .../payloads/v9/user.d.ts.map | 1 + .../discord-api-types/payloads/v9/user.js | 119 + .../discord-api-types/payloads/v9/user.js.map | 1 + .../discord-api-types/payloads/v9/voice.d.ts | 90 + .../payloads/v9/voice.d.ts.map | 1 + .../discord-api-types/payloads/v9/voice.js | 6 + .../payloads/v9/voice.js.map | 1 + .../payloads/v9/webhook.d.ts | 77 + .../payloads/v9/webhook.d.ts.map | 1 + .../discord-api-types/payloads/v9/webhook.js | 22 + .../payloads/v9/webhook.js.map | 1 + .../discord-api-types/rest/common.d.ts | 214 + .../discord-api-types/rest/common.d.ts.map | 1 + .../discord-api-types/rest/common.js | 218 + .../discord-api-types/rest/common.js.map | 1 + .../discord-api-types/rest/index.d.ts | 2 + .../discord-api-types/rest/index.d.ts.map | 1 + .../discord-api-types/rest/index.js | 20 + .../discord-api-types/rest/index.js.map | 1 + .../discord-api-types/rest/index.mjs | 12 + .../discord-api-types/rest/v10/auditLog.d.ts | 27 + .../rest/v10/auditLog.d.ts.map | 1 + .../discord-api-types/rest/v10/auditLog.js | 3 + .../rest/v10/auditLog.js.map | 1 + .../discord-api-types/rest/v10/channel.d.ts | 583 ++ .../rest/v10/channel.d.ts.map | 1 + .../discord-api-types/rest/v10/channel.js | 3 + .../discord-api-types/rest/v10/channel.js.map | 1 + .../discord-api-types/rest/v10/emoji.d.ts | 56 + .../discord-api-types/rest/v10/emoji.d.ts.map | 1 + .../discord-api-types/rest/v10/emoji.js | 3 + .../discord-api-types/rest/v10/emoji.js.map | 1 + .../discord-api-types/rest/v10/gateway.d.ts | 10 + .../rest/v10/gateway.d.ts.map | 1 + .../discord-api-types/rest/v10/gateway.js | 3 + .../discord-api-types/rest/v10/gateway.js.map | 1 + .../discord-api-types/rest/v10/guild.d.ts | 783 ++ .../discord-api-types/rest/v10/guild.d.ts.map | 1 + .../discord-api-types/rest/v10/guild.js | 3 + .../discord-api-types/rest/v10/guild.js.map | 1 + .../rest/v10/guildScheduledEvent.d.ts | 127 + .../rest/v10/guildScheduledEvent.d.ts.map | 1 + .../rest/v10/guildScheduledEvent.js | 3 + .../rest/v10/guildScheduledEvent.js.map | 1 + .../discord-api-types/rest/v10/index.d.ts | 762 ++ .../discord-api-types/rest/v10/index.d.ts.map | 1 + .../discord-api-types/rest/v10/index.js | 981 ++ .../discord-api-types/rest/v10/index.js.map | 1 + .../discord-api-types/rest/v10/index.mjs | 12 + .../rest/v10/interactions.d.ts | 179 + .../rest/v10/interactions.d.ts.map | 1 + .../rest/v10/interactions.js | 3 + .../rest/v10/interactions.js.map | 1 + .../discord-api-types/rest/v10/invite.d.ts | 25 + .../rest/v10/invite.d.ts.map | 1 + .../discord-api-types/rest/v10/invite.js | 3 + .../discord-api-types/rest/v10/invite.js.map | 1 + .../discord-api-types/rest/v10/oauth2.d.ts | 173 + .../rest/v10/oauth2.d.ts.map | 1 + .../discord-api-types/rest/v10/oauth2.js | 3 + .../discord-api-types/rest/v10/oauth2.js.map | 1 + .../rest/v10/stageInstance.d.ts | 56 + .../rest/v10/stageInstance.d.ts.map | 1 + .../rest/v10/stageInstance.js | 3 + .../rest/v10/stageInstance.js.map | 1 + .../discord-api-types/rest/v10/sticker.d.ts | 71 + .../rest/v10/sticker.d.ts.map | 1 + .../discord-api-types/rest/v10/sticker.js | 3 + .../discord-api-types/rest/v10/sticker.js.map | 1 + .../discord-api-types/rest/v10/template.d.ts | 63 + .../rest/v10/template.d.ts.map | 1 + .../discord-api-types/rest/v10/template.js | 3 + .../rest/v10/template.js.map | 1 + .../discord-api-types/rest/v10/user.d.ts | 85 + .../discord-api-types/rest/v10/user.d.ts.map | 1 + .../discord-api-types/rest/v10/user.js | 3 + .../discord-api-types/rest/v10/user.js.map | 1 + .../discord-api-types/rest/v10/voice.d.ts | 6 + .../discord-api-types/rest/v10/voice.d.ts.map | 1 + .../discord-api-types/rest/v10/voice.js | 3 + .../discord-api-types/rest/v10/voice.js.map | 1 + .../discord-api-types/rest/v10/webhook.d.ts | 235 + .../rest/v10/webhook.d.ts.map | 1 + .../discord-api-types/rest/v10/webhook.js | 3 + .../discord-api-types/rest/v10/webhook.js.map | 1 + .../discord-api-types/rest/v6/auditLog.d.ts | 16 + .../rest/v6/auditLog.d.ts.map | 1 + .../discord-api-types/rest/v6/auditLog.js | 3 + .../discord-api-types/rest/v6/auditLog.js.map | 1 + .../discord-api-types/rest/v6/channel.d.ts | 252 + .../rest/v6/channel.d.ts.map | 1 + .../discord-api-types/rest/v6/channel.js | 14 + .../discord-api-types/rest/v6/channel.js.map | 1 + .../discord-api-types/rest/v6/emoji.d.ts | 45 + .../discord-api-types/rest/v6/emoji.d.ts.map | 1 + .../discord-api-types/rest/v6/emoji.js | 3 + .../discord-api-types/rest/v6/emoji.js.map | 1 + .../discord-api-types/rest/v6/gateway.d.ts | 12 + .../rest/v6/gateway.d.ts.map | 1 + .../discord-api-types/rest/v6/gateway.js | 3 + .../discord-api-types/rest/v6/gateway.js.map | 1 + .../discord-api-types/rest/v6/guild.d.ts | 426 + .../discord-api-types/rest/v6/guild.d.ts.map | 1 + .../discord-api-types/rest/v6/guild.js | 3 + .../discord-api-types/rest/v6/guild.js.map | 1 + .../discord-api-types/rest/v6/index.d.ts | 348 + .../discord-api-types/rest/v6/index.d.ts.map | 1 + .../discord-api-types/rest/v6/index.js | 480 + .../discord-api-types/rest/v6/index.js.map | 1 + .../discord-api-types/rest/v6/index.mjs | 8 + .../discord-api-types/rest/v6/invite.d.ts | 18 + .../discord-api-types/rest/v6/invite.d.ts.map | 1 + .../discord-api-types/rest/v6/invite.js | 3 + .../discord-api-types/rest/v6/invite.js.map | 1 + .../discord-api-types/rest/v6/oauth2.d.ts | 164 + .../discord-api-types/rest/v6/oauth2.d.ts.map | 1 + .../discord-api-types/rest/v6/oauth2.js | 3 + .../discord-api-types/rest/v6/oauth2.js.map | 1 + .../discord-api-types/rest/v6/user.d.ts | 73 + .../discord-api-types/rest/v6/user.d.ts.map | 1 + .../discord-api-types/rest/v6/user.js | 3 + .../discord-api-types/rest/v6/user.js.map | 1 + .../discord-api-types/rest/v6/voice.d.ts | 7 + .../discord-api-types/rest/v6/voice.d.ts.map | 1 + .../discord-api-types/rest/v6/voice.js | 3 + .../discord-api-types/rest/v6/voice.js.map | 1 + .../discord-api-types/rest/v6/webhook.d.ts | 126 + .../rest/v6/webhook.d.ts.map | 1 + .../discord-api-types/rest/v6/webhook.js | 3 + .../discord-api-types/rest/v6/webhook.js.map | 1 + .../discord-api-types/rest/v8/auditLog.d.ts | 31 + .../rest/v8/auditLog.d.ts.map | 1 + .../discord-api-types/rest/v8/auditLog.js | 3 + .../discord-api-types/rest/v8/auditLog.js.map | 1 + .../discord-api-types/rest/v8/channel.d.ts | 518 + .../rest/v8/channel.d.ts.map | 1 + .../discord-api-types/rest/v8/channel.js | 3 + .../discord-api-types/rest/v8/channel.js.map | 1 + .../discord-api-types/rest/v8/emoji.d.ts | 63 + .../discord-api-types/rest/v8/emoji.d.ts.map | 1 + .../discord-api-types/rest/v8/emoji.js | 3 + .../discord-api-types/rest/v8/emoji.js.map | 1 + .../discord-api-types/rest/v8/gateway.d.ts | 12 + .../rest/v8/gateway.d.ts.map | 1 + .../discord-api-types/rest/v8/gateway.js | 3 + .../discord-api-types/rest/v8/gateway.js.map | 1 + .../discord-api-types/rest/v8/guild.d.ts | 826 ++ .../discord-api-types/rest/v8/guild.d.ts.map | 1 + .../discord-api-types/rest/v8/guild.js | 3 + .../discord-api-types/rest/v8/guild.js.map | 1 + .../rest/v8/guildScheduledEvent.d.ts | 130 + .../rest/v8/guildScheduledEvent.d.ts.map | 1 + .../rest/v8/guildScheduledEvent.js | 3 + .../rest/v8/guildScheduledEvent.js.map | 1 + .../discord-api-types/rest/v8/index.d.ts | 540 ++ .../discord-api-types/rest/v8/index.d.ts.map | 1 + .../discord-api-types/rest/v8/index.js | 729 ++ .../discord-api-types/rest/v8/index.js.map | 1 + .../discord-api-types/rest/v8/index.mjs | 9 + .../rest/v8/interactions.d.ts | 218 + .../rest/v8/interactions.d.ts.map | 1 + .../discord-api-types/rest/v8/interactions.js | 3 + .../rest/v8/interactions.js.map | 1 + .../discord-api-types/rest/v8/invite.d.ts | 30 + .../discord-api-types/rest/v8/invite.d.ts.map | 1 + .../discord-api-types/rest/v8/invite.js | 3 + .../discord-api-types/rest/v8/invite.js.map | 1 + .../discord-api-types/rest/v8/oauth2.d.ts | 199 + .../discord-api-types/rest/v8/oauth2.d.ts.map | 1 + .../discord-api-types/rest/v8/oauth2.js | 3 + .../discord-api-types/rest/v8/oauth2.js.map | 1 + .../rest/v8/stageInstance.d.ts | 58 + .../rest/v8/stageInstance.d.ts.map | 1 + .../rest/v8/stageInstance.js | 3 + .../rest/v8/stageInstance.js.map | 1 + .../discord-api-types/rest/v8/sticker.d.ts | 71 + .../rest/v8/sticker.d.ts.map | 1 + .../discord-api-types/rest/v8/sticker.js | 3 + .../discord-api-types/rest/v8/sticker.js.map | 1 + .../discord-api-types/rest/v8/template.d.ts | 73 + .../rest/v8/template.d.ts.map | 1 + .../discord-api-types/rest/v8/template.js | 3 + .../discord-api-types/rest/v8/template.js.map | 1 + .../discord-api-types/rest/v8/user.d.ts | 99 + .../discord-api-types/rest/v8/user.d.ts.map | 1 + .../discord-api-types/rest/v8/user.js | 3 + .../discord-api-types/rest/v8/user.js.map | 1 + .../discord-api-types/rest/v8/voice.d.ts | 7 + .../discord-api-types/rest/v8/voice.d.ts.map | 1 + .../discord-api-types/rest/v8/voice.js | 3 + .../discord-api-types/rest/v8/voice.js.map | 1 + .../discord-api-types/rest/v8/webhook.d.ts | 255 + .../rest/v8/webhook.d.ts.map | 1 + .../discord-api-types/rest/v8/webhook.js | 3 + .../discord-api-types/rest/v8/webhook.js.map | 1 + .../discord-api-types/rest/v9/auditLog.d.ts | 27 + .../rest/v9/auditLog.d.ts.map | 1 + .../discord-api-types/rest/v9/auditLog.js | 3 + .../discord-api-types/rest/v9/auditLog.js.map | 1 + .../discord-api-types/rest/v9/channel.d.ts | 603 ++ .../rest/v9/channel.d.ts.map | 1 + .../discord-api-types/rest/v9/channel.js | 3 + .../discord-api-types/rest/v9/channel.js.map | 1 + .../discord-api-types/rest/v9/emoji.d.ts | 56 + .../discord-api-types/rest/v9/emoji.d.ts.map | 1 + .../discord-api-types/rest/v9/emoji.js | 3 + .../discord-api-types/rest/v9/emoji.js.map | 1 + .../discord-api-types/rest/v9/gateway.d.ts | 10 + .../rest/v9/gateway.d.ts.map | 1 + .../discord-api-types/rest/v9/gateway.js | 3 + .../discord-api-types/rest/v9/gateway.js.map | 1 + .../discord-api-types/rest/v9/guild.d.ts | 789 ++ .../discord-api-types/rest/v9/guild.d.ts.map | 1 + .../discord-api-types/rest/v9/guild.js | 3 + .../discord-api-types/rest/v9/guild.js.map | 1 + .../rest/v9/guildScheduledEvent.d.ts | 127 + .../rest/v9/guildScheduledEvent.d.ts.map | 1 + .../rest/v9/guildScheduledEvent.js | 3 + .../rest/v9/guildScheduledEvent.js.map | 1 + .../discord-api-types/rest/v9/index.d.ts | 764 ++ .../discord-api-types/rest/v9/index.d.ts.map | 1 + .../discord-api-types/rest/v9/index.js | 988 ++ .../discord-api-types/rest/v9/index.js.map | 1 + .../discord-api-types/rest/v9/index.mjs | 12 + .../rest/v9/interactions.d.ts | 179 + .../rest/v9/interactions.d.ts.map | 1 + .../discord-api-types/rest/v9/interactions.js | 3 + .../rest/v9/interactions.js.map | 1 + .../discord-api-types/rest/v9/invite.d.ts | 25 + .../discord-api-types/rest/v9/invite.d.ts.map | 1 + .../discord-api-types/rest/v9/invite.js | 3 + .../discord-api-types/rest/v9/invite.js.map | 1 + .../discord-api-types/rest/v9/oauth2.d.ts | 173 + .../discord-api-types/rest/v9/oauth2.d.ts.map | 1 + .../discord-api-types/rest/v9/oauth2.js | 3 + .../discord-api-types/rest/v9/oauth2.js.map | 1 + .../rest/v9/stageInstance.d.ts | 56 + .../rest/v9/stageInstance.d.ts.map | 1 + .../rest/v9/stageInstance.js | 3 + .../rest/v9/stageInstance.js.map | 1 + .../discord-api-types/rest/v9/sticker.d.ts | 71 + .../rest/v9/sticker.d.ts.map | 1 + .../discord-api-types/rest/v9/sticker.js | 3 + .../discord-api-types/rest/v9/sticker.js.map | 1 + .../discord-api-types/rest/v9/template.d.ts | 63 + .../rest/v9/template.d.ts.map | 1 + .../discord-api-types/rest/v9/template.js | 3 + .../discord-api-types/rest/v9/template.js.map | 1 + .../discord-api-types/rest/v9/user.d.ts | 85 + .../discord-api-types/rest/v9/user.d.ts.map | 1 + .../discord-api-types/rest/v9/user.js | 3 + .../discord-api-types/rest/v9/user.js.map | 1 + .../discord-api-types/rest/v9/voice.d.ts | 6 + .../discord-api-types/rest/v9/voice.d.ts.map | 1 + .../discord-api-types/rest/v9/voice.js | 3 + .../discord-api-types/rest/v9/voice.js.map | 1 + .../discord-api-types/rest/v9/webhook.d.ts | 235 + .../rest/v9/webhook.d.ts.map | 1 + .../discord-api-types/rest/v9/webhook.js | 3 + .../discord-api-types/rest/v9/webhook.js.map | 1 + .../discord-api-types/rpc/common.d.ts | 33 + .../discord-api-types/rpc/common.d.ts.map | 1 + .../discord-api-types/rpc/common.js | 38 + .../discord-api-types/rpc/common.js.map | 1 + .../discord-api-types/rpc/index.d.ts | 2 + .../discord-api-types/rpc/index.d.ts.map | 1 + .../discord-api-types/rpc/index.js | 20 + .../discord-api-types/rpc/index.js.map | 1 + .../discord-api-types/rpc/index.mjs | 5 + .../discord-api-types/rpc/v10.d.ts | 2 + .../discord-api-types/rpc/v10.d.ts.map | 1 + .../node_modules/discord-api-types/rpc/v10.js | 18 + .../discord-api-types/rpc/v10.js.map | 1 + .../discord-api-types/rpc/v10.mjs | 5 + .../discord-api-types/rpc/v8.d.ts | 2 + .../discord-api-types/rpc/v8.d.ts.map | 1 + .../node_modules/discord-api-types/rpc/v8.js | 18 + .../discord-api-types/rpc/v8.js.map | 1 + .../node_modules/discord-api-types/rpc/v8.mjs | 5 + .../discord-api-types/rpc/v9.d.ts | 2 + .../discord-api-types/rpc/v9.d.ts.map | 1 + .../node_modules/discord-api-types/rpc/v9.js | 18 + .../discord-api-types/rpc/v9.js.map | 1 + .../node_modules/discord-api-types/rpc/v9.mjs | 5 + .../discord-api-types/utils/index.d.ts | 2 + .../discord-api-types/utils/index.d.ts.map | 1 + .../discord-api-types/utils/index.js | 20 + .../discord-api-types/utils/index.js.map | 1 + .../discord-api-types/utils/index.mjs | 16 + .../discord-api-types/utils/internals.d.ts | 33 + .../utils/internals.d.ts.map | 1 + .../discord-api-types/utils/internals.js | 3 + .../discord-api-types/utils/internals.js.map | 1 + .../discord-api-types/utils/v10.d.ts | 80 + .../discord-api-types/utils/v10.d.ts.map | 1 + .../discord-api-types/utils/v10.js | 128 + .../discord-api-types/utils/v10.js.map | 1 + .../discord-api-types/utils/v10.mjs | 16 + .../discord-api-types/utils/v8.d.ts | 58 + .../discord-api-types/utils/v8.d.ts.map | 1 + .../discord-api-types/utils/v8.js | 89 + .../discord-api-types/utils/v8.js.map | 1 + .../discord-api-types/utils/v8.mjs | 11 + .../discord-api-types/utils/v9.d.ts | 80 + .../discord-api-types/utils/v9.d.ts.map | 1 + .../discord-api-types/utils/v9.js | 128 + .../discord-api-types/utils/v9.js.map | 1 + .../discord-api-types/utils/v9.mjs | 16 + .../node_modules/discord-api-types/v10.d.ts | 7 + .../discord-api-types/v10.d.ts.map | 1 + .../node_modules/discord-api-types/v10.js | 24 + .../node_modules/discord-api-types/v10.js.map | 1 + .../node_modules/discord-api-types/v10.mjs | 75 + .../node_modules/discord-api-types/v6.d.ts | 5 + .../discord-api-types/v6.d.ts.map | 1 + .../node_modules/discord-api-types/v6.js | 21 + .../node_modules/discord-api-types/v6.js.map | 1 + .../node_modules/discord-api-types/v6.mjs | 43 + .../node_modules/discord-api-types/v8.d.ts | 7 + .../discord-api-types/v8.d.ts.map | 1 + .../node_modules/discord-api-types/v8.js | 24 + .../node_modules/discord-api-types/v8.js.map | 1 + .../node_modules/discord-api-types/v8.mjs | 66 + .../node_modules/discord-api-types/v9.d.ts | 7 + .../discord-api-types/v9.d.ts.map | 1 + .../node_modules/discord-api-types/v9.js | 24 + .../node_modules/discord-api-types/v9.js.map | 1 + .../node_modules/discord-api-types/v9.mjs | 75 + .../discord-api-types/voice/index.d.ts | 2 + .../discord-api-types/voice/index.d.ts.map | 1 + .../discord-api-types/voice/index.js | 20 + .../discord-api-types/voice/index.js.map | 1 + .../discord-api-types/voice/index.mjs | 6 + .../discord-api-types/voice/v4.d.ts | 108 + .../discord-api-types/voice/v4.d.ts.map | 1 + .../discord-api-types/voice/v4.js | 113 + .../discord-api-types/voice/v4.js.map | 1 + .../discord-api-types/voice/v4.mjs | 6 + node_modules/@discordjs/builders/package.json | 81 + .../@discordjs/collection/CHANGELOG.md | 61 + node_modules/@discordjs/collection/LICENSE | 191 + node_modules/@discordjs/collection/README.md | 46 + .../@discordjs/collection/dist/index.d.ts | 430 + .../@discordjs/collection/dist/index.js | 349 + .../@discordjs/collection/dist/index.js.map | 1 + .../@discordjs/collection/dist/index.mjs | 326 + .../@discordjs/collection/dist/index.mjs.map | 1 + .../@discordjs/collection/package.json | 75 + .../@sapphire/async-queue/CHANGELOG.md | 109 + node_modules/@sapphire/async-queue/README.md | 113 + .../@sapphire/async-queue/dist/index.d.ts | 2 + .../async-queue/dist/index.global.js | 61 + .../async-queue/dist/index.global.js.map | 1 + .../@sapphire/async-queue/dist/index.js | 64 + .../@sapphire/async-queue/dist/index.js.map | 1 + .../@sapphire/async-queue/dist/index.mjs | 39 + .../@sapphire/async-queue/dist/index.mjs.map | 1 + .../async-queue/dist/lib/AsyncQueue.d.ts | 40 + .../@sapphire/async-queue/package.json | 61 + .../@sapphire/shapeshift/CHANGELOG.md | 216 + node_modules/@sapphire/shapeshift/LICENSE.md | 24 + node_modules/@sapphire/shapeshift/README.md | 834 ++ .../@sapphire/shapeshift/dist/index.d.ts | 686 ++ .../@sapphire/shapeshift/dist/index.global.js | 2983 ++++++ .../shapeshift/dist/index.global.js.map | 1 + .../@sapphire/shapeshift/dist/index.js | 2187 +++++ .../@sapphire/shapeshift/dist/index.js.map | 1 + .../@sapphire/shapeshift/dist/index.mjs | 2144 +++++ .../@sapphire/shapeshift/dist/index.mjs.map | 1 + .../@sapphire/shapeshift/package.json | 127 + node_modules/@types/node-fetch/LICENSE | 21 + node_modules/@types/node-fetch/README.md | 16 + node_modules/@types/node-fetch/externals.d.ts | 21 + node_modules/@types/node-fetch/index.d.ts | 224 + .../node-fetch/node_modules/form-data/License | 19 + .../node_modules/form-data/README.md.bak | 356 + .../node_modules/form-data/Readme.md | 356 + .../node_modules/form-data/index.d.ts | 62 + .../node_modules/form-data/lib/browser.js | 2 + .../node_modules/form-data/lib/form_data.js | 498 + .../node_modules/form-data/lib/populate.js | 10 + .../node_modules/form-data/package.json | 68 + node_modules/@types/node-fetch/package.json | 83 + node_modules/@types/node/LICENSE | 21 + node_modules/@types/node/README.md | 16 + node_modules/@types/node/assert.d.ts | 911 ++ node_modules/@types/node/assert/strict.d.ts | 8 + node_modules/@types/node/async_hooks.d.ts | 501 + node_modules/@types/node/buffer.d.ts | 2238 +++++ node_modules/@types/node/child_process.d.ts | 1369 +++ node_modules/@types/node/cluster.d.ts | 410 + node_modules/@types/node/console.d.ts | 412 + node_modules/@types/node/constants.d.ts | 18 + node_modules/@types/node/crypto.d.ts | 3964 ++++++++ node_modules/@types/node/dgram.d.ts | 545 ++ .../@types/node/diagnostics_channel.d.ts | 153 + node_modules/@types/node/dns.d.ts | 659 ++ node_modules/@types/node/dns/promises.d.ts | 370 + node_modules/@types/node/domain.d.ts | 170 + node_modules/@types/node/events.d.ts | 641 ++ node_modules/@types/node/fs.d.ts | 3858 ++++++++ node_modules/@types/node/fs/promises.d.ts | 1114 +++ node_modules/@types/node/globals.d.ts | 294 + node_modules/@types/node/globals.global.d.ts | 1 + node_modules/@types/node/http.d.ts | 1452 +++ node_modules/@types/node/http2.d.ts | 2106 ++++ node_modules/@types/node/https.d.ts | 401 + node_modules/@types/node/index.d.ts | 131 + node_modules/@types/node/inspector.d.ts | 2741 ++++++ node_modules/@types/node/module.d.ts | 114 + node_modules/@types/node/net.d.ts | 816 ++ node_modules/@types/node/os.d.ts | 456 + node_modules/@types/node/package.json | 225 + node_modules/@types/node/path.d.ts | 180 + node_modules/@types/node/perf_hooks.d.ts | 571 ++ node_modules/@types/node/process.d.ts | 1482 +++ node_modules/@types/node/punycode.d.ts | 117 + node_modules/@types/node/querystring.d.ts | 131 + node_modules/@types/node/readline.d.ts | 650 ++ node_modules/@types/node/repl.d.ts | 424 + node_modules/@types/node/stream.d.ts | 1339 +++ .../@types/node/stream/consumers.d.ts | 24 + node_modules/@types/node/stream/promises.d.ts | 42 + node_modules/@types/node/stream/web.d.ts | 330 + node_modules/@types/node/string_decoder.d.ts | 67 + node_modules/@types/node/test.d.ts | 176 + node_modules/@types/node/timers.d.ts | 94 + node_modules/@types/node/timers/promises.d.ts | 68 + node_modules/@types/node/tls.d.ts | 1028 ++ node_modules/@types/node/trace_events.d.ts | 171 + node_modules/@types/node/tty.d.ts | 206 + node_modules/@types/node/url.d.ts | 897 ++ node_modules/@types/node/util.d.ts | 1605 ++++ node_modules/@types/node/v8.d.ts | 396 + node_modules/@types/node/vm.d.ts | 509 + node_modules/@types/node/wasi.d.ts | 158 + node_modules/@types/node/worker_threads.d.ts | 646 ++ node_modules/@types/node/zlib.d.ts | 517 + .../@types/webidl-conversions/LICENSE | 21 + .../@types/webidl-conversions/README.md | 16 + .../@types/webidl-conversions/index.d.ts | 103 + .../@types/webidl-conversions/package.json | 25 + node_modules/@types/whatwg-url/LICENSE | 21 + node_modules/@types/whatwg-url/README.md | 16 + .../@types/whatwg-url/dist/URL-impl.d.ts | 23 + node_modules/@types/whatwg-url/dist/URL.d.ts | 76 + .../whatwg-url/dist/URLSearchParams-impl.d.ts | 23 + .../whatwg-url/dist/URLSearchParams.d.ts | 91 + node_modules/@types/whatwg-url/index.d.ts | 162 + node_modules/@types/whatwg-url/package.json | 33 + .../@types/whatwg-url/webidl2js-wrapper.d.ts | 4 + node_modules/@types/ws/LICENSE | 21 + node_modules/@types/ws/README.md | 16 + node_modules/@types/ws/index.d.mts | 3 + node_modules/@types/ws/index.d.ts | 377 + node_modules/@types/ws/package.json | 71 + node_modules/accepts/HISTORY.md | 243 + node_modules/accepts/LICENSE | 23 + node_modules/accepts/README.md | 140 + node_modules/accepts/index.js | 238 + node_modules/accepts/package.json | 47 + node_modules/array-flatten/LICENSE | 21 + node_modules/array-flatten/README.md | 43 + node_modules/array-flatten/array-flatten.js | 64 + node_modules/array-flatten/package.json | 39 + node_modules/asynckit/LICENSE | 21 + node_modules/asynckit/README.md | 233 + node_modules/asynckit/bench.js | 76 + node_modules/asynckit/index.js | 6 + node_modules/asynckit/lib/abort.js | 29 + node_modules/asynckit/lib/async.js | 34 + node_modules/asynckit/lib/defer.js | 26 + node_modules/asynckit/lib/iterate.js | 75 + .../asynckit/lib/readable_asynckit.js | 91 + .../asynckit/lib/readable_parallel.js | 25 + node_modules/asynckit/lib/readable_serial.js | 25 + .../asynckit/lib/readable_serial_ordered.js | 29 + node_modules/asynckit/lib/state.js | 37 + node_modules/asynckit/lib/streamify.js | 141 + node_modules/asynckit/lib/terminator.js | 29 + node_modules/asynckit/package.json | 63 + node_modules/asynckit/parallel.js | 43 + node_modules/asynckit/serial.js | 17 + node_modules/asynckit/serialOrdered.js | 75 + node_modules/asynckit/stream.js | 21 + node_modules/base64-js/LICENSE | 21 + node_modules/base64-js/README.md | 34 + node_modules/base64-js/base64js.min.js | 1 + node_modules/base64-js/index.d.ts | 3 + node_modules/base64-js/index.js | 150 + node_modules/base64-js/package.json | 47 + node_modules/body-parser/HISTORY.md | 651 ++ node_modules/body-parser/LICENSE | 23 + node_modules/body-parser/README.md | 464 + node_modules/body-parser/SECURITY.md | 25 + node_modules/body-parser/index.js | 157 + node_modules/body-parser/lib/read.js | 205 + node_modules/body-parser/lib/types/json.js | 236 + node_modules/body-parser/lib/types/raw.js | 101 + node_modules/body-parser/lib/types/text.js | 121 + .../body-parser/lib/types/urlencoded.js | 284 + node_modules/body-parser/package.json | 56 + node_modules/bson/LICENSE.md | 201 + node_modules/bson/README.md | 376 + node_modules/bson/bower.json | 26 + node_modules/bson/bson.d.ts | 1235 +++ node_modules/bson/dist/bson.browser.esm.js | 7471 +++++++++++++++ .../bson/dist/bson.browser.esm.js.map | 1 + node_modules/bson/dist/bson.browser.umd.js | 7538 +++++++++++++++ .../bson/dist/bson.browser.umd.js.map | 1 + node_modules/bson/dist/bson.bundle.js | 7537 +++++++++++++++ node_modules/bson/dist/bson.bundle.js.map | 1 + node_modules/bson/dist/bson.esm.js | 5437 +++++++++++ node_modules/bson/dist/bson.esm.js.map | 1 + node_modules/bson/etc/prepare.js | 19 + node_modules/bson/lib/binary.js | 247 + node_modules/bson/lib/binary.js.map | 1 + node_modules/bson/lib/bson.js | 265 + node_modules/bson/lib/bson.js.map | 1 + node_modules/bson/lib/code.js | 46 + node_modules/bson/lib/code.js.map | 1 + node_modules/bson/lib/constants.js | 82 + node_modules/bson/lib/constants.js.map | 1 + node_modules/bson/lib/db_ref.js | 97 + node_modules/bson/lib/db_ref.js.map | 1 + node_modules/bson/lib/decimal128.js | 669 ++ node_modules/bson/lib/decimal128.js.map | 1 + node_modules/bson/lib/double.js | 76 + node_modules/bson/lib/double.js.map | 1 + node_modules/bson/lib/ensure_buffer.js | 25 + node_modules/bson/lib/ensure_buffer.js.map | 1 + node_modules/bson/lib/error.js | 55 + node_modules/bson/lib/error.js.map | 1 + node_modules/bson/lib/extended_json.js | 390 + node_modules/bson/lib/extended_json.js.map | 1 + node_modules/bson/lib/int_32.js | 58 + node_modules/bson/lib/int_32.js.map | 1 + node_modules/bson/lib/long.js | 900 ++ node_modules/bson/lib/long.js.map | 1 + node_modules/bson/lib/map.js | 123 + node_modules/bson/lib/map.js.map | 1 + node_modules/bson/lib/max_key.js | 33 + node_modules/bson/lib/max_key.js.map | 1 + node_modules/bson/lib/min_key.js | 33 + node_modules/bson/lib/min_key.js.map | 1 + node_modules/bson/lib/objectid.js | 299 + node_modules/bson/lib/objectid.js.map | 1 + .../bson/lib/parser/calculate_size.js | 194 + .../bson/lib/parser/calculate_size.js.map | 1 + node_modules/bson/lib/parser/deserializer.js | 659 ++ .../bson/lib/parser/deserializer.js.map | 1 + node_modules/bson/lib/parser/serializer.js | 867 ++ .../bson/lib/parser/serializer.js.map | 1 + node_modules/bson/lib/parser/utils.js | 115 + node_modules/bson/lib/parser/utils.js.map | 1 + node_modules/bson/lib/regexp.js | 74 + node_modules/bson/lib/regexp.js.map | 1 + node_modules/bson/lib/symbol.js | 48 + node_modules/bson/lib/symbol.js.map | 1 + node_modules/bson/lib/timestamp.js | 102 + node_modules/bson/lib/timestamp.js.map | 1 + node_modules/bson/lib/utils/global.js | 18 + node_modules/bson/lib/utils/global.js.map | 1 + node_modules/bson/lib/uuid.js | 179 + node_modules/bson/lib/uuid.js.map | 1 + node_modules/bson/lib/uuid_utils.js | 35 + node_modules/bson/lib/uuid_utils.js.map | 1 + node_modules/bson/lib/validate_utf8.js | 47 + node_modules/bson/lib/validate_utf8.js.map | 1 + node_modules/bson/package.json | 115 + node_modules/bson/src/binary.ts | 294 + node_modules/bson/src/bson.ts | 335 + node_modules/bson/src/code.ts | 61 + node_modules/bson/src/constants.ts | 110 + node_modules/bson/src/db_ref.ts | 124 + node_modules/bson/src/decimal128.ts | 773 ++ node_modules/bson/src/double.ts | 91 + node_modules/bson/src/ensure_buffer.ts | 27 + node_modules/bson/src/error.ts | 23 + node_modules/bson/src/extended_json.ts | 462 + node_modules/bson/src/int_32.ts | 70 + node_modules/bson/src/long.ts | 1040 ++ node_modules/bson/src/map.ts | 119 + node_modules/bson/src/max_key.ts | 38 + node_modules/bson/src/min_key.ts | 38 + node_modules/bson/src/objectid.ts | 354 + .../bson/src/parser/calculate_size.ts | 228 + node_modules/bson/src/parser/deserializer.ts | 777 ++ node_modules/bson/src/parser/serializer.ts | 1076 +++ node_modules/bson/src/parser/utils.ts | 127 + node_modules/bson/src/regexp.ts | 105 + node_modules/bson/src/symbol.ts | 58 + node_modules/bson/src/timestamp.ts | 119 + node_modules/bson/src/utils/global.ts | 22 + node_modules/bson/src/uuid.ts | 209 + node_modules/bson/src/uuid_utils.ts | 33 + node_modules/bson/src/validate_utf8.ts | 47 + node_modules/buffer/AUTHORS.md | 70 + node_modules/buffer/LICENSE | 21 + node_modules/buffer/README.md | 410 + node_modules/buffer/index.d.ts | 186 + node_modules/buffer/index.js | 1817 ++++ node_modules/buffer/package.json | 96 + node_modules/bytes/History.md | 97 + node_modules/bytes/LICENSE | 23 + node_modules/bytes/Readme.md | 152 + node_modules/bytes/index.js | 170 + node_modules/bytes/package.json | 42 + node_modules/call-bind/.eslintignore | 1 + node_modules/call-bind/.eslintrc | 17 + node_modules/call-bind/.github/FUNDING.yml | 12 + node_modules/call-bind/.nycrc | 13 + node_modules/call-bind/CHANGELOG.md | 42 + node_modules/call-bind/LICENSE | 21 + node_modules/call-bind/README.md | 2 + node_modules/call-bind/callBound.js | 15 + node_modules/call-bind/index.js | 47 + node_modules/call-bind/package.json | 80 + node_modules/call-bind/test/callBound.js | 55 + node_modules/call-bind/test/index.js | 66 + node_modules/combined-stream/License | 19 + node_modules/combined-stream/Readme.md | 138 + .../combined-stream/lib/combined_stream.js | 208 + node_modules/combined-stream/package.json | 25 + node_modules/combined-stream/yarn.lock | 17 + node_modules/content-disposition/HISTORY.md | 60 + node_modules/content-disposition/LICENSE | 22 + node_modules/content-disposition/README.md | 142 + node_modules/content-disposition/index.js | 458 + node_modules/content-disposition/package.json | 44 + node_modules/content-type/HISTORY.md | 24 + node_modules/content-type/LICENSE | 22 + node_modules/content-type/README.md | 92 + node_modules/content-type/index.js | 222 + node_modules/content-type/package.json | 40 + node_modules/cookie-signature/.npmignore | 4 + node_modules/cookie-signature/History.md | 38 + node_modules/cookie-signature/Readme.md | 42 + node_modules/cookie-signature/index.js | 51 + node_modules/cookie-signature/package.json | 18 + node_modules/cookie/HISTORY.md | 142 + node_modules/cookie/LICENSE | 24 + node_modules/cookie/README.md | 302 + node_modules/cookie/SECURITY.md | 25 + node_modules/cookie/index.js | 270 + node_modules/cookie/package.json | 44 + node_modules/debug/.coveralls.yml | 1 + node_modules/debug/.eslintrc | 11 + node_modules/debug/.npmignore | 9 + node_modules/debug/.travis.yml | 14 + node_modules/debug/CHANGELOG.md | 362 + node_modules/debug/LICENSE | 19 + node_modules/debug/Makefile | 50 + node_modules/debug/README.md | 312 + node_modules/debug/component.json | 19 + node_modules/debug/karma.conf.js | 70 + node_modules/debug/node.js | 1 + node_modules/debug/package.json | 49 + node_modules/debug/src/browser.js | 185 + node_modules/debug/src/debug.js | 202 + node_modules/debug/src/index.js | 10 + node_modules/debug/src/inspector-log.js | 15 + node_modules/debug/src/node.js | 248 + node_modules/delayed-stream/.npmignore | 1 + node_modules/delayed-stream/License | 19 + node_modules/delayed-stream/Makefile | 7 + node_modules/delayed-stream/Readme.md | 141 + .../delayed-stream/lib/delayed_stream.js | 107 + node_modules/delayed-stream/package.json | 27 + node_modules/denque/CHANGELOG.md | 29 + node_modules/denque/LICENSE | 201 + node_modules/denque/README.md | 77 + node_modules/denque/index.d.ts | 47 + node_modules/denque/index.js | 481 + node_modules/denque/package.json | 58 + node_modules/depd/History.md | 103 + node_modules/depd/LICENSE | 22 + node_modules/depd/Readme.md | 280 + node_modules/depd/index.js | 538 ++ node_modules/depd/lib/browser/index.js | 77 + node_modules/depd/package.json | 45 + node_modules/destroy/LICENSE | 23 + node_modules/destroy/README.md | 63 + node_modules/destroy/index.js | 209 + node_modules/destroy/package.json | 48 + node_modules/discord-api-types/LICENSE | 21 + node_modules/discord-api-types/README.md | 104 + .../discord-api-types/gateway/common.d.ts | 9 + .../discord-api-types/gateway/common.d.ts.map | 1 + .../discord-api-types/gateway/common.js | 3 + .../discord-api-types/gateway/common.js.map | 1 + .../discord-api-types/gateway/index.d.ts | 2 + .../discord-api-types/gateway/index.d.ts.map | 1 + .../discord-api-types/gateway/index.js | 20 + .../discord-api-types/gateway/index.js.map | 1 + .../discord-api-types/gateway/index.mjs | 8 + .../discord-api-types/gateway/v10.d.ts | 1434 +++ .../discord-api-types/gateway/v10.d.ts.map | 1 + node_modules/discord-api-types/gateway/v10.js | 243 + .../discord-api-types/gateway/v10.js.map | 1 + .../discord-api-types/gateway/v10.mjs | 8 + .../discord-api-types/gateway/v6.d.ts | 608 ++ .../discord-api-types/gateway/v6.d.ts.map | 1 + node_modules/discord-api-types/gateway/v6.js | 167 + .../discord-api-types/gateway/v6.js.map | 1 + node_modules/discord-api-types/gateway/v6.mjs | 10 + .../discord-api-types/gateway/v8.d.ts | 1455 +++ .../discord-api-types/gateway/v8.d.ts.map | 1 + node_modules/discord-api-types/gateway/v8.js | 242 + .../discord-api-types/gateway/v8.js.map | 1 + node_modules/discord-api-types/gateway/v8.mjs | 8 + .../discord-api-types/gateway/v9.d.ts | 1433 +++ .../discord-api-types/gateway/v9.d.ts.map | 1 + node_modules/discord-api-types/gateway/v9.js | 242 + .../discord-api-types/gateway/v9.js.map | 1 + node_modules/discord-api-types/gateway/v9.mjs | 8 + node_modules/discord-api-types/globals.d.ts | 83 + .../discord-api-types/globals.d.ts.map | 1 + node_modules/discord-api-types/globals.js | 82 + node_modules/discord-api-types/globals.js.map | 1 + node_modules/discord-api-types/globals.mjs | 4 + node_modules/discord-api-types/package.json | 205 + .../discord-api-types/payloads/common.d.ts | 53 + .../payloads/common.d.ts.map | 1 + .../discord-api-types/payloads/common.js | 59 + .../discord-api-types/payloads/common.js.map | 1 + .../discord-api-types/payloads/index.d.ts | 2 + .../discord-api-types/payloads/index.d.ts.map | 1 + .../discord-api-types/payloads/index.js | 20 + .../discord-api-types/payloads/index.js.map | 1 + .../discord-api-types/payloads/index.mjs | 56 + .../_chatInput/attachment.d.ts | 6 + .../_chatInput/attachment.d.ts.map | 1 + .../_chatInput/attachment.js | 3 + .../_chatInput/attachment.js.map | 1 + .../_applicationCommands/_chatInput/base.d.ts | 22 + .../_chatInput/base.d.ts.map | 1 + .../_applicationCommands/_chatInput/base.js | 3 + .../_chatInput/base.js.map | 1 + .../_chatInput/boolean.d.ts | 5 + .../_chatInput/boolean.d.ts.map | 1 + .../_chatInput/boolean.js | 3 + .../_chatInput/boolean.js.map | 1 + .../_chatInput/channel.d.ts | 9 + .../_chatInput/channel.d.ts.map | 1 + .../_chatInput/channel.js | 3 + .../_chatInput/channel.js.map | 1 + .../_chatInput/integer.d.ts | 18 + .../_chatInput/integer.d.ts.map | 1 + .../_chatInput/integer.js | 3 + .../_chatInput/integer.js.map | 1 + .../_chatInput/mentionable.d.ts | 6 + .../_chatInput/mentionable.d.ts.map | 1 + .../_chatInput/mentionable.js | 3 + .../_chatInput/mentionable.js.map | 1 + .../_chatInput/number.d.ts | 18 + .../_chatInput/number.d.ts.map | 1 + .../_applicationCommands/_chatInput/number.js | 3 + .../_chatInput/number.js.map | 1 + .../_applicationCommands/_chatInput/role.d.ts | 6 + .../_chatInput/role.d.ts.map | 1 + .../_applicationCommands/_chatInput/role.js | 3 + .../_chatInput/role.js.map | 1 + .../_chatInput/shared.d.ts | 26 + .../_chatInput/shared.d.ts.map | 1 + .../_applicationCommands/_chatInput/shared.js | 21 + .../_chatInput/shared.js.map | 1 + .../_chatInput/string.d.ts | 7 + .../_chatInput/string.d.ts.map | 1 + .../_applicationCommands/_chatInput/string.js | 3 + .../_chatInput/string.js.map | 1 + .../_chatInput/subcommand.d.ts | 12 + .../_chatInput/subcommand.d.ts.map | 1 + .../_chatInput/subcommand.js | 3 + .../_chatInput/subcommand.js.map | 1 + .../_chatInput/subcommandGroup.d.ts | 12 + .../_chatInput/subcommandGroup.d.ts.map | 1 + .../_chatInput/subcommandGroup.js | 3 + .../_chatInput/subcommandGroup.js.map | 1 + .../_applicationCommands/_chatInput/user.d.ts | 6 + .../_chatInput/user.d.ts.map | 1 + .../_applicationCommands/_chatInput/user.js | 3 + .../_chatInput/user.js.map | 1 + .../_applicationCommands/chatInput.d.ts | 71 + .../_applicationCommands/chatInput.d.ts.map | 1 + .../_applicationCommands/chatInput.js | 29 + .../_applicationCommands/chatInput.js.map | 1 + .../_applicationCommands/contextMenu.d.ts | 74 + .../_applicationCommands/contextMenu.d.ts.map | 1 + .../_applicationCommands/contextMenu.js | 3 + .../_applicationCommands/contextMenu.js.map | 1 + .../_applicationCommands/internals.d.ts | 9 + .../_applicationCommands/internals.d.ts.map | 1 + .../_applicationCommands/internals.js | 3 + .../_applicationCommands/internals.js.map | 1 + .../_applicationCommands/permissions.d.ts | 55 + .../_applicationCommands/permissions.d.ts.map | 1 + .../_applicationCommands/permissions.js | 20 + .../_applicationCommands/permissions.js.map | 1 + .../_interactions/applicationCommands.d.ts | 122 + .../applicationCommands.d.ts.map | 1 + .../v10/_interactions/applicationCommands.js | 30 + .../_interactions/applicationCommands.js.map | 1 + .../v10/_interactions/autocomplete.d.ts | 11 + .../v10/_interactions/autocomplete.d.ts.map | 1 + .../v10/_interactions/autocomplete.js | 3 + .../v10/_interactions/autocomplete.js.map | 1 + .../payloads/v10/_interactions/base.d.ts | 101 + .../payloads/v10/_interactions/base.d.ts.map | 1 + .../payloads/v10/_interactions/base.js | 3 + .../payloads/v10/_interactions/base.js.map | 1 + .../v10/_interactions/messageComponents.d.ts | 24 + .../_interactions/messageComponents.d.ts.map | 1 + .../v10/_interactions/messageComponents.js | 3 + .../_interactions/messageComponents.js.map | 1 + .../v10/_interactions/modalSubmit.d.ts | 33 + .../v10/_interactions/modalSubmit.d.ts.map | 1 + .../payloads/v10/_interactions/modalSubmit.js | 3 + .../v10/_interactions/modalSubmit.js.map | 1 + .../payloads/v10/_interactions/ping.d.ts | 4 + .../payloads/v10/_interactions/ping.d.ts.map | 1 + .../payloads/v10/_interactions/ping.js | 3 + .../payloads/v10/_interactions/ping.js.map | 1 + .../payloads/v10/_interactions/responses.d.ts | 104 + .../v10/_interactions/responses.d.ts.map | 1 + .../payloads/v10/_interactions/responses.js | 49 + .../v10/_interactions/responses.js.map | 1 + .../payloads/v10/application.d.ts | 129 + .../payloads/v10/application.d.ts.map | 1 + .../payloads/v10/application.js | 26 + .../payloads/v10/application.js.map | 1 + .../payloads/v10/auditLog.d.ts | 528 + .../payloads/v10/auditLog.d.ts.map | 1 + .../payloads/v10/auditLog.js | 66 + .../payloads/v10/auditLog.js.map | 1 + .../payloads/v10/channel.d.ts | 1295 +++ .../payloads/v10/channel.d.ts.map | 1 + .../discord-api-types/payloads/v10/channel.js | 273 + .../payloads/v10/channel.js.map | 1 + .../discord-api-types/payloads/v10/emoji.d.ts | 49 + .../payloads/v10/emoji.d.ts.map | 1 + .../discord-api-types/payloads/v10/emoji.js | 6 + .../payloads/v10/emoji.js.map | 1 + .../payloads/v10/gateway.d.ts | 365 + .../payloads/v10/gateway.d.ts.map | 1 + .../discord-api-types/payloads/v10/gateway.js | 78 + .../payloads/v10/gateway.js.map | 1 + .../discord-api-types/payloads/v10/guild.d.ts | 877 ++ .../payloads/v10/guild.d.ts.map | 1 + .../discord-api-types/payloads/v10/guild.js | 255 + .../payloads/v10/guild.js.map | 1 + .../payloads/v10/guildScheduledEvent.d.ts | 139 + .../payloads/v10/guildScheduledEvent.d.ts.map | 1 + .../payloads/v10/guildScheduledEvent.js | 33 + .../payloads/v10/guildScheduledEvent.js.map | 1 + .../discord-api-types/payloads/v10/index.d.ts | 20 + .../payloads/v10/index.d.ts.map | 1 + .../discord-api-types/payloads/v10/index.js | 36 + .../payloads/v10/index.js.map | 1 + .../discord-api-types/payloads/v10/index.mjs | 56 + .../payloads/v10/interactions.d.ts | 25 + .../payloads/v10/interactions.d.ts.map | 1 + .../payloads/v10/interactions.js | 24 + .../payloads/v10/interactions.js.map | 1 + .../payloads/v10/invite.d.ts | 109 + .../payloads/v10/invite.d.ts.map | 1 + .../discord-api-types/payloads/v10/invite.js | 15 + .../payloads/v10/invite.js.map | 1 + .../payloads/v10/oauth2.d.ts | 128 + .../payloads/v10/oauth2.d.ts.map | 1 + .../discord-api-types/payloads/v10/oauth2.js | 132 + .../payloads/v10/oauth2.js.map | 1 + .../payloads/v10/permissions.d.ts | 73 + .../payloads/v10/permissions.d.ts.map | 1 + .../payloads/v10/permissions.js | 6 + .../payloads/v10/permissions.js.map | 1 + .../payloads/v10/stageInstance.d.ts | 75 + .../payloads/v10/stageInstance.d.ts.map | 1 + .../payloads/v10/stageInstance.js | 18 + .../payloads/v10/stageInstance.js.map | 1 + .../payloads/v10/sticker.d.ts | 122 + .../payloads/v10/sticker.d.ts.map | 1 + .../discord-api-types/payloads/v10/sticker.js | 30 + .../payloads/v10/sticker.js.map | 1 + .../discord-api-types/payloads/v10/teams.d.ts | 63 + .../payloads/v10/teams.d.ts.map | 1 + .../discord-api-types/payloads/v10/teams.js | 15 + .../payloads/v10/teams.js.map | 1 + .../payloads/v10/template.d.ts | 63 + .../payloads/v10/template.d.ts.map | 1 + .../payloads/v10/template.js | 6 + .../payloads/v10/template.js.map | 1 + .../discord-api-types/payloads/v10/user.d.ts | 209 + .../payloads/v10/user.d.ts.map | 1 + .../discord-api-types/payloads/v10/user.js | 93 + .../payloads/v10/user.js.map | 1 + .../discord-api-types/payloads/v10/voice.d.ts | 90 + .../payloads/v10/voice.d.ts.map | 1 + .../discord-api-types/payloads/v10/voice.js | 6 + .../payloads/v10/voice.js.map | 1 + .../payloads/v10/webhook.d.ts | 77 + .../payloads/v10/webhook.d.ts.map | 1 + .../discord-api-types/payloads/v10/webhook.js | 22 + .../payloads/v10/webhook.js.map | 1 + .../payloads/v6/auditLog.d.ts | 414 + .../payloads/v6/auditLog.d.ts.map | 1 + .../discord-api-types/payloads/v6/auditLog.js | 57 + .../payloads/v6/auditLog.js.map | 1 + .../payloads/v6/channel.d.ts | 320 + .../payloads/v6/channel.d.ts.map | 1 + .../discord-api-types/payloads/v6/channel.js | 90 + .../payloads/v6/channel.js.map | 1 + .../discord-api-types/payloads/v6/emoji.d.ts | 25 + .../payloads/v6/emoji.d.ts.map | 1 + .../discord-api-types/payloads/v6/emoji.js | 6 + .../payloads/v6/emoji.js.map | 1 + .../payloads/v6/gateway.d.ts | 136 + .../payloads/v6/gateway.d.ts.map | 1 + .../discord-api-types/payloads/v6/gateway.js | 43 + .../payloads/v6/gateway.js.map | 1 + .../discord-api-types/payloads/v6/guild.d.ts | 293 + .../payloads/v6/guild.d.ts.map | 1 + .../discord-api-types/payloads/v6/guild.js | 109 + .../payloads/v6/guild.js.map | 1 + .../discord-api-types/payloads/v6/index.d.ts | 13 + .../payloads/v6/index.d.ts.map | 1 + .../discord-api-types/payloads/v6/index.js | 29 + .../payloads/v6/index.js.map | 1 + .../discord-api-types/payloads/v6/index.mjs | 30 + .../discord-api-types/payloads/v6/invite.d.ts | 39 + .../payloads/v6/invite.d.ts.map | 1 + .../discord-api-types/payloads/v6/invite.js | 15 + .../payloads/v6/invite.js.map | 1 + .../discord-api-types/payloads/v6/oauth2.d.ts | 27 + .../payloads/v6/oauth2.d.ts.map | 1 + .../discord-api-types/payloads/v6/oauth2.js | 6 + .../payloads/v6/oauth2.js.map | 1 + .../payloads/v6/permissions.d.ts | 73 + .../payloads/v6/permissions.d.ts.map | 1 + .../payloads/v6/permissions.js | 54 + .../payloads/v6/permissions.js.map | 1 + .../discord-api-types/payloads/v6/teams.d.ts | 33 + .../payloads/v6/teams.d.ts.map | 1 + .../discord-api-types/payloads/v6/teams.js | 16 + .../payloads/v6/teams.js.map | 1 + .../discord-api-types/payloads/v6/user.d.ts | 75 + .../payloads/v6/user.d.ts.map | 1 + .../discord-api-types/payloads/v6/user.js | 46 + .../discord-api-types/payloads/v6/user.js.map | 1 + .../discord-api-types/payloads/v6/voice.d.ts | 35 + .../payloads/v6/voice.d.ts.map | 1 + .../discord-api-types/payloads/v6/voice.js | 6 + .../payloads/v6/voice.js.map | 1 + .../payloads/v6/webhook.d.ts | 31 + .../payloads/v6/webhook.d.ts.map | 1 + .../discord-api-types/payloads/v6/webhook.js | 15 + .../payloads/v6/webhook.js.map | 1 + .../_chatInput/attachment.d.ts | 12 + .../_chatInput/attachment.d.ts.map | 1 + .../_chatInput/attachment.js | 3 + .../_chatInput/attachment.js.map | 1 + .../_applicationCommands/_chatInput/base.d.ts | 28 + .../_chatInput/base.d.ts.map | 1 + .../_applicationCommands/_chatInput/base.js | 3 + .../_chatInput/base.js.map | 1 + .../_chatInput/boolean.d.ts | 11 + .../_chatInput/boolean.d.ts.map | 1 + .../_chatInput/boolean.js | 3 + .../_chatInput/boolean.js.map | 1 + .../_chatInput/channel.d.ts | 15 + .../_chatInput/channel.d.ts.map | 1 + .../_chatInput/channel.js | 3 + .../_chatInput/channel.js.map | 1 + .../_chatInput/integer.d.ts | 27 + .../_chatInput/integer.d.ts.map | 1 + .../_chatInput/integer.js | 3 + .../_chatInput/integer.js.map | 1 + .../_chatInput/mentionable.d.ts | 12 + .../_chatInput/mentionable.d.ts.map | 1 + .../_chatInput/mentionable.js | 3 + .../_chatInput/mentionable.js.map | 1 + .../_chatInput/number.d.ts | 27 + .../_chatInput/number.d.ts.map | 1 + .../_applicationCommands/_chatInput/number.js | 3 + .../_chatInput/number.js.map | 1 + .../_applicationCommands/_chatInput/role.d.ts | 12 + .../_chatInput/role.d.ts.map | 1 + .../_applicationCommands/_chatInput/role.js | 3 + .../_chatInput/role.js.map | 1 + .../_chatInput/shared.d.ts | 26 + .../_chatInput/shared.d.ts.map | 1 + .../_applicationCommands/_chatInput/shared.js | 22 + .../_chatInput/shared.js.map | 1 + .../_chatInput/string.d.ts | 13 + .../_chatInput/string.d.ts.map | 1 + .../_applicationCommands/_chatInput/string.js | 3 + .../_chatInput/string.js.map | 1 + .../_chatInput/subcommand.d.ts | 18 + .../_chatInput/subcommand.d.ts.map | 1 + .../_chatInput/subcommand.js | 3 + .../_chatInput/subcommand.js.map | 1 + .../_chatInput/subcommandGroup.d.ts | 18 + .../_chatInput/subcommandGroup.d.ts.map | 1 + .../_chatInput/subcommandGroup.js | 3 + .../_chatInput/subcommandGroup.js.map | 1 + .../_applicationCommands/_chatInput/user.d.ts | 12 + .../_chatInput/user.d.ts.map | 1 + .../_applicationCommands/_chatInput/user.js | 3 + .../_chatInput/user.js.map | 1 + .../_applicationCommands/chatInput.d.ts | 82 + .../_applicationCommands/chatInput.d.ts.map | 1 + .../_applicationCommands/chatInput.js | 29 + .../_applicationCommands/chatInput.js.map | 1 + .../_applicationCommands/contextMenu.d.ts | 88 + .../_applicationCommands/contextMenu.d.ts.map | 1 + .../_applicationCommands/contextMenu.js | 3 + .../_applicationCommands/contextMenu.js.map | 1 + .../_applicationCommands/internals.d.ts | 11 + .../_applicationCommands/internals.d.ts.map | 1 + .../_applicationCommands/internals.js | 3 + .../_applicationCommands/internals.js.map | 1 + .../_applicationCommands/permissions.d.ts | 50 + .../_applicationCommands/permissions.d.ts.map | 1 + .../_applicationCommands/permissions.js | 13 + .../_applicationCommands/permissions.js.map | 1 + .../v8/_interactions/applicationCommands.d.ts | 103 + .../applicationCommands.d.ts.map | 1 + .../v8/_interactions/applicationCommands.js | 31 + .../_interactions/applicationCommands.js.map | 1 + .../v8/_interactions/autocomplete.d.ts | 16 + .../v8/_interactions/autocomplete.d.ts.map | 1 + .../payloads/v8/_interactions/autocomplete.js | 3 + .../v8/_interactions/autocomplete.js.map | 1 + .../payloads/v8/_interactions/base.d.ts | 113 + .../payloads/v8/_interactions/base.d.ts.map | 1 + .../payloads/v8/_interactions/base.js | 3 + .../payloads/v8/_interactions/base.js.map | 1 + .../v8/_interactions/messageComponents.d.ts | 43 + .../_interactions/messageComponents.d.ts.map | 1 + .../v8/_interactions/messageComponents.js | 3 + .../v8/_interactions/messageComponents.js.map | 1 + .../v8/_interactions/modalSubmit.d.ts | 45 + .../v8/_interactions/modalSubmit.d.ts.map | 1 + .../payloads/v8/_interactions/modalSubmit.js | 3 + .../v8/_interactions/modalSubmit.js.map | 1 + .../payloads/v8/_interactions/ping.d.ts | 7 + .../payloads/v8/_interactions/ping.d.ts.map | 1 + .../payloads/v8/_interactions/ping.js | 3 + .../payloads/v8/_interactions/ping.js.map | 1 + .../payloads/v8/_interactions/responses.d.ts | 133 + .../v8/_interactions/responses.d.ts.map | 1 + .../payloads/v8/_interactions/responses.js | 51 + .../v8/_interactions/responses.js.map | 1 + .../payloads/v8/application.d.ts | 132 + .../payloads/v8/application.d.ts.map | 1 + .../payloads/v8/application.js | 27 + .../payloads/v8/application.js.map | 1 + .../payloads/v8/auditLog.d.ts | 568 ++ .../payloads/v8/auditLog.d.ts.map | 1 + .../discord-api-types/payloads/v8/auditLog.js | 66 + .../payloads/v8/auditLog.js.map | 1 + .../payloads/v8/channel.d.ts | 1236 +++ .../payloads/v8/channel.d.ts.map | 1 + .../discord-api-types/payloads/v8/channel.js | 245 + .../payloads/v8/channel.js.map | 1 + .../discord-api-types/payloads/v8/emoji.d.ts | 51 + .../payloads/v8/emoji.d.ts.map | 1 + .../discord-api-types/payloads/v8/emoji.js | 6 + .../payloads/v8/emoji.js.map | 1 + .../payloads/v8/gateway.d.ts | 319 + .../payloads/v8/gateway.d.ts.map | 1 + .../discord-api-types/payloads/v8/gateway.js | 77 + .../payloads/v8/gateway.js.map | 1 + .../discord-api-types/payloads/v8/guild.d.ts | 977 ++ .../payloads/v8/guild.d.ts.map | 1 + .../discord-api-types/payloads/v8/guild.js | 254 + .../payloads/v8/guild.js.map | 1 + .../payloads/v8/guildScheduledEvent.d.ts | 157 + .../payloads/v8/guildScheduledEvent.d.ts.map | 1 + .../payloads/v8/guildScheduledEvent.js | 36 + .../payloads/v8/guildScheduledEvent.js.map | 1 + .../discord-api-types/payloads/v8/index.d.ts | 20 + .../payloads/v8/index.d.ts.map | 1 + .../discord-api-types/payloads/v8/index.js | 36 + .../payloads/v8/index.js.map | 1 + .../discord-api-types/payloads/v8/index.mjs | 51 + .../payloads/v8/interactions.d.ts | 28 + .../payloads/v8/interactions.d.ts.map | 1 + .../payloads/v8/interactions.js | 24 + .../payloads/v8/interactions.js.map | 1 + .../discord-api-types/payloads/v8/invite.d.ts | 111 + .../payloads/v8/invite.d.ts.map | 1 + .../discord-api-types/payloads/v8/invite.js | 16 + .../payloads/v8/invite.js.map | 1 + .../discord-api-types/payloads/v8/oauth2.d.ts | 117 + .../payloads/v8/oauth2.d.ts.map | 1 + .../discord-api-types/payloads/v8/oauth2.js | 121 + .../payloads/v8/oauth2.js.map | 1 + .../payloads/v8/permissions.d.ts | 75 + .../payloads/v8/permissions.d.ts.map | 1 + .../payloads/v8/permissions.js | 6 + .../payloads/v8/permissions.js.map | 1 + .../payloads/v8/stageInstance.d.ts | 73 + .../payloads/v8/stageInstance.d.ts.map | 1 + .../payloads/v8/stageInstance.js | 19 + .../payloads/v8/stageInstance.js.map | 1 + .../payloads/v8/sticker.d.ts | 127 + .../payloads/v8/sticker.d.ts.map | 1 + .../discord-api-types/payloads/v8/sticker.js | 32 + .../payloads/v8/sticker.js.map | 1 + .../discord-api-types/payloads/v8/teams.d.ts | 66 + .../payloads/v8/teams.d.ts.map | 1 + .../discord-api-types/payloads/v8/teams.js | 16 + .../payloads/v8/teams.js.map | 1 + .../payloads/v8/template.d.ts | 67 + .../payloads/v8/template.d.ts.map | 1 + .../discord-api-types/payloads/v8/template.js | 6 + .../payloads/v8/template.js.map | 1 + .../discord-api-types/payloads/v8/user.d.ts | 216 + .../payloads/v8/user.d.ts.map | 1 + .../discord-api-types/payloads/v8/user.js | 98 + .../discord-api-types/payloads/v8/user.js.map | 1 + .../discord-api-types/payloads/v8/voice.d.ts | 92 + .../payloads/v8/voice.d.ts.map | 1 + .../discord-api-types/payloads/v8/voice.js | 6 + .../payloads/v8/voice.js.map | 1 + .../payloads/v8/webhook.d.ts | 81 + .../payloads/v8/webhook.d.ts.map | 1 + .../discord-api-types/payloads/v8/webhook.js | 25 + .../payloads/v8/webhook.js.map | 1 + .../_chatInput/attachment.d.ts | 6 + .../_chatInput/attachment.d.ts.map | 1 + .../_chatInput/attachment.js | 3 + .../_chatInput/attachment.js.map | 1 + .../_applicationCommands/_chatInput/base.d.ts | 22 + .../_chatInput/base.d.ts.map | 1 + .../_applicationCommands/_chatInput/base.js | 3 + .../_chatInput/base.js.map | 1 + .../_chatInput/boolean.d.ts | 5 + .../_chatInput/boolean.d.ts.map | 1 + .../_chatInput/boolean.js | 3 + .../_chatInput/boolean.js.map | 1 + .../_chatInput/channel.d.ts | 9 + .../_chatInput/channel.d.ts.map | 1 + .../_chatInput/channel.js | 3 + .../_chatInput/channel.js.map | 1 + .../_chatInput/integer.d.ts | 18 + .../_chatInput/integer.d.ts.map | 1 + .../_chatInput/integer.js | 3 + .../_chatInput/integer.js.map | 1 + .../_chatInput/mentionable.d.ts | 6 + .../_chatInput/mentionable.d.ts.map | 1 + .../_chatInput/mentionable.js | 3 + .../_chatInput/mentionable.js.map | 1 + .../_chatInput/number.d.ts | 18 + .../_chatInput/number.d.ts.map | 1 + .../_applicationCommands/_chatInput/number.js | 3 + .../_chatInput/number.js.map | 1 + .../_applicationCommands/_chatInput/role.d.ts | 6 + .../_chatInput/role.d.ts.map | 1 + .../_applicationCommands/_chatInput/role.js | 3 + .../_chatInput/role.js.map | 1 + .../_chatInput/shared.d.ts | 26 + .../_chatInput/shared.d.ts.map | 1 + .../_applicationCommands/_chatInput/shared.js | 21 + .../_chatInput/shared.js.map | 1 + .../_chatInput/string.d.ts | 7 + .../_chatInput/string.d.ts.map | 1 + .../_applicationCommands/_chatInput/string.js | 3 + .../_chatInput/string.js.map | 1 + .../_chatInput/subcommand.d.ts | 12 + .../_chatInput/subcommand.d.ts.map | 1 + .../_chatInput/subcommand.js | 3 + .../_chatInput/subcommand.js.map | 1 + .../_chatInput/subcommandGroup.d.ts | 12 + .../_chatInput/subcommandGroup.d.ts.map | 1 + .../_chatInput/subcommandGroup.js | 3 + .../_chatInput/subcommandGroup.js.map | 1 + .../_applicationCommands/_chatInput/user.d.ts | 6 + .../_chatInput/user.d.ts.map | 1 + .../_applicationCommands/_chatInput/user.js | 3 + .../_chatInput/user.js.map | 1 + .../_applicationCommands/chatInput.d.ts | 71 + .../_applicationCommands/chatInput.d.ts.map | 1 + .../_applicationCommands/chatInput.js | 29 + .../_applicationCommands/chatInput.js.map | 1 + .../_applicationCommands/contextMenu.d.ts | 74 + .../_applicationCommands/contextMenu.d.ts.map | 1 + .../_applicationCommands/contextMenu.js | 3 + .../_applicationCommands/contextMenu.js.map | 1 + .../_applicationCommands/internals.d.ts | 9 + .../_applicationCommands/internals.d.ts.map | 1 + .../_applicationCommands/internals.js | 3 + .../_applicationCommands/internals.js.map | 1 + .../_applicationCommands/permissions.d.ts | 55 + .../_applicationCommands/permissions.d.ts.map | 1 + .../_applicationCommands/permissions.js | 20 + .../_applicationCommands/permissions.js.map | 1 + .../v9/_interactions/applicationCommands.d.ts | 122 + .../applicationCommands.d.ts.map | 1 + .../v9/_interactions/applicationCommands.js | 30 + .../_interactions/applicationCommands.js.map | 1 + .../v9/_interactions/autocomplete.d.ts | 11 + .../v9/_interactions/autocomplete.d.ts.map | 1 + .../payloads/v9/_interactions/autocomplete.js | 3 + .../v9/_interactions/autocomplete.js.map | 1 + .../payloads/v9/_interactions/base.d.ts | 101 + .../payloads/v9/_interactions/base.d.ts.map | 1 + .../payloads/v9/_interactions/base.js | 3 + .../payloads/v9/_interactions/base.js.map | 1 + .../v9/_interactions/messageComponents.d.ts | 24 + .../_interactions/messageComponents.d.ts.map | 1 + .../v9/_interactions/messageComponents.js | 3 + .../v9/_interactions/messageComponents.js.map | 1 + .../v9/_interactions/modalSubmit.d.ts | 33 + .../v9/_interactions/modalSubmit.d.ts.map | 1 + .../payloads/v9/_interactions/modalSubmit.js | 3 + .../v9/_interactions/modalSubmit.js.map | 1 + .../payloads/v9/_interactions/ping.d.ts | 4 + .../payloads/v9/_interactions/ping.d.ts.map | 1 + .../payloads/v9/_interactions/ping.js | 3 + .../payloads/v9/_interactions/ping.js.map | 1 + .../payloads/v9/_interactions/responses.d.ts | 104 + .../v9/_interactions/responses.d.ts.map | 1 + .../payloads/v9/_interactions/responses.js | 49 + .../v9/_interactions/responses.js.map | 1 + .../payloads/v9/application.d.ts | 129 + .../payloads/v9/application.d.ts.map | 1 + .../payloads/v9/application.js | 26 + .../payloads/v9/application.js.map | 1 + .../payloads/v9/auditLog.d.ts | 528 + .../payloads/v9/auditLog.d.ts.map | 1 + .../discord-api-types/payloads/v9/auditLog.js | 66 + .../payloads/v9/auditLog.js.map | 1 + .../payloads/v9/channel.d.ts | 1299 +++ .../payloads/v9/channel.d.ts.map | 1 + .../discord-api-types/payloads/v9/channel.js | 273 + .../payloads/v9/channel.js.map | 1 + .../discord-api-types/payloads/v9/emoji.d.ts | 49 + .../payloads/v9/emoji.d.ts.map | 1 + .../discord-api-types/payloads/v9/emoji.js | 6 + .../payloads/v9/emoji.js.map | 1 + .../payloads/v9/gateway.d.ts | 356 + .../payloads/v9/gateway.d.ts.map | 1 + .../discord-api-types/payloads/v9/gateway.js | 78 + .../payloads/v9/gateway.js.map | 1 + .../discord-api-types/payloads/v9/guild.d.ts | 877 ++ .../payloads/v9/guild.d.ts.map | 1 + .../discord-api-types/payloads/v9/guild.js | 255 + .../payloads/v9/guild.js.map | 1 + .../payloads/v9/guildScheduledEvent.d.ts | 139 + .../payloads/v9/guildScheduledEvent.d.ts.map | 1 + .../payloads/v9/guildScheduledEvent.js | 33 + .../payloads/v9/guildScheduledEvent.js.map | 1 + .../discord-api-types/payloads/v9/index.d.ts | 20 + .../payloads/v9/index.d.ts.map | 1 + .../discord-api-types/payloads/v9/index.js | 36 + .../payloads/v9/index.js.map | 1 + .../discord-api-types/payloads/v9/index.mjs | 56 + .../payloads/v9/interactions.d.ts | 25 + .../payloads/v9/interactions.d.ts.map | 1 + .../payloads/v9/interactions.js | 24 + .../payloads/v9/interactions.js.map | 1 + .../discord-api-types/payloads/v9/invite.d.ts | 109 + .../payloads/v9/invite.d.ts.map | 1 + .../discord-api-types/payloads/v9/invite.js | 15 + .../payloads/v9/invite.js.map | 1 + .../discord-api-types/payloads/v9/oauth2.d.ts | 128 + .../payloads/v9/oauth2.d.ts.map | 1 + .../discord-api-types/payloads/v9/oauth2.js | 132 + .../payloads/v9/oauth2.js.map | 1 + .../payloads/v9/permissions.d.ts | 73 + .../payloads/v9/permissions.d.ts.map | 1 + .../payloads/v9/permissions.js | 6 + .../payloads/v9/permissions.js.map | 1 + .../payloads/v9/stageInstance.d.ts | 77 + .../payloads/v9/stageInstance.d.ts.map | 1 + .../payloads/v9/stageInstance.js | 19 + .../payloads/v9/stageInstance.js.map | 1 + .../payloads/v9/sticker.d.ts | 122 + .../payloads/v9/sticker.d.ts.map | 1 + .../discord-api-types/payloads/v9/sticker.js | 30 + .../payloads/v9/sticker.js.map | 1 + .../discord-api-types/payloads/v9/teams.d.ts | 63 + .../payloads/v9/teams.d.ts.map | 1 + .../discord-api-types/payloads/v9/teams.js | 15 + .../payloads/v9/teams.js.map | 1 + .../payloads/v9/template.d.ts | 63 + .../payloads/v9/template.d.ts.map | 1 + .../discord-api-types/payloads/v9/template.js | 6 + .../payloads/v9/template.js.map | 1 + .../discord-api-types/payloads/v9/user.d.ts | 209 + .../payloads/v9/user.d.ts.map | 1 + .../discord-api-types/payloads/v9/user.js | 93 + .../discord-api-types/payloads/v9/user.js.map | 1 + .../discord-api-types/payloads/v9/voice.d.ts | 90 + .../payloads/v9/voice.d.ts.map | 1 + .../discord-api-types/payloads/v9/voice.js | 6 + .../payloads/v9/voice.js.map | 1 + .../payloads/v9/webhook.d.ts | 77 + .../payloads/v9/webhook.d.ts.map | 1 + .../discord-api-types/payloads/v9/webhook.js | 22 + .../payloads/v9/webhook.js.map | 1 + .../discord-api-types/rest/common.d.ts | 201 + .../discord-api-types/rest/common.d.ts.map | 1 + node_modules/discord-api-types/rest/common.js | 205 + .../discord-api-types/rest/common.js.map | 1 + .../discord-api-types/rest/index.d.ts | 2 + .../discord-api-types/rest/index.d.ts.map | 1 + node_modules/discord-api-types/rest/index.js | 20 + .../discord-api-types/rest/index.js.map | 1 + node_modules/discord-api-types/rest/index.mjs | 9 + .../discord-api-types/rest/v10/auditLog.d.ts | 27 + .../rest/v10/auditLog.d.ts.map | 1 + .../discord-api-types/rest/v10/auditLog.js | 3 + .../rest/v10/auditLog.js.map | 1 + .../discord-api-types/rest/v10/channel.d.ts | 583 ++ .../rest/v10/channel.d.ts.map | 1 + .../discord-api-types/rest/v10/channel.js | 3 + .../discord-api-types/rest/v10/channel.js.map | 1 + .../discord-api-types/rest/v10/emoji.d.ts | 56 + .../discord-api-types/rest/v10/emoji.d.ts.map | 1 + .../discord-api-types/rest/v10/emoji.js | 3 + .../discord-api-types/rest/v10/emoji.js.map | 1 + .../discord-api-types/rest/v10/gateway.d.ts | 10 + .../rest/v10/gateway.d.ts.map | 1 + .../discord-api-types/rest/v10/gateway.js | 3 + .../discord-api-types/rest/v10/gateway.js.map | 1 + .../discord-api-types/rest/v10/guild.d.ts | 768 ++ .../discord-api-types/rest/v10/guild.d.ts.map | 1 + .../discord-api-types/rest/v10/guild.js | 3 + .../discord-api-types/rest/v10/guild.js.map | 1 + .../rest/v10/guildScheduledEvent.d.ts | 127 + .../rest/v10/guildScheduledEvent.d.ts.map | 1 + .../rest/v10/guildScheduledEvent.js | 3 + .../rest/v10/guildScheduledEvent.js.map | 1 + .../discord-api-types/rest/v10/index.d.ts | 572 ++ .../discord-api-types/rest/v10/index.d.ts.map | 1 + .../discord-api-types/rest/v10/index.js | 778 ++ .../discord-api-types/rest/v10/index.js.map | 1 + .../discord-api-types/rest/v10/index.mjs | 9 + .../rest/v10/interactions.d.ts | 179 + .../rest/v10/interactions.d.ts.map | 1 + .../rest/v10/interactions.js | 3 + .../rest/v10/interactions.js.map | 1 + .../discord-api-types/rest/v10/invite.d.ts | 25 + .../rest/v10/invite.d.ts.map | 1 + .../discord-api-types/rest/v10/invite.js | 3 + .../discord-api-types/rest/v10/invite.js.map | 1 + .../discord-api-types/rest/v10/oauth2.d.ts | 173 + .../rest/v10/oauth2.d.ts.map | 1 + .../discord-api-types/rest/v10/oauth2.js | 3 + .../discord-api-types/rest/v10/oauth2.js.map | 1 + .../rest/v10/stageInstance.d.ts | 56 + .../rest/v10/stageInstance.d.ts.map | 1 + .../rest/v10/stageInstance.js | 3 + .../rest/v10/stageInstance.js.map | 1 + .../discord-api-types/rest/v10/sticker.d.ts | 71 + .../rest/v10/sticker.d.ts.map | 1 + .../discord-api-types/rest/v10/sticker.js | 3 + .../discord-api-types/rest/v10/sticker.js.map | 1 + .../discord-api-types/rest/v10/template.d.ts | 63 + .../rest/v10/template.d.ts.map | 1 + .../discord-api-types/rest/v10/template.js | 3 + .../rest/v10/template.js.map | 1 + .../discord-api-types/rest/v10/user.d.ts | 85 + .../discord-api-types/rest/v10/user.d.ts.map | 1 + .../discord-api-types/rest/v10/user.js | 3 + .../discord-api-types/rest/v10/user.js.map | 1 + .../discord-api-types/rest/v10/voice.d.ts | 6 + .../discord-api-types/rest/v10/voice.d.ts.map | 1 + .../discord-api-types/rest/v10/voice.js | 3 + .../discord-api-types/rest/v10/voice.js.map | 1 + .../discord-api-types/rest/v10/webhook.d.ts | 235 + .../rest/v10/webhook.d.ts.map | 1 + .../discord-api-types/rest/v10/webhook.js | 3 + .../discord-api-types/rest/v10/webhook.js.map | 1 + .../discord-api-types/rest/v6/auditLog.d.ts | 16 + .../rest/v6/auditLog.d.ts.map | 1 + .../discord-api-types/rest/v6/auditLog.js | 3 + .../discord-api-types/rest/v6/auditLog.js.map | 1 + .../discord-api-types/rest/v6/channel.d.ts | 252 + .../rest/v6/channel.d.ts.map | 1 + .../discord-api-types/rest/v6/channel.js | 14 + .../discord-api-types/rest/v6/channel.js.map | 1 + .../discord-api-types/rest/v6/emoji.d.ts | 45 + .../discord-api-types/rest/v6/emoji.d.ts.map | 1 + .../discord-api-types/rest/v6/emoji.js | 3 + .../discord-api-types/rest/v6/emoji.js.map | 1 + .../discord-api-types/rest/v6/gateway.d.ts | 12 + .../rest/v6/gateway.d.ts.map | 1 + .../discord-api-types/rest/v6/gateway.js | 3 + .../discord-api-types/rest/v6/gateway.js.map | 1 + .../discord-api-types/rest/v6/guild.d.ts | 426 + .../discord-api-types/rest/v6/guild.d.ts.map | 1 + .../discord-api-types/rest/v6/guild.js | 3 + .../discord-api-types/rest/v6/guild.js.map | 1 + .../discord-api-types/rest/v6/index.d.ts | 348 + .../discord-api-types/rest/v6/index.d.ts.map | 1 + .../discord-api-types/rest/v6/index.js | 480 + .../discord-api-types/rest/v6/index.js.map | 1 + .../discord-api-types/rest/v6/index.mjs | 8 + .../discord-api-types/rest/v6/invite.d.ts | 18 + .../discord-api-types/rest/v6/invite.d.ts.map | 1 + .../discord-api-types/rest/v6/invite.js | 3 + .../discord-api-types/rest/v6/invite.js.map | 1 + .../discord-api-types/rest/v6/oauth2.d.ts | 164 + .../discord-api-types/rest/v6/oauth2.d.ts.map | 1 + .../discord-api-types/rest/v6/oauth2.js | 3 + .../discord-api-types/rest/v6/oauth2.js.map | 1 + .../discord-api-types/rest/v6/user.d.ts | 73 + .../discord-api-types/rest/v6/user.d.ts.map | 1 + .../discord-api-types/rest/v6/user.js | 3 + .../discord-api-types/rest/v6/user.js.map | 1 + .../discord-api-types/rest/v6/voice.d.ts | 7 + .../discord-api-types/rest/v6/voice.d.ts.map | 1 + .../discord-api-types/rest/v6/voice.js | 3 + .../discord-api-types/rest/v6/voice.js.map | 1 + .../discord-api-types/rest/v6/webhook.d.ts | 126 + .../rest/v6/webhook.d.ts.map | 1 + .../discord-api-types/rest/v6/webhook.js | 3 + .../discord-api-types/rest/v6/webhook.js.map | 1 + .../discord-api-types/rest/v8/auditLog.d.ts | 31 + .../rest/v8/auditLog.d.ts.map | 1 + .../discord-api-types/rest/v8/auditLog.js | 3 + .../discord-api-types/rest/v8/auditLog.js.map | 1 + .../discord-api-types/rest/v8/channel.d.ts | 518 + .../rest/v8/channel.d.ts.map | 1 + .../discord-api-types/rest/v8/channel.js | 3 + .../discord-api-types/rest/v8/channel.js.map | 1 + .../discord-api-types/rest/v8/emoji.d.ts | 63 + .../discord-api-types/rest/v8/emoji.d.ts.map | 1 + .../discord-api-types/rest/v8/emoji.js | 3 + .../discord-api-types/rest/v8/emoji.js.map | 1 + .../discord-api-types/rest/v8/gateway.d.ts | 12 + .../rest/v8/gateway.d.ts.map | 1 + .../discord-api-types/rest/v8/gateway.js | 3 + .../discord-api-types/rest/v8/gateway.js.map | 1 + .../discord-api-types/rest/v8/guild.d.ts | 826 ++ .../discord-api-types/rest/v8/guild.d.ts.map | 1 + .../discord-api-types/rest/v8/guild.js | 3 + .../discord-api-types/rest/v8/guild.js.map | 1 + .../rest/v8/guildScheduledEvent.d.ts | 130 + .../rest/v8/guildScheduledEvent.d.ts.map | 1 + .../rest/v8/guildScheduledEvent.js | 3 + .../rest/v8/guildScheduledEvent.js.map | 1 + .../discord-api-types/rest/v8/index.d.ts | 540 ++ .../discord-api-types/rest/v8/index.d.ts.map | 1 + .../discord-api-types/rest/v8/index.js | 729 ++ .../discord-api-types/rest/v8/index.js.map | 1 + .../discord-api-types/rest/v8/index.mjs | 9 + .../rest/v8/interactions.d.ts | 218 + .../rest/v8/interactions.d.ts.map | 1 + .../discord-api-types/rest/v8/interactions.js | 3 + .../rest/v8/interactions.js.map | 1 + .../discord-api-types/rest/v8/invite.d.ts | 30 + .../discord-api-types/rest/v8/invite.d.ts.map | 1 + .../discord-api-types/rest/v8/invite.js | 3 + .../discord-api-types/rest/v8/invite.js.map | 1 + .../discord-api-types/rest/v8/oauth2.d.ts | 199 + .../discord-api-types/rest/v8/oauth2.d.ts.map | 1 + .../discord-api-types/rest/v8/oauth2.js | 3 + .../discord-api-types/rest/v8/oauth2.js.map | 1 + .../rest/v8/stageInstance.d.ts | 58 + .../rest/v8/stageInstance.d.ts.map | 1 + .../rest/v8/stageInstance.js | 3 + .../rest/v8/stageInstance.js.map | 1 + .../discord-api-types/rest/v8/sticker.d.ts | 71 + .../rest/v8/sticker.d.ts.map | 1 + .../discord-api-types/rest/v8/sticker.js | 3 + .../discord-api-types/rest/v8/sticker.js.map | 1 + .../discord-api-types/rest/v8/template.d.ts | 73 + .../rest/v8/template.d.ts.map | 1 + .../discord-api-types/rest/v8/template.js | 3 + .../discord-api-types/rest/v8/template.js.map | 1 + .../discord-api-types/rest/v8/user.d.ts | 99 + .../discord-api-types/rest/v8/user.d.ts.map | 1 + .../discord-api-types/rest/v8/user.js | 3 + .../discord-api-types/rest/v8/user.js.map | 1 + .../discord-api-types/rest/v8/voice.d.ts | 7 + .../discord-api-types/rest/v8/voice.d.ts.map | 1 + .../discord-api-types/rest/v8/voice.js | 3 + .../discord-api-types/rest/v8/voice.js.map | 1 + .../discord-api-types/rest/v8/webhook.d.ts | 255 + .../rest/v8/webhook.d.ts.map | 1 + .../discord-api-types/rest/v8/webhook.js | 3 + .../discord-api-types/rest/v8/webhook.js.map | 1 + .../discord-api-types/rest/v9/auditLog.d.ts | 27 + .../rest/v9/auditLog.d.ts.map | 1 + .../discord-api-types/rest/v9/auditLog.js | 3 + .../discord-api-types/rest/v9/auditLog.js.map | 1 + .../discord-api-types/rest/v9/channel.d.ts | 603 ++ .../rest/v9/channel.d.ts.map | 1 + .../discord-api-types/rest/v9/channel.js | 3 + .../discord-api-types/rest/v9/channel.js.map | 1 + .../discord-api-types/rest/v9/emoji.d.ts | 56 + .../discord-api-types/rest/v9/emoji.d.ts.map | 1 + .../discord-api-types/rest/v9/emoji.js | 3 + .../discord-api-types/rest/v9/emoji.js.map | 1 + .../discord-api-types/rest/v9/gateway.d.ts | 10 + .../rest/v9/gateway.d.ts.map | 1 + .../discord-api-types/rest/v9/gateway.js | 3 + .../discord-api-types/rest/v9/gateway.js.map | 1 + .../discord-api-types/rest/v9/guild.d.ts | 774 ++ .../discord-api-types/rest/v9/guild.d.ts.map | 1 + .../discord-api-types/rest/v9/guild.js | 3 + .../discord-api-types/rest/v9/guild.js.map | 1 + .../rest/v9/guildScheduledEvent.d.ts | 127 + .../rest/v9/guildScheduledEvent.d.ts.map | 1 + .../rest/v9/guildScheduledEvent.js | 3 + .../rest/v9/guildScheduledEvent.js.map | 1 + .../discord-api-types/rest/v9/index.d.ts | 574 ++ .../discord-api-types/rest/v9/index.d.ts.map | 1 + .../discord-api-types/rest/v9/index.js | 785 ++ .../discord-api-types/rest/v9/index.js.map | 1 + .../discord-api-types/rest/v9/index.mjs | 9 + .../rest/v9/interactions.d.ts | 179 + .../rest/v9/interactions.d.ts.map | 1 + .../discord-api-types/rest/v9/interactions.js | 3 + .../rest/v9/interactions.js.map | 1 + .../discord-api-types/rest/v9/invite.d.ts | 25 + .../discord-api-types/rest/v9/invite.d.ts.map | 1 + .../discord-api-types/rest/v9/invite.js | 3 + .../discord-api-types/rest/v9/invite.js.map | 1 + .../discord-api-types/rest/v9/oauth2.d.ts | 173 + .../discord-api-types/rest/v9/oauth2.d.ts.map | 1 + .../discord-api-types/rest/v9/oauth2.js | 3 + .../discord-api-types/rest/v9/oauth2.js.map | 1 + .../rest/v9/stageInstance.d.ts | 56 + .../rest/v9/stageInstance.d.ts.map | 1 + .../rest/v9/stageInstance.js | 3 + .../rest/v9/stageInstance.js.map | 1 + .../discord-api-types/rest/v9/sticker.d.ts | 71 + .../rest/v9/sticker.d.ts.map | 1 + .../discord-api-types/rest/v9/sticker.js | 3 + .../discord-api-types/rest/v9/sticker.js.map | 1 + .../discord-api-types/rest/v9/template.d.ts | 63 + .../rest/v9/template.d.ts.map | 1 + .../discord-api-types/rest/v9/template.js | 3 + .../discord-api-types/rest/v9/template.js.map | 1 + .../discord-api-types/rest/v9/user.d.ts | 85 + .../discord-api-types/rest/v9/user.d.ts.map | 1 + .../discord-api-types/rest/v9/user.js | 3 + .../discord-api-types/rest/v9/user.js.map | 1 + .../discord-api-types/rest/v9/voice.d.ts | 6 + .../discord-api-types/rest/v9/voice.d.ts.map | 1 + .../discord-api-types/rest/v9/voice.js | 3 + .../discord-api-types/rest/v9/voice.js.map | 1 + .../discord-api-types/rest/v9/webhook.d.ts | 235 + .../rest/v9/webhook.d.ts.map | 1 + .../discord-api-types/rest/v9/webhook.js | 3 + .../discord-api-types/rest/v9/webhook.js.map | 1 + .../discord-api-types/rpc/common.d.ts | 33 + .../discord-api-types/rpc/common.d.ts.map | 1 + node_modules/discord-api-types/rpc/common.js | 38 + .../discord-api-types/rpc/common.js.map | 1 + node_modules/discord-api-types/rpc/index.d.ts | 2 + .../discord-api-types/rpc/index.d.ts.map | 1 + node_modules/discord-api-types/rpc/index.js | 20 + .../discord-api-types/rpc/index.js.map | 1 + node_modules/discord-api-types/rpc/index.mjs | 5 + node_modules/discord-api-types/rpc/v10.d.ts | 2 + .../discord-api-types/rpc/v10.d.ts.map | 1 + node_modules/discord-api-types/rpc/v10.js | 18 + node_modules/discord-api-types/rpc/v10.js.map | 1 + node_modules/discord-api-types/rpc/v10.mjs | 5 + node_modules/discord-api-types/rpc/v8.d.ts | 2 + .../discord-api-types/rpc/v8.d.ts.map | 1 + node_modules/discord-api-types/rpc/v8.js | 18 + node_modules/discord-api-types/rpc/v8.js.map | 1 + node_modules/discord-api-types/rpc/v8.mjs | 5 + node_modules/discord-api-types/rpc/v9.d.ts | 2 + .../discord-api-types/rpc/v9.d.ts.map | 1 + node_modules/discord-api-types/rpc/v9.js | 18 + node_modules/discord-api-types/rpc/v9.js.map | 1 + node_modules/discord-api-types/rpc/v9.mjs | 5 + .../discord-api-types/utils/index.d.ts | 2 + .../discord-api-types/utils/index.d.ts.map | 1 + node_modules/discord-api-types/utils/index.js | 20 + .../discord-api-types/utils/index.js.map | 1 + .../discord-api-types/utils/index.mjs | 16 + .../discord-api-types/utils/internals.d.ts | 33 + .../utils/internals.d.ts.map | 1 + .../discord-api-types/utils/internals.js | 3 + .../discord-api-types/utils/internals.js.map | 1 + node_modules/discord-api-types/utils/v10.d.ts | 80 + .../discord-api-types/utils/v10.d.ts.map | 1 + node_modules/discord-api-types/utils/v10.js | 128 + .../discord-api-types/utils/v10.js.map | 1 + node_modules/discord-api-types/utils/v10.mjs | 16 + node_modules/discord-api-types/utils/v8.d.ts | 58 + .../discord-api-types/utils/v8.d.ts.map | 1 + node_modules/discord-api-types/utils/v8.js | 89 + .../discord-api-types/utils/v8.js.map | 1 + node_modules/discord-api-types/utils/v8.mjs | 11 + node_modules/discord-api-types/utils/v9.d.ts | 80 + .../discord-api-types/utils/v9.d.ts.map | 1 + node_modules/discord-api-types/utils/v9.js | 128 + .../discord-api-types/utils/v9.js.map | 1 + node_modules/discord-api-types/utils/v9.mjs | 16 + node_modules/discord-api-types/v10.d.ts | 7 + node_modules/discord-api-types/v10.d.ts.map | 1 + node_modules/discord-api-types/v10.js | 24 + node_modules/discord-api-types/v10.js.map | 1 + node_modules/discord-api-types/v10.mjs | 71 + node_modules/discord-api-types/v6.d.ts | 5 + node_modules/discord-api-types/v6.d.ts.map | 1 + node_modules/discord-api-types/v6.js | 21 + node_modules/discord-api-types/v6.js.map | 1 + node_modules/discord-api-types/v6.mjs | 43 + node_modules/discord-api-types/v8.d.ts | 7 + node_modules/discord-api-types/v8.d.ts.map | 1 + node_modules/discord-api-types/v8.js | 24 + node_modules/discord-api-types/v8.js.map | 1 + node_modules/discord-api-types/v8.mjs | 66 + node_modules/discord-api-types/v9.d.ts | 7 + node_modules/discord-api-types/v9.d.ts.map | 1 + node_modules/discord-api-types/v9.js | 24 + node_modules/discord-api-types/v9.js.map | 1 + node_modules/discord-api-types/v9.mjs | 71 + .../discord-api-types/voice/index.d.ts | 2 + .../discord-api-types/voice/index.d.ts.map | 1 + node_modules/discord-api-types/voice/index.js | 20 + .../discord-api-types/voice/index.js.map | 1 + .../discord-api-types/voice/index.mjs | 6 + node_modules/discord-api-types/voice/v4.d.ts | 108 + .../discord-api-types/voice/v4.d.ts.map | 1 + node_modules/discord-api-types/voice/v4.js | 113 + .../discord-api-types/voice/v4.js.map | 1 + node_modules/discord-api-types/voice/v4.mjs | 6 + node_modules/discord.js/LICENSE | 191 + node_modules/discord.js/README.md | 125 + node_modules/discord.js/package.json | 90 + node_modules/discord.js/src/WebSocket.js | 39 + .../discord.js/src/client/BaseClient.js | 81 + node_modules/discord.js/src/client/Client.js | 621 ++ .../discord.js/src/client/WebhookClient.js | 61 + .../discord.js/src/client/actions/Action.js | 115 + .../src/client/actions/ActionsManager.js | 66 + .../src/client/actions/ChannelCreate.js | 23 + .../src/client/actions/ChannelDelete.js | 39 + .../src/client/actions/ChannelUpdate.js | 34 + .../src/client/actions/GuildBanAdd.js | 20 + .../src/client/actions/GuildBanRemove.js | 25 + .../actions/GuildChannelsPositionUpdate.js | 21 + .../src/client/actions/GuildDelete.js | 65 + .../src/client/actions/GuildEmojiCreate.js | 20 + .../src/client/actions/GuildEmojiDelete.js | 21 + .../src/client/actions/GuildEmojiUpdate.js | 20 + .../src/client/actions/GuildEmojisUpdate.js | 34 + .../client/actions/GuildIntegrationsUpdate.js | 19 + .../src/client/actions/GuildMemberRemove.js | 32 + .../src/client/actions/GuildMemberUpdate.js | 43 + .../src/client/actions/GuildRoleCreate.js | 25 + .../src/client/actions/GuildRoleDelete.js | 31 + .../src/client/actions/GuildRoleUpdate.js | 39 + .../actions/GuildRolesPositionUpdate.js | 21 + .../actions/GuildScheduledEventCreate.js | 27 + .../actions/GuildScheduledEventDelete.js | 31 + .../actions/GuildScheduledEventUpdate.js | 30 + .../actions/GuildScheduledEventUserAdd.js | 32 + .../actions/GuildScheduledEventUserRemove.js | 32 + .../src/client/actions/GuildStickerCreate.js | 20 + .../src/client/actions/GuildStickerDelete.js | 21 + .../src/client/actions/GuildStickerUpdate.js | 20 + .../src/client/actions/GuildStickersUpdate.js | 34 + .../src/client/actions/GuildUpdate.js | 33 + .../src/client/actions/InteractionCreate.js | 98 + .../src/client/actions/InviteCreate.js | 28 + .../src/client/actions/InviteDelete.js | 30 + .../src/client/actions/MessageCreate.js | 46 + .../src/client/actions/MessageDelete.js | 32 + .../src/client/actions/MessageDeleteBulk.js | 46 + .../src/client/actions/MessageReactionAdd.js | 55 + .../client/actions/MessageReactionRemove.js | 45 + .../actions/MessageReactionRemoveAll.js | 33 + .../actions/MessageReactionRemoveEmoji.js | 28 + .../src/client/actions/MessageUpdate.js | 26 + .../src/client/actions/PresenceUpdate.js | 42 + .../src/client/actions/StageInstanceCreate.js | 28 + .../src/client/actions/StageInstanceDelete.js | 33 + .../src/client/actions/StageInstanceUpdate.js | 30 + .../src/client/actions/ThreadCreate.js | 24 + .../src/client/actions/ThreadDelete.js | 32 + .../src/client/actions/ThreadListSync.js | 59 + .../src/client/actions/ThreadMemberUpdate.js | 30 + .../src/client/actions/ThreadMembersUpdate.js | 34 + .../src/client/actions/TypingStart.js | 29 + .../src/client/actions/UserUpdate.js | 35 + .../src/client/actions/VoiceStateUpdate.js | 43 + .../src/client/actions/WebhooksUpdate.js | 19 + .../src/client/voice/ClientVoiceManager.js | 44 + .../src/client/websocket/WebSocketManager.js | 385 + .../src/client/websocket/WebSocketShard.js | 883 ++ .../handlers/APPLICATION_COMMAND_CREATE.js | 18 + .../handlers/APPLICATION_COMMAND_DELETE.js | 20 + .../handlers/APPLICATION_COMMAND_UPDATE.js | 20 + .../websocket/handlers/CHANNEL_CREATE.js | 5 + .../websocket/handlers/CHANNEL_DELETE.js | 5 + .../websocket/handlers/CHANNEL_PINS_UPDATE.js | 22 + .../websocket/handlers/CHANNEL_UPDATE.js | 16 + .../websocket/handlers/GUILD_BAN_ADD.js | 5 + .../websocket/handlers/GUILD_BAN_REMOVE.js | 5 + .../client/websocket/handlers/GUILD_CREATE.js | 25 + .../client/websocket/handlers/GUILD_DELETE.js | 5 + .../websocket/handlers/GUILD_EMOJIS_UPDATE.js | 5 + .../handlers/GUILD_INTEGRATIONS_UPDATE.js | 5 + .../websocket/handlers/GUILD_MEMBERS_CHUNK.js | 36 + .../websocket/handlers/GUILD_MEMBER_ADD.js | 19 + .../websocket/handlers/GUILD_MEMBER_REMOVE.js | 5 + .../websocket/handlers/GUILD_MEMBER_UPDATE.js | 5 + .../websocket/handlers/GUILD_ROLE_CREATE.js | 5 + .../websocket/handlers/GUILD_ROLE_DELETE.js | 5 + .../websocket/handlers/GUILD_ROLE_UPDATE.js | 5 + .../handlers/GUILD_SCHEDULED_EVENT_CREATE.js | 5 + .../handlers/GUILD_SCHEDULED_EVENT_DELETE.js | 5 + .../handlers/GUILD_SCHEDULED_EVENT_UPDATE.js | 5 + .../GUILD_SCHEDULED_EVENT_USER_ADD.js | 5 + .../GUILD_SCHEDULED_EVENT_USER_REMOVE.js | 5 + .../handlers/GUILD_STICKERS_UPDATE.js | 5 + .../client/websocket/handlers/GUILD_UPDATE.js | 5 + .../websocket/handlers/INTERACTION_CREATE.js | 5 + .../websocket/handlers/INVITE_CREATE.js | 5 + .../websocket/handlers/INVITE_DELETE.js | 5 + .../websocket/handlers/MESSAGE_CREATE.js | 5 + .../websocket/handlers/MESSAGE_DELETE.js | 5 + .../websocket/handlers/MESSAGE_DELETE_BULK.js | 5 + .../handlers/MESSAGE_REACTION_ADD.js | 5 + .../handlers/MESSAGE_REACTION_REMOVE.js | 5 + .../handlers/MESSAGE_REACTION_REMOVE_ALL.js | 5 + .../handlers/MESSAGE_REACTION_REMOVE_EMOJI.js | 5 + .../websocket/handlers/MESSAGE_UPDATE.js | 16 + .../websocket/handlers/PRESENCE_UPDATE.js | 5 + .../src/client/websocket/handlers/READY.js | 27 + .../src/client/websocket/handlers/RESUMED.js | 14 + .../handlers/STAGE_INSTANCE_CREATE.js | 5 + .../handlers/STAGE_INSTANCE_DELETE.js | 5 + .../handlers/STAGE_INSTANCE_UPDATE.js | 5 + .../websocket/handlers/THREAD_CREATE.js | 5 + .../websocket/handlers/THREAD_DELETE.js | 5 + .../websocket/handlers/THREAD_LIST_SYNC.js | 5 + .../handlers/THREAD_MEMBERS_UPDATE.js | 5 + .../handlers/THREAD_MEMBER_UPDATE.js | 5 + .../websocket/handlers/THREAD_UPDATE.js | 16 + .../client/websocket/handlers/TYPING_START.js | 5 + .../client/websocket/handlers/USER_UPDATE.js | 5 + .../websocket/handlers/VOICE_SERVER_UPDATE.js | 6 + .../websocket/handlers/VOICE_STATE_UPDATE.js | 5 + .../websocket/handlers/WEBHOOKS_UPDATE.js | 5 + .../src/client/websocket/handlers/index.js | 61 + .../discord.js/src/errors/DJSError.js | 61 + .../discord.js/src/errors/Messages.js | 170 + node_modules/discord.js/src/errors/index.js | 4 + node_modules/discord.js/src/index.js | 160 + .../src/managers/ApplicationCommandManager.js | 264 + .../ApplicationCommandPermissionsManager.js | 417 + .../src/managers/BaseGuildEmojiManager.js | 80 + .../discord.js/src/managers/BaseManager.js | 19 + .../discord.js/src/managers/CachedManager.js | 64 + .../discord.js/src/managers/ChannelManager.js | 120 + .../discord.js/src/managers/DataManager.js | 61 + .../GuildApplicationCommandManager.js | 28 + .../src/managers/GuildBanManager.js | 183 + .../src/managers/GuildChannelManager.js | 449 + .../src/managers/GuildEmojiManager.js | 171 + .../src/managers/GuildEmojiRoleManager.js | 118 + .../src/managers/GuildInviteManager.js | 213 + .../discord.js/src/managers/GuildManager.js | 304 + .../src/managers/GuildMemberManager.js | 462 + .../src/managers/GuildMemberRoleManager.js | 191 + .../managers/GuildScheduledEventManager.js | 296 + .../src/managers/GuildStickerManager.js | 179 + .../discord.js/src/managers/MessageManager.js | 233 + .../managers/PermissionOverwriteManager.js | 166 + .../src/managers/PresenceManager.js | 58 + .../src/managers/ReactionManager.js | 66 + .../src/managers/ReactionUserManager.js | 71 + .../discord.js/src/managers/RoleManager.js | 349 + .../src/managers/StageInstanceManager.js | 158 + .../discord.js/src/managers/ThreadManager.js | 253 + .../src/managers/ThreadMemberManager.js | 124 + .../discord.js/src/managers/UserManager.js | 141 + .../src/managers/VoiceStateManager.js | 37 + .../discord.js/src/rest/APIRequest.js | 83 + node_modules/discord.js/src/rest/APIRouter.js | 53 + .../discord.js/src/rest/DiscordAPIError.js | 82 + node_modules/discord.js/src/rest/HTTPError.js | 61 + .../discord.js/src/rest/RESTManager.js | 62 + .../discord.js/src/rest/RateLimitError.js | 55 + .../discord.js/src/rest/RequestHandler.js | 379 + node_modules/discord.js/src/sharding/Shard.js | 443 + .../src/sharding/ShardClientUtil.js | 275 + .../src/sharding/ShardingManager.js | 318 + .../src/structures/AnonymousGuild.js | 98 + .../src/structures/ApplicationCommand.js | 593 ++ .../src/structures/AutocompleteInteraction.js | 108 + .../discord.js/src/structures/Base.js | 43 + .../src/structures/BaseCommandInteraction.js | 211 + .../discord.js/src/structures/BaseGuild.js | 116 + .../src/structures/BaseGuildEmoji.js | 56 + .../src/structures/BaseGuildTextChannel.js | 184 + .../src/structures/BaseGuildVoiceChannel.js | 124 + .../src/structures/BaseMessageComponent.js | 110 + .../src/structures/ButtonInteraction.js | 11 + .../src/structures/CategoryChannel.js | 61 + .../discord.js/src/structures/Channel.js | 253 + .../src/structures/ClientApplication.js | 141 + .../src/structures/ClientPresence.js | 80 + .../discord.js/src/structures/ClientUser.js | 181 + .../src/structures/CommandInteraction.js | 41 + .../CommandInteractionOptionResolver.js | 276 + .../src/structures/ContextMenuInteraction.js | 65 + .../discord.js/src/structures/DMChannel.js | 109 + .../src/structures/DirectoryChannel.js | 19 + .../discord.js/src/structures/Emoji.js | 148 + .../discord.js/src/structures/Guild.js | 1429 +++ .../src/structures/GuildAuditLogs.js | 638 ++ .../discord.js/src/structures/GuildBan.js | 59 + .../discord.js/src/structures/GuildChannel.js | 453 + .../discord.js/src/structures/GuildEmoji.js | 161 + .../discord.js/src/structures/GuildMember.js | 490 + .../discord.js/src/structures/GuildPreview.js | 191 + .../src/structures/GuildPreviewEmoji.js | 27 + .../src/structures/GuildScheduledEvent.js | 441 + .../src/structures/GuildTemplate.js | 236 + .../discord.js/src/structures/Integration.js | 186 + .../src/structures/IntegrationApplication.js | 96 + .../discord.js/src/structures/Interaction.js | 290 + .../src/structures/InteractionCollector.js | 248 + .../src/structures/InteractionWebhook.js | 43 + .../discord.js/src/structures/Invite.js | 327 + .../discord.js/src/structures/InviteGuild.js | 23 + .../src/structures/InviteStageInstance.js | 86 + .../discord.js/src/structures/Message.js | 989 ++ .../src/structures/MessageActionRow.js | 103 + .../src/structures/MessageAttachment.js | 171 + .../src/structures/MessageButton.js | 165 + .../src/structures/MessageCollector.js | 146 + .../structures/MessageComponentInteraction.js | 120 + .../MessageContextMenuInteraction.js | 20 + .../discord.js/src/structures/MessageEmbed.js | 586 ++ .../src/structures/MessageMentions.js | 242 + .../src/structures/MessagePayload.js | 287 + .../src/structures/MessageReaction.js | 131 + .../src/structures/MessageSelectMenu.js | 212 + .../discord.js/src/structures/Modal.js | 103 + .../structures/ModalSubmitFieldsResolver.js | 53 + .../src/structures/ModalSubmitInteraction.js | 119 + .../discord.js/src/structures/NewsChannel.js | 31 + .../discord.js/src/structures/OAuth2Guild.js | 28 + .../src/structures/PartialGroupDMChannel.js | 57 + .../src/structures/PermissionOverwrites.js | 196 + .../discord.js/src/structures/Presence.js | 406 + .../src/structures/ReactionCollector.js | 229 + .../src/structures/ReactionEmoji.js | 31 + .../discord.js/src/structures/Role.js | 499 + .../src/structures/SelectMenuInteraction.js | 21 + .../discord.js/src/structures/StageChannel.js | 70 + .../src/structures/StageInstance.js | 208 + .../discord.js/src/structures/Sticker.js | 309 + .../discord.js/src/structures/StickerPack.js | 95 + .../discord.js/src/structures/StoreChannel.js | 56 + .../discord.js/src/structures/Team.js | 118 + .../discord.js/src/structures/TeamMember.js | 71 + .../discord.js/src/structures/TextChannel.js | 33 + .../src/structures/TextInputComponent.js | 201 + .../src/structures/ThreadChannel.js | 554 ++ .../discord.js/src/structures/ThreadMember.js | 94 + .../discord.js/src/structures/Typing.js | 74 + .../discord.js/src/structures/User.js | 326 + .../structures/UserContextMenuInteraction.js | 29 + .../discord.js/src/structures/VoiceChannel.js | 192 + .../discord.js/src/structures/VoiceRegion.js | 53 + .../discord.js/src/structures/VoiceState.js | 275 + .../discord.js/src/structures/Webhook.js | 450 + .../src/structures/WelcomeChannel.js | 60 + .../src/structures/WelcomeScreen.js | 48 + .../discord.js/src/structures/Widget.js | 86 + .../discord.js/src/structures/WidgetMember.js | 98 + .../src/structures/interfaces/Application.js | 146 + .../src/structures/interfaces/Collector.js | 299 + .../interfaces/InteractionResponses.js | 306 + .../structures/interfaces/TextBasedChannel.js | 423 + .../discord.js/src/util/ActivityFlags.js | 44 + .../discord.js/src/util/ApplicationFlags.js | 48 + node_modules/discord.js/src/util/BitField.js | 170 + node_modules/discord.js/src/util/Constants.js | 1454 +++ .../discord.js/src/util/DataResolver.js | 145 + .../discord.js/src/util/Formatters.js | 198 + node_modules/discord.js/src/util/Intents.js | 66 + .../discord.js/src/util/LimitedCollection.js | 131 + .../discord.js/src/util/MessageFlags.js | 48 + node_modules/discord.js/src/util/Options.js | 298 + .../discord.js/src/util/Permissions.js | 182 + .../discord.js/src/util/SnowflakeUtil.js | 92 + node_modules/discord.js/src/util/Sweepers.js | 456 + .../discord.js/src/util/SystemChannelFlags.js | 51 + .../discord.js/src/util/ThreadMemberFlags.js | 30 + node_modules/discord.js/src/util/UserFlags.js | 59 + node_modules/discord.js/src/util/Util.js | 601 ++ node_modules/discord.js/typings/enums.d.ts | 218 + node_modules/discord.js/typings/index.d.ts | 6188 ++++++++++++ .../discord.js/typings/index.test-d.ts | 1342 +++ .../discord.js/typings/rawDataTypes.d.ts | 218 + node_modules/ee-first/LICENSE | 22 + node_modules/ee-first/README.md | 80 + node_modules/ee-first/index.js | 95 + node_modules/ee-first/package.json | 29 + node_modules/encodeurl/HISTORY.md | 14 + node_modules/encodeurl/LICENSE | 22 + node_modules/encodeurl/README.md | 128 + node_modules/encodeurl/index.js | 60 + node_modules/encodeurl/package.json | 40 + node_modules/escape-html/LICENSE | 24 + node_modules/escape-html/Readme.md | 43 + node_modules/escape-html/index.js | 78 + node_modules/escape-html/package.json | 24 + node_modules/etag/HISTORY.md | 83 + node_modules/etag/LICENSE | 22 + node_modules/etag/README.md | 159 + node_modules/etag/index.js | 131 + node_modules/etag/package.json | 47 + node_modules/express/History.md | 3579 +++++++ node_modules/express/LICENSE | 24 + node_modules/express/Readme.md | 166 + node_modules/express/index.js | 11 + node_modules/express/lib/application.js | 661 ++ node_modules/express/lib/express.js | 116 + node_modules/express/lib/middleware/init.js | 43 + node_modules/express/lib/middleware/query.js | 47 + node_modules/express/lib/request.js | 525 + node_modules/express/lib/response.js | 1169 +++ node_modules/express/lib/router/index.js | 673 ++ node_modules/express/lib/router/layer.js | 181 + node_modules/express/lib/router/route.js | 225 + node_modules/express/lib/utils.js | 304 + node_modules/express/lib/view.js | 182 + node_modules/express/package.json | 99 + node_modules/fast-deep-equal/LICENSE | 21 + node_modules/fast-deep-equal/README.md | 96 + node_modules/fast-deep-equal/es6/index.d.ts | 2 + node_modules/fast-deep-equal/es6/index.js | 72 + node_modules/fast-deep-equal/es6/react.d.ts | 2 + node_modules/fast-deep-equal/es6/react.js | 79 + node_modules/fast-deep-equal/index.d.ts | 4 + node_modules/fast-deep-equal/index.js | 46 + node_modules/fast-deep-equal/package.json | 61 + node_modules/fast-deep-equal/react.d.ts | 2 + node_modules/fast-deep-equal/react.js | 53 + node_modules/finalhandler/HISTORY.md | 195 + node_modules/finalhandler/LICENSE | 22 + node_modules/finalhandler/README.md | 147 + node_modules/finalhandler/SECURITY.md | 25 + node_modules/finalhandler/index.js | 336 + node_modules/finalhandler/package.json | 46 + node_modules/form-data/License | 19 + node_modules/form-data/README.md.bak | 358 + node_modules/form-data/Readme.md | 358 + node_modules/form-data/index.d.ts | 62 + node_modules/form-data/lib/browser.js | 2 + node_modules/form-data/lib/form_data.js | 501 + node_modules/form-data/lib/populate.js | 10 + node_modules/form-data/package.json | 68 + node_modules/forwarded/HISTORY.md | 21 + node_modules/forwarded/LICENSE | 22 + node_modules/forwarded/README.md | 57 + node_modules/forwarded/index.js | 90 + node_modules/forwarded/package.json | 45 + node_modules/fresh/HISTORY.md | 70 + node_modules/fresh/LICENSE | 23 + node_modules/fresh/README.md | 119 + node_modules/fresh/index.js | 137 + node_modules/fresh/package.json | 46 + node_modules/function-bind/.editorconfig | 20 + node_modules/function-bind/.eslintrc | 15 + node_modules/function-bind/.jscs.json | 176 + node_modules/function-bind/.npmignore | 22 + node_modules/function-bind/.travis.yml | 168 + node_modules/function-bind/LICENSE | 20 + node_modules/function-bind/README.md | 48 + node_modules/function-bind/implementation.js | 52 + node_modules/function-bind/index.js | 5 + node_modules/function-bind/package.json | 63 + node_modules/function-bind/test/.eslintrc | 9 + node_modules/function-bind/test/index.js | 252 + node_modules/get-intrinsic/.eslintrc | 37 + .../get-intrinsic/.github/FUNDING.yml | 12 + node_modules/get-intrinsic/.nycrc | 9 + node_modules/get-intrinsic/CHANGELOG.md | 91 + node_modules/get-intrinsic/LICENSE | 21 + node_modules/get-intrinsic/README.md | 71 + node_modules/get-intrinsic/index.js | 334 + node_modules/get-intrinsic/package.json | 88 + .../get-intrinsic/test/GetIntrinsic.js | 274 + node_modules/has-symbols/.eslintrc | 11 + node_modules/has-symbols/.github/FUNDING.yml | 12 + node_modules/has-symbols/.nycrc | 9 + node_modules/has-symbols/CHANGELOG.md | 75 + node_modules/has-symbols/LICENSE | 21 + node_modules/has-symbols/README.md | 46 + node_modules/has-symbols/index.js | 13 + node_modules/has-symbols/package.json | 101 + node_modules/has-symbols/shams.js | 42 + node_modules/has-symbols/test/index.js | 22 + .../has-symbols/test/shams/core-js.js | 28 + .../test/shams/get-own-property-symbols.js | 28 + node_modules/has-symbols/test/tests.js | 56 + node_modules/has/LICENSE-MIT | 22 + node_modules/has/README.md | 18 + node_modules/has/package.json | 48 + node_modules/has/src/index.js | 5 + node_modules/has/test/index.js | 10 + node_modules/http-errors/HISTORY.md | 180 + node_modules/http-errors/LICENSE | 23 + node_modules/http-errors/README.md | 169 + node_modules/http-errors/index.js | 289 + node_modules/http-errors/package.json | 50 + node_modules/iconv-lite/Changelog.md | 162 + node_modules/iconv-lite/LICENSE | 21 + node_modules/iconv-lite/README.md | 156 + .../iconv-lite/encodings/dbcs-codec.js | 555 ++ .../iconv-lite/encodings/dbcs-data.js | 176 + node_modules/iconv-lite/encodings/index.js | 22 + node_modules/iconv-lite/encodings/internal.js | 188 + .../iconv-lite/encodings/sbcs-codec.js | 72 + .../encodings/sbcs-data-generated.js | 451 + .../iconv-lite/encodings/sbcs-data.js | 174 + .../encodings/tables/big5-added.json | 122 + .../iconv-lite/encodings/tables/cp936.json | 264 + .../iconv-lite/encodings/tables/cp949.json | 273 + .../iconv-lite/encodings/tables/cp950.json | 177 + .../iconv-lite/encodings/tables/eucjp.json | 182 + .../encodings/tables/gb18030-ranges.json | 1 + .../encodings/tables/gbk-added.json | 55 + .../iconv-lite/encodings/tables/shiftjis.json | 125 + node_modules/iconv-lite/encodings/utf16.js | 177 + node_modules/iconv-lite/encodings/utf7.js | 290 + node_modules/iconv-lite/lib/bom-handling.js | 52 + node_modules/iconv-lite/lib/extend-node.js | 217 + node_modules/iconv-lite/lib/index.d.ts | 24 + node_modules/iconv-lite/lib/index.js | 153 + node_modules/iconv-lite/lib/streams.js | 121 + node_modules/iconv-lite/package.json | 46 + node_modules/ieee754/LICENSE | 11 + node_modules/ieee754/README.md | 51 + node_modules/ieee754/index.d.ts | 10 + node_modules/ieee754/index.js | 85 + node_modules/ieee754/package.json | 52 + node_modules/inherits/LICENSE | 16 + node_modules/inherits/README.md | 42 + node_modules/inherits/inherits.js | 9 + node_modules/inherits/inherits_browser.js | 27 + node_modules/inherits/package.json | 29 + node_modules/ip/README.md | 90 + node_modules/ip/lib/ip.js | 422 + node_modules/ip/package.json | 25 + node_modules/ipaddr.js/LICENSE | 19 + node_modules/ipaddr.js/README.md | 233 + node_modules/ipaddr.js/ipaddr.min.js | 1 + node_modules/ipaddr.js/lib/ipaddr.js | 673 ++ node_modules/ipaddr.js/lib/ipaddr.js.d.ts | 68 + node_modules/ipaddr.js/package.json | 35 + node_modules/lodash.uniqwith/LICENSE | 47 + node_modules/lodash.uniqwith/README.md | 18 + node_modules/lodash.uniqwith/index.js | 898 ++ node_modules/lodash.uniqwith/package.json | 17 + node_modules/media-typer/HISTORY.md | 22 + node_modules/media-typer/LICENSE | 22 + node_modules/media-typer/README.md | 81 + node_modules/media-typer/index.js | 270 + node_modules/media-typer/package.json | 26 + node_modules/memory-pager/.travis.yml | 4 + node_modules/memory-pager/LICENSE | 21 + node_modules/memory-pager/README.md | 65 + node_modules/memory-pager/index.js | 160 + node_modules/memory-pager/package.json | 24 + node_modules/memory-pager/test.js | 80 + node_modules/merge-descriptors/HISTORY.md | 21 + node_modules/merge-descriptors/LICENSE | 23 + node_modules/merge-descriptors/README.md | 48 + node_modules/merge-descriptors/index.js | 60 + node_modules/merge-descriptors/package.json | 32 + node_modules/methods/HISTORY.md | 29 + node_modules/methods/LICENSE | 24 + node_modules/methods/README.md | 51 + node_modules/methods/index.js | 69 + node_modules/methods/package.json | 36 + node_modules/mime-db/HISTORY.md | 507 + node_modules/mime-db/LICENSE | 23 + node_modules/mime-db/README.md | 100 + node_modules/mime-db/db.json | 8519 +++++++++++++++++ node_modules/mime-db/index.js | 12 + node_modules/mime-db/package.json | 60 + node_modules/mime-types/HISTORY.md | 397 + node_modules/mime-types/LICENSE | 23 + node_modules/mime-types/README.md | 113 + node_modules/mime-types/index.js | 188 + node_modules/mime-types/package.json | 44 + node_modules/mime/.npmignore | 0 node_modules/mime/CHANGELOG.md | 164 + node_modules/mime/LICENSE | 21 + node_modules/mime/README.md | 90 + node_modules/mime/cli.js | 8 + node_modules/mime/mime.js | 108 + node_modules/mime/package.json | 44 + node_modules/mime/src/build.js | 53 + node_modules/mime/src/test.js | 60 + node_modules/mime/types.json | 1 + .../.esm-wrapper.mjs | 6 + .../mongodb-connection-string-url/LICENSE | 192 + .../mongodb-connection-string-url/README.md | 25 + .../lib/index.d.ts | 62 + .../lib/index.js | 213 + .../lib/index.js.map | 1 + .../lib/redact.d.ts | 7 + .../lib/redact.js | 87 + .../lib/redact.js.map | 1 + .../package.json | 62 + node_modules/mongodb/LICENSE.md | 201 + node_modules/mongodb/README.md | 280 + node_modules/mongodb/etc/prepare.js | 12 + node_modules/mongodb/lib/admin.js | 123 + node_modules/mongodb/lib/admin.js.map | 1 + node_modules/mongodb/lib/bson.js | 69 + node_modules/mongodb/lib/bson.js.map | 1 + node_modules/mongodb/lib/bulk/common.js | 966 ++ node_modules/mongodb/lib/bulk/common.js.map | 1 + node_modules/mongodb/lib/bulk/ordered.js | 66 + node_modules/mongodb/lib/bulk/ordered.js.map | 1 + node_modules/mongodb/lib/bulk/unordered.js | 91 + .../mongodb/lib/bulk/unordered.js.map | 1 + node_modules/mongodb/lib/change_stream.js | 374 + node_modules/mongodb/lib/change_stream.js.map | 1 + .../mongodb/lib/cmap/auth/auth_provider.js | 36 + .../lib/cmap/auth/auth_provider.js.map | 1 + node_modules/mongodb/lib/cmap/auth/gssapi.js | 190 + .../mongodb/lib/cmap/auth/gssapi.js.map | 1 + .../lib/cmap/auth/mongo_credentials.js | 134 + .../lib/cmap/auth/mongo_credentials.js.map | 1 + node_modules/mongodb/lib/cmap/auth/mongocr.js | 44 + .../mongodb/lib/cmap/auth/mongocr.js.map | 1 + .../mongodb/lib/cmap/auth/mongodb_aws.js | 204 + .../mongodb/lib/cmap/auth/mongodb_aws.js.map | 1 + node_modules/mongodb/lib/cmap/auth/plain.js | 27 + .../mongodb/lib/cmap/auth/plain.js.map | 1 + .../mongodb/lib/cmap/auth/providers.js | 21 + .../mongodb/lib/cmap/auth/providers.js.map | 1 + node_modules/mongodb/lib/cmap/auth/scram.js | 288 + .../mongodb/lib/cmap/auth/scram.js.map | 1 + node_modules/mongodb/lib/cmap/auth/x509.js | 39 + .../mongodb/lib/cmap/auth/x509.js.map | 1 + .../lib/cmap/command_monitoring_events.js | 272 + .../lib/cmap/command_monitoring_events.js.map | 1 + node_modules/mongodb/lib/cmap/commands.js | 633 ++ node_modules/mongodb/lib/cmap/commands.js.map | 1 + node_modules/mongodb/lib/cmap/connect.js | 390 + node_modules/mongodb/lib/cmap/connect.js.map | 1 + node_modules/mongodb/lib/cmap/connection.js | 532 + .../mongodb/lib/cmap/connection.js.map | 1 + .../mongodb/lib/cmap/connection_pool.js | 497 + .../mongodb/lib/cmap/connection_pool.js.map | 1 + .../lib/cmap/connection_pool_events.js | 147 + .../lib/cmap/connection_pool_events.js.map | 1 + node_modules/mongodb/lib/cmap/errors.js | 33 + node_modules/mongodb/lib/cmap/errors.js.map | 1 + .../mongodb/lib/cmap/message_stream.js | 175 + .../mongodb/lib/cmap/message_stream.js.map | 1 + node_modules/mongodb/lib/cmap/metrics.js | 62 + node_modules/mongodb/lib/cmap/metrics.js.map | 1 + .../mongodb/lib/cmap/stream_description.js | 51 + .../lib/cmap/stream_description.js.map | 1 + .../lib/cmap/wire_protocol/compression.js | 96 + .../lib/cmap/wire_protocol/compression.js.map | 1 + .../lib/cmap/wire_protocol/constants.js | 17 + .../lib/cmap/wire_protocol/constants.js.map | 1 + .../mongodb/lib/cmap/wire_protocol/shared.js | 55 + .../lib/cmap/wire_protocol/shared.js.map | 1 + node_modules/mongodb/lib/collection.js | 537 ++ node_modules/mongodb/lib/collection.js.map | 1 + node_modules/mongodb/lib/connection_string.js | 1094 +++ .../mongodb/lib/connection_string.js.map | 1 + node_modules/mongodb/lib/constants.js | 129 + node_modules/mongodb/lib/constants.js.map | 1 + .../mongodb/lib/cursor/abstract_cursor.js | 652 ++ .../mongodb/lib/cursor/abstract_cursor.js.map | 1 + .../mongodb/lib/cursor/aggregation_cursor.js | 172 + .../lib/cursor/aggregation_cursor.js.map | 1 + .../lib/cursor/change_stream_cursor.js | 115 + .../lib/cursor/change_stream_cursor.js.map | 1 + .../mongodb/lib/cursor/find_cursor.js | 382 + .../mongodb/lib/cursor/find_cursor.js.map | 1 + .../lib/cursor/list_collections_cursor.js | 37 + .../lib/cursor/list_collections_cursor.js.map | 1 + .../mongodb/lib/cursor/list_indexes_cursor.js | 36 + .../lib/cursor/list_indexes_cursor.js.map | 1 + node_modules/mongodb/lib/db.js | 334 + node_modules/mongodb/lib/db.js.map | 1 + node_modules/mongodb/lib/deps.js | 63 + node_modules/mongodb/lib/deps.js.map | 1 + node_modules/mongodb/lib/encrypter.js | 112 + node_modules/mongodb/lib/encrypter.js.map | 1 + node_modules/mongodb/lib/error.js | 799 ++ node_modules/mongodb/lib/error.js.map | 1 + node_modules/mongodb/lib/explain.js | 35 + node_modules/mongodb/lib/explain.js.map | 1 + node_modules/mongodb/lib/gridfs/download.js | 317 + .../mongodb/lib/gridfs/download.js.map | 1 + node_modules/mongodb/lib/gridfs/index.js | 152 + node_modules/mongodb/lib/gridfs/index.js.map | 1 + node_modules/mongodb/lib/gridfs/upload.js | 376 + node_modules/mongodb/lib/gridfs/upload.js.map | 1 + node_modules/mongodb/lib/index.js | 159 + node_modules/mongodb/lib/index.js.map | 1 + node_modules/mongodb/lib/logger.js | 217 + node_modules/mongodb/lib/logger.js.map | 1 + node_modules/mongodb/lib/mongo_client.js | 295 + node_modules/mongodb/lib/mongo_client.js.map | 1 + node_modules/mongodb/lib/mongo_types.js | 41 + node_modules/mongodb/lib/mongo_types.js.map | 1 + .../mongodb/lib/operations/add_user.js | 72 + .../mongodb/lib/operations/add_user.js.map | 1 + .../mongodb/lib/operations/aggregate.js | 90 + .../mongodb/lib/operations/aggregate.js.map | 1 + .../mongodb/lib/operations/bulk_write.js | 43 + .../mongodb/lib/operations/bulk_write.js.map | 1 + .../mongodb/lib/operations/collections.js | 29 + .../mongodb/lib/operations/collections.js.map | 1 + .../mongodb/lib/operations/command.js | 95 + .../mongodb/lib/operations/command.js.map | 1 + .../lib/operations/common_functions.js | 71 + .../lib/operations/common_functions.js.map | 1 + .../mongodb/lib/operations/connect.js | 85 + .../mongodb/lib/operations/connect.js.map | 1 + node_modules/mongodb/lib/operations/count.js | 39 + .../mongodb/lib/operations/count.js.map | 1 + .../mongodb/lib/operations/count_documents.js | 37 + .../lib/operations/count_documents.js.map | 1 + .../lib/operations/create_collection.js | 100 + .../lib/operations/create_collection.js.map | 1 + node_modules/mongodb/lib/operations/delete.js | 135 + .../mongodb/lib/operations/delete.js.map | 1 + .../mongodb/lib/operations/distinct.js | 67 + .../mongodb/lib/operations/distinct.js.map | 1 + node_modules/mongodb/lib/operations/drop.js | 84 + .../mongodb/lib/operations/drop.js.map | 1 + .../operations/estimated_document_count.js | 38 + .../estimated_document_count.js.map | 1 + node_modules/mongodb/lib/operations/eval.js | 55 + .../mongodb/lib/operations/eval.js.map | 1 + .../lib/operations/execute_operation.js | 185 + .../lib/operations/execute_operation.js.map | 1 + node_modules/mongodb/lib/operations/find.js | 162 + .../mongodb/lib/operations/find.js.map | 1 + .../mongodb/lib/operations/find_and_modify.js | 156 + .../lib/operations/find_and_modify.js.map | 1 + .../mongodb/lib/operations/get_more.js | 33 + .../mongodb/lib/operations/get_more.js.map | 1 + .../mongodb/lib/operations/indexes.js | 265 + .../mongodb/lib/operations/indexes.js.map | 1 + node_modules/mongodb/lib/operations/insert.js | 99 + .../mongodb/lib/operations/insert.js.map | 1 + .../mongodb/lib/operations/is_capped.js | 30 + .../mongodb/lib/operations/is_capped.js.map | 1 + .../mongodb/lib/operations/kill_cursors.js | 22 + .../lib/operations/kill_cursors.js.map | 1 + .../lib/operations/list_collections.js | 46 + .../lib/operations/list_collections.js.map | 1 + .../mongodb/lib/operations/list_databases.js | 35 + .../lib/operations/list_databases.js.map | 1 + .../mongodb/lib/operations/map_reduce.js | 166 + .../mongodb/lib/operations/map_reduce.js.map | 1 + .../mongodb/lib/operations/operation.js | 70 + .../mongodb/lib/operations/operation.js.map | 1 + .../lib/operations/options_operation.js | 29 + .../lib/operations/options_operation.js.map | 1 + .../mongodb/lib/operations/profiling_level.js | 33 + .../lib/operations/profiling_level.js.map | 1 + .../mongodb/lib/operations/remove_user.js | 21 + .../mongodb/lib/operations/remove_user.js.map | 1 + node_modules/mongodb/lib/operations/rename.js | 46 + .../mongodb/lib/operations/rename.js.map | 1 + .../mongodb/lib/operations/run_command.js | 26 + .../mongodb/lib/operations/run_command.js.map | 1 + .../lib/operations/set_profiling_level.js | 51 + .../lib/operations/set_profiling_level.js.map | 1 + node_modules/mongodb/lib/operations/stats.js | 48 + .../mongodb/lib/operations/stats.js.map | 1 + node_modules/mongodb/lib/operations/update.js | 200 + .../mongodb/lib/operations/update.js.map | 1 + .../lib/operations/validate_collection.js | 41 + .../lib/operations/validate_collection.js.map | 1 + node_modules/mongodb/lib/promise_provider.js | 36 + .../mongodb/lib/promise_provider.js.map | 1 + node_modules/mongodb/lib/read_concern.js | 74 + node_modules/mongodb/lib/read_concern.js.map | 1 + node_modules/mongodb/lib/read_preference.js | 204 + .../mongodb/lib/read_preference.js.map | 1 + node_modules/mongodb/lib/sdam/common.js | 55 + node_modules/mongodb/lib/sdam/common.js.map | 1 + node_modules/mongodb/lib/sdam/events.js | 125 + node_modules/mongodb/lib/sdam/events.js.map | 1 + node_modules/mongodb/lib/sdam/monitor.js | 326 + node_modules/mongodb/lib/sdam/monitor.js.map | 1 + node_modules/mongodb/lib/sdam/server.js | 396 + node_modules/mongodb/lib/sdam/server.js.map | 1 + .../mongodb/lib/sdam/server_description.js | 197 + .../lib/sdam/server_description.js.map | 1 + .../mongodb/lib/sdam/server_selection.js | 228 + .../mongodb/lib/sdam/server_selection.js.map | 1 + node_modules/mongodb/lib/sdam/srv_polling.js | 122 + .../mongodb/lib/sdam/srv_polling.js.map | 1 + node_modules/mongodb/lib/sdam/topology.js | 645 ++ node_modules/mongodb/lib/sdam/topology.js.map | 1 + .../mongodb/lib/sdam/topology_description.js | 358 + .../lib/sdam/topology_description.js.map | 1 + node_modules/mongodb/lib/sessions.js | 745 ++ node_modules/mongodb/lib/sessions.js.map | 1 + node_modules/mongodb/lib/sort.js | 97 + node_modules/mongodb/lib/sort.js.map | 1 + node_modules/mongodb/lib/transactions.js | 138 + node_modules/mongodb/lib/transactions.js.map | 1 + node_modules/mongodb/lib/utils.js | 1131 +++ node_modules/mongodb/lib/utils.js.map | 1 + node_modules/mongodb/lib/write_concern.js | 71 + node_modules/mongodb/lib/write_concern.js.map | 1 + node_modules/mongodb/mongodb.d.ts | 6684 +++++++++++++ node_modules/mongodb/package.json | 135 + node_modules/mongodb/src/admin.ts | 314 + node_modules/mongodb/src/bson.ts | 112 + node_modules/mongodb/src/bulk/common.ts | 1383 +++ node_modules/mongodb/src/bulk/ordered.ts | 82 + node_modules/mongodb/src/bulk/unordered.ts | 109 + node_modules/mongodb/src/change_stream.ts | 941 ++ .../mongodb/src/cmap/auth/auth_provider.ts | 60 + node_modules/mongodb/src/cmap/auth/gssapi.ts | 241 + .../src/cmap/auth/mongo_credentials.ts | 190 + node_modules/mongodb/src/cmap/auth/mongocr.ts | 47 + .../mongodb/src/cmap/auth/mongodb_aws.ts | 293 + node_modules/mongodb/src/cmap/auth/plain.ts | 25 + .../mongodb/src/cmap/auth/providers.ts | 21 + node_modules/mongodb/src/cmap/auth/scram.ts | 384 + node_modules/mongodb/src/cmap/auth/x509.ts | 53 + .../src/cmap/command_monitoring_events.ts | 334 + node_modules/mongodb/src/cmap/commands.ts | 891 ++ node_modules/mongodb/src/cmap/connect.ts | 512 + node_modules/mongodb/src/cmap/connection.ts | 863 ++ .../mongodb/src/cmap/connection_pool.ts | 708 ++ .../src/cmap/connection_pool_events.ts | 179 + node_modules/mongodb/src/cmap/errors.ts | 38 + .../mongodb/src/cmap/message_stream.ts | 243 + node_modules/mongodb/src/cmap/metrics.ts | 58 + .../mongodb/src/cmap/stream_description.ts | 76 + .../src/cmap/wire_protocol/compression.ts | 130 + .../src/cmap/wire_protocol/constants.ts | 13 + .../mongodb/src/cmap/wire_protocol/shared.ts | 76 + node_modules/mongodb/src/collection.ts | 1700 ++++ node_modules/mongodb/src/connection_string.ts | 1267 +++ node_modules/mongodb/src/constants.ts | 134 + .../mongodb/src/cursor/abstract_cursor.ts | 915 ++ .../mongodb/src/cursor/aggregation_cursor.ts | 219 + .../src/cursor/change_stream_cursor.ts | 194 + .../mongodb/src/cursor/find_cursor.ts | 480 + .../src/cursor/list_collections_cursor.ts | 52 + .../mongodb/src/cursor/list_indexes_cursor.ts | 41 + node_modules/mongodb/src/db.ts | 770 ++ node_modules/mongodb/src/deps.ts | 378 + node_modules/mongodb/src/encrypter.ts | 137 + node_modules/mongodb/src/error.ts | 924 ++ node_modules/mongodb/src/explain.ts | 52 + node_modules/mongodb/src/gridfs/download.ts | 458 + node_modules/mongodb/src/gridfs/index.ts | 257 + node_modules/mongodb/src/gridfs/upload.ts | 566 ++ node_modules/mongodb/src/index.ts | 476 + node_modules/mongodb/src/logger.ts | 265 + node_modules/mongodb/src/mongo_client.ts | 769 ++ node_modules/mongodb/src/mongo_types.ts | 548 ++ .../mongodb/src/operations/add_user.ts | 118 + .../mongodb/src/operations/aggregate.ts | 144 + .../mongodb/src/operations/bulk_write.ts | 67 + .../mongodb/src/operations/collections.ts | 48 + .../mongodb/src/operations/command.ts | 193 + .../src/operations/common_functions.ts | 102 + .../mongodb/src/operations/connect.ts | 107 + node_modules/mongodb/src/operations/count.ts | 68 + .../mongodb/src/operations/count_documents.ts | 57 + .../src/operations/create_collection.ts | 201 + node_modules/mongodb/src/operations/delete.ts | 194 + .../mongodb/src/operations/distinct.ts | 92 + node_modules/mongodb/src/operations/drop.ts | 120 + .../operations/estimated_document_count.ts | 62 + node_modules/mongodb/src/operations/eval.ts | 82 + .../src/operations/execute_operation.ts | 298 + node_modules/mongodb/src/operations/find.ts | 279 + .../mongodb/src/operations/find_and_modify.ts | 295 + .../mongodb/src/operations/get_more.ts | 63 + .../mongodb/src/operations/indexes.ts | 500 + node_modules/mongodb/src/operations/insert.ts | 158 + .../mongodb/src/operations/is_capped.ts | 42 + .../mongodb/src/operations/kill_cursors.ts | 27 + .../src/operations/list_collections.ts | 91 + .../mongodb/src/operations/list_databases.ts | 65 + .../mongodb/src/operations/map_reduce.ts | 250 + .../mongodb/src/operations/operation.ts | 125 + .../src/operations/options_operation.ts | 42 + .../mongodb/src/operations/profiling_level.ts | 39 + .../mongodb/src/operations/remove_user.ts | 33 + node_modules/mongodb/src/operations/rename.ts | 67 + .../mongodb/src/operations/run_command.ts | 36 + .../src/operations/set_profiling_level.ts | 74 + node_modules/mongodb/src/operations/stats.ts | 271 + node_modules/mongodb/src/operations/update.ts | 334 + .../src/operations/validate_collection.ts | 59 + node_modules/mongodb/src/promise_provider.ts | 41 + node_modules/mongodb/src/read_concern.ts | 88 + node_modules/mongodb/src/read_preference.ts | 271 + node_modules/mongodb/src/sdam/common.ts | 77 + node_modules/mongodb/src/sdam/events.ts | 182 + node_modules/mongodb/src/sdam/monitor.ts | 471 + node_modules/mongodb/src/sdam/server.ts | 620 ++ .../mongodb/src/sdam/server_description.ts | 272 + .../mongodb/src/sdam/server_selection.ts | 324 + node_modules/mongodb/src/sdam/srv_polling.ts | 165 + node_modules/mongodb/src/sdam/topology.ts | 1007 ++ .../mongodb/src/sdam/topology_description.ts | 510 + node_modules/mongodb/src/sessions.ts | 1074 +++ node_modules/mongodb/src/sort.ts | 132 + node_modules/mongodb/src/transactions.ts | 187 + node_modules/mongodb/src/utils.ts | 1432 +++ node_modules/mongodb/src/write_concern.ts | 114 + node_modules/mongodb/tsconfig.json | 40 + node_modules/ms/index.js | 152 + node_modules/ms/license.md | 21 + node_modules/ms/package.json | 37 + node_modules/ms/readme.md | 51 + node_modules/negotiator/HISTORY.md | 108 + node_modules/negotiator/LICENSE | 24 + node_modules/negotiator/README.md | 203 + node_modules/negotiator/index.js | 82 + node_modules/negotiator/lib/charset.js | 169 + node_modules/negotiator/lib/encoding.js | 184 + node_modules/negotiator/lib/language.js | 179 + node_modules/negotiator/lib/mediaType.js | 294 + node_modules/negotiator/package.json | 42 + node_modules/node-fetch/LICENSE.md | 22 + node_modules/node-fetch/README.md | 590 ++ node_modules/node-fetch/browser.js | 25 + node_modules/node-fetch/lib/index.es.js | 1688 ++++ node_modules/node-fetch/lib/index.js | 1697 ++++ node_modules/node-fetch/lib/index.mjs | 1686 ++++ .../node-fetch/node_modules/tr46/.npmignore | 4 + .../node-fetch/node_modules/tr46/index.js | 193 + .../node-fetch/node_modules/tr46/lib/.gitkeep | 0 .../node_modules/tr46/lib/mappingTable.json | 1 + .../node-fetch/node_modules/tr46/package.json | 31 + .../webidl-conversions/LICENSE.md | 12 + .../node_modules/webidl-conversions/README.md | 53 + .../webidl-conversions/lib/index.js | 189 + .../webidl-conversions/package.json | 23 + .../node_modules/whatwg-url/LICENSE.txt | 21 + .../node_modules/whatwg-url/README.md | 67 + .../node_modules/whatwg-url/lib/URL-impl.js | 200 + .../node_modules/whatwg-url/lib/URL.js | 196 + .../node_modules/whatwg-url/lib/public-api.js | 11 + .../whatwg-url/lib/url-state-machine.js | 1297 +++ .../node_modules/whatwg-url/lib/utils.js | 20 + .../node_modules/whatwg-url/package.json | 32 + node_modules/node-fetch/package.json | 76 + node_modules/object-inspect/.eslintrc | 53 + .../object-inspect/.github/FUNDING.yml | 12 + node_modules/object-inspect/.nycrc | 13 + node_modules/object-inspect/CHANGELOG.md | 360 + node_modules/object-inspect/LICENSE | 21 + node_modules/object-inspect/example/all.js | 23 + .../object-inspect/example/circular.js | 6 + node_modules/object-inspect/example/fn.js | 5 + .../object-inspect/example/inspect.js | 10 + node_modules/object-inspect/index.js | 512 + .../object-inspect/package-support.json | 20 + node_modules/object-inspect/package.json | 94 + node_modules/object-inspect/readme.markdown | 86 + node_modules/object-inspect/test-core-js.js | 26 + node_modules/object-inspect/test/bigint.js | 58 + .../object-inspect/test/browser/dom.js | 15 + node_modules/object-inspect/test/circular.js | 16 + node_modules/object-inspect/test/deep.js | 12 + node_modules/object-inspect/test/element.js | 53 + node_modules/object-inspect/test/err.js | 48 + node_modules/object-inspect/test/fakes.js | 29 + node_modules/object-inspect/test/fn.js | 76 + node_modules/object-inspect/test/has.js | 15 + node_modules/object-inspect/test/holes.js | 15 + .../object-inspect/test/indent-option.js | 271 + node_modules/object-inspect/test/inspect.js | 139 + node_modules/object-inspect/test/lowbyte.js | 12 + node_modules/object-inspect/test/number.js | 58 + .../object-inspect/test/quoteStyle.js | 17 + .../object-inspect/test/toStringTag.js | 40 + node_modules/object-inspect/test/undef.js | 12 + node_modules/object-inspect/test/values.js | 211 + node_modules/object-inspect/util.inspect.js | 1 + node_modules/on-finished/HISTORY.md | 98 + node_modules/on-finished/LICENSE | 23 + node_modules/on-finished/README.md | 162 + node_modules/on-finished/index.js | 234 + node_modules/on-finished/package.json | 39 + node_modules/parseurl/HISTORY.md | 58 + node_modules/parseurl/LICENSE | 24 + node_modules/parseurl/README.md | 133 + node_modules/parseurl/index.js | 158 + node_modules/parseurl/package.json | 40 + node_modules/path-to-regexp/History.md | 36 + node_modules/path-to-regexp/LICENSE | 21 + node_modules/path-to-regexp/Readme.md | 35 + node_modules/path-to-regexp/index.js | 129 + node_modules/path-to-regexp/package.json | 30 + node_modules/proxy-addr/HISTORY.md | 161 + node_modules/proxy-addr/LICENSE | 22 + node_modules/proxy-addr/README.md | 139 + node_modules/proxy-addr/index.js | 327 + node_modules/proxy-addr/package.json | 47 + node_modules/punycode/LICENSE-MIT.txt | 20 + node_modules/punycode/README.md | 122 + node_modules/punycode/package.json | 58 + node_modules/punycode/punycode.es6.js | 441 + node_modules/punycode/punycode.js | 440 + node_modules/qs/.editorconfig | 40 + node_modules/qs/.eslintrc | 38 + node_modules/qs/.github/FUNDING.yml | 12 + node_modules/qs/.nycrc | 13 + node_modules/qs/CHANGELOG.md | 388 + node_modules/qs/LICENSE.md | 29 + node_modules/qs/README.md | 623 ++ node_modules/qs/dist/qs.js | 2044 ++++ node_modules/qs/lib/formats.js | 23 + node_modules/qs/lib/index.js | 11 + node_modules/qs/lib/parse.js | 263 + node_modules/qs/lib/stringify.js | 317 + node_modules/qs/lib/utils.js | 252 + node_modules/qs/package.json | 73 + node_modules/qs/test/parse.js | 841 ++ node_modules/qs/test/stringify.js | 865 ++ node_modules/qs/test/utils.js | 136 + node_modules/range-parser/HISTORY.md | 56 + node_modules/range-parser/LICENSE | 23 + node_modules/range-parser/README.md | 84 + node_modules/range-parser/index.js | 162 + node_modules/range-parser/package.json | 44 + node_modules/raw-body/HISTORY.md | 303 + node_modules/raw-body/LICENSE | 22 + node_modules/raw-body/README.md | 223 + node_modules/raw-body/SECURITY.md | 24 + node_modules/raw-body/index.d.ts | 87 + node_modules/raw-body/index.js | 329 + node_modules/raw-body/package.json | 49 + node_modules/safe-buffer/LICENSE | 21 + node_modules/safe-buffer/README.md | 584 ++ node_modules/safe-buffer/index.d.ts | 187 + node_modules/safe-buffer/index.js | 65 + node_modules/safe-buffer/package.json | 51 + node_modules/safer-buffer/LICENSE | 21 + node_modules/safer-buffer/Porting-Buffer.md | 268 + node_modules/safer-buffer/Readme.md | 156 + node_modules/safer-buffer/dangerous.js | 58 + node_modules/safer-buffer/package.json | 34 + node_modules/safer-buffer/safer.js | 77 + node_modules/safer-buffer/tests.js | 406 + node_modules/saslprep/.editorconfig | 10 + node_modules/saslprep/.gitattributes | 1 + node_modules/saslprep/.travis.yml | 10 + node_modules/saslprep/CHANGELOG.md | 19 + node_modules/saslprep/LICENSE | 22 + node_modules/saslprep/code-points.mem | Bin 0 -> 419864 bytes node_modules/saslprep/generate-code-points.js | 51 + node_modules/saslprep/index.js | 157 + node_modules/saslprep/lib/code-points.js | 996 ++ .../saslprep/lib/memory-code-points.js | 39 + node_modules/saslprep/lib/util.js | 21 + node_modules/saslprep/package.json | 72 + node_modules/saslprep/readme.md | 31 + node_modules/saslprep/test/index.js | 76 + node_modules/saslprep/test/util.js | 16 + node_modules/send/HISTORY.md | 521 + node_modules/send/LICENSE | 23 + node_modules/send/README.md | 327 + node_modules/send/SECURITY.md | 24 + node_modules/send/index.js | 1143 +++ node_modules/send/node_modules/ms/index.js | 162 + node_modules/send/node_modules/ms/license.md | 21 + .../send/node_modules/ms/package.json | 38 + node_modules/send/node_modules/ms/readme.md | 59 + node_modules/send/package.json | 62 + node_modules/serve-static/HISTORY.md | 471 + node_modules/serve-static/LICENSE | 25 + node_modules/serve-static/README.md | 257 + node_modules/serve-static/index.js | 210 + node_modules/serve-static/package.json | 42 + node_modules/setprototypeof/LICENSE | 13 + node_modules/setprototypeof/README.md | 31 + node_modules/setprototypeof/index.d.ts | 2 + node_modules/setprototypeof/index.js | 17 + node_modules/setprototypeof/package.json | 38 + node_modules/setprototypeof/test/index.js | 24 + node_modules/side-channel/.eslintignore | 1 + node_modules/side-channel/.eslintrc | 11 + node_modules/side-channel/.github/FUNDING.yml | 12 + node_modules/side-channel/.nycrc | 13 + node_modules/side-channel/CHANGELOG.md | 65 + node_modules/side-channel/LICENSE | 21 + node_modules/side-channel/README.md | 2 + node_modules/side-channel/index.js | 124 + node_modules/side-channel/package.json | 67 + node_modules/side-channel/test/index.js | 78 + node_modules/smart-buffer/.prettierrc.yaml | 5 + node_modules/smart-buffer/.travis.yml | 13 + node_modules/smart-buffer/LICENSE | 20 + node_modules/smart-buffer/README.md | 633 ++ .../smart-buffer/build/smartbuffer.js | 1233 +++ .../smart-buffer/build/smartbuffer.js.map | 1 + node_modules/smart-buffer/build/utils.js | 108 + node_modules/smart-buffer/build/utils.js.map | 1 + node_modules/smart-buffer/docs/CHANGELOG.md | 70 + node_modules/smart-buffer/docs/README_v3.md | 367 + node_modules/smart-buffer/docs/ROADMAP.md | 0 node_modules/smart-buffer/package.json | 79 + .../smart-buffer/typings/smartbuffer.d.ts | 755 ++ node_modules/smart-buffer/typings/utils.d.ts | 66 + node_modules/socks/.eslintrc.cjs | 11 + node_modules/socks/.prettierrc.yaml | 7 + node_modules/socks/LICENSE | 20 + node_modules/socks/README.md | 686 ++ .../socks/build/client/socksclient.js | 795 ++ .../socks/build/client/socksclient.js.map | 1 + node_modules/socks/build/common/constants.js | 114 + .../socks/build/common/constants.js.map | 1 + node_modules/socks/build/common/helpers.js | 128 + .../socks/build/common/helpers.js.map | 1 + .../socks/build/common/receivebuffer.js | 43 + .../socks/build/common/receivebuffer.js.map | 1 + node_modules/socks/build/common/util.js | 25 + node_modules/socks/build/common/util.js.map | 1 + node_modules/socks/build/index.js | 18 + node_modules/socks/build/index.js.map | 1 + node_modules/socks/docs/examples/index.md | 17 + .../examples/javascript/associateExample.md | 90 + .../docs/examples/javascript/bindExample.md | 83 + .../examples/javascript/connectExample.md | 258 + .../examples/typescript/associateExample.md | 93 + .../docs/examples/typescript/bindExample.md | 86 + .../examples/typescript/connectExample.md | 265 + node_modules/socks/docs/index.md | 5 + node_modules/socks/docs/migratingFromV1.md | 86 + node_modules/socks/package.json | 58 + .../socks/typings/client/socksclient.d.ts | 162 + .../socks/typings/common/constants.d.ts | 152 + .../socks/typings/common/helpers.d.ts | 13 + .../socks/typings/common/receivebuffer.d.ts | 12 + node_modules/socks/typings/common/util.d.ts | 17 + node_modules/socks/typings/index.d.ts | 1 + node_modules/sparse-bitfield/.npmignore | 1 + node_modules/sparse-bitfield/.travis.yml | 6 + node_modules/sparse-bitfield/LICENSE | 21 + node_modules/sparse-bitfield/README.md | 62 + node_modules/sparse-bitfield/index.js | 95 + node_modules/sparse-bitfield/package.json | 27 + node_modules/sparse-bitfield/test.js | 79 + node_modules/statuses/HISTORY.md | 82 + node_modules/statuses/LICENSE | 23 + node_modules/statuses/README.md | 136 + node_modules/statuses/codes.json | 65 + node_modules/statuses/index.js | 146 + node_modules/statuses/package.json | 49 + node_modules/stripe/CHANGELOG.md | 2226 +++++ node_modules/stripe/LICENSE | 20 + node_modules/stripe/README.md | 557 ++ node_modules/stripe/VERSION | 1 + node_modules/stripe/lib/Error.js | 142 + node_modules/stripe/lib/ResourceNamespace.js | 22 + node_modules/stripe/lib/StripeMethod.basic.js | 32 + node_modules/stripe/lib/StripeMethod.js | 58 + node_modules/stripe/lib/StripeResource.js | 619 ++ node_modules/stripe/lib/Webhooks.js | 277 + node_modules/stripe/lib/apiVersion.js | 3 + node_modules/stripe/lib/autoPagination.js | 278 + .../stripe/lib/crypto/CryptoProvider.js | 36 + .../stripe/lib/crypto/NodeCryptoProvider.js | 26 + .../stripe/lib/crypto/SubtleCryptoProvider.js | 69 + node_modules/stripe/lib/makeRequest.js | 122 + node_modules/stripe/lib/multipart.js | 96 + .../stripe/lib/net/FetchHttpClient.js | 130 + node_modules/stripe/lib/net/HttpClient.js | 69 + node_modules/stripe/lib/net/NodeHttpClient.js | 125 + node_modules/stripe/lib/resources.js | 131 + .../stripe/lib/resources/AccountLinks.js | 15 + node_modules/stripe/lib/resources/Accounts.js | 130 + .../stripe/lib/resources/ApplePayDomains.js | 31 + .../stripe/lib/resources/ApplicationFees.js | 42 + .../stripe/lib/resources/Apps/Secrets.js | 31 + node_modules/stripe/lib/resources/Balance.js | 15 + .../lib/resources/BalanceTransactions.js | 21 + .../resources/BillingPortal/Configurations.js | 31 + .../lib/resources/BillingPortal/Sessions.js | 15 + node_modules/stripe/lib/resources/Charges.js | 42 + .../stripe/lib/resources/Checkout/Sessions.js | 37 + .../stripe/lib/resources/CountrySpecs.js | 21 + node_modules/stripe/lib/resources/Coupons.js | 36 + .../stripe/lib/resources/CreditNotes.js | 53 + .../stripe/lib/resources/Customers.js | 146 + node_modules/stripe/lib/resources/Disputes.js | 31 + .../stripe/lib/resources/EphemeralKeys.js | 27 + node_modules/stripe/lib/resources/Events.js | 21 + .../stripe/lib/resources/ExchangeRates.js | 21 + .../stripe/lib/resources/FileLinks.js | 31 + node_modules/stripe/lib/resources/Files.js | 32 + .../FinancialConnections/Accounts.js | 37 + .../FinancialConnections/Sessions.js | 20 + .../resources/Identity/VerificationReports.js | 21 + .../Identity/VerificationSessions.js | 41 + .../stripe/lib/resources/InvoiceItems.js | 36 + node_modules/stripe/lib/resources/Invoices.js | 84 + .../lib/resources/IssuerFraudRecords.js | 21 + .../lib/resources/Issuing/Authorizations.js | 36 + .../lib/resources/Issuing/Cardholders.js | 31 + .../stripe/lib/resources/Issuing/Cards.js | 36 + .../stripe/lib/resources/Issuing/Disputes.js | 36 + .../lib/resources/Issuing/Transactions.js | 26 + node_modules/stripe/lib/resources/Mandates.js | 15 + node_modules/stripe/lib/resources/OAuth.js | 55 + node_modules/stripe/lib/resources/Orders.js | 52 + .../stripe/lib/resources/PaymentIntents.js | 67 + .../stripe/lib/resources/PaymentLinks.js | 37 + .../stripe/lib/resources/PaymentMethods.js | 41 + node_modules/stripe/lib/resources/Payouts.js | 41 + node_modules/stripe/lib/resources/Plans.js | 36 + node_modules/stripe/lib/resources/Prices.js | 37 + node_modules/stripe/lib/resources/Products.js | 42 + .../stripe/lib/resources/PromotionCodes.js | 31 + node_modules/stripe/lib/resources/Quotes.js | 65 + .../lib/resources/Radar/EarlyFraudWarnings.js | 21 + .../lib/resources/Radar/ValueListItems.js | 31 + .../stripe/lib/resources/Radar/ValueLists.js | 36 + node_modules/stripe/lib/resources/Refunds.js | 36 + .../lib/resources/Reporting/ReportRuns.js | 26 + .../lib/resources/Reporting/ReportTypes.js | 21 + node_modules/stripe/lib/resources/Reviews.js | 26 + node_modules/stripe/lib/resources/SKUs.js | 36 + .../stripe/lib/resources/SetupAttempts.js | 16 + .../stripe/lib/resources/SetupIntents.js | 46 + .../stripe/lib/resources/ShippingRates.js | 31 + .../lib/resources/Sigma/ScheduledQueryRuns.js | 21 + node_modules/stripe/lib/resources/Sources.js | 36 + .../stripe/lib/resources/SubscriptionItems.js | 47 + .../lib/resources/SubscriptionSchedules.js | 41 + .../stripe/lib/resources/Subscriptions.js | 52 + node_modules/stripe/lib/resources/TaxCodes.js | 21 + node_modules/stripe/lib/resources/TaxRates.js | 31 + .../lib/resources/Terminal/Configurations.js | 36 + .../resources/Terminal/ConnectionTokens.js | 15 + .../lib/resources/Terminal/Locations.js | 36 + .../stripe/lib/resources/Terminal/Readers.js | 56 + .../lib/resources/TestHelpers/Customers.js | 15 + .../resources/TestHelpers/Issuing/Cards.js | 30 + .../lib/resources/TestHelpers/Refunds.js | 15 + .../resources/TestHelpers/Terminal/Readers.js | 15 + .../lib/resources/TestHelpers/TestClocks.js | 36 + .../TestHelpers/Treasury/InboundTransfers.js | 25 + .../TestHelpers/Treasury/OutboundPayments.js | 25 + .../TestHelpers/Treasury/OutboundTransfers.js | 25 + .../TestHelpers/Treasury/ReceivedCredits.js | 15 + .../TestHelpers/Treasury/ReceivedDebits.js | 15 + node_modules/stripe/lib/resources/Tokens.js | 20 + node_modules/stripe/lib/resources/Topups.js | 36 + .../stripe/lib/resources/Transfers.js | 52 + .../lib/resources/Treasury/CreditReversals.js | 26 + .../lib/resources/Treasury/DebitReversals.js | 26 + .../resources/Treasury/FinancialAccounts.js | 41 + .../resources/Treasury/InboundTransfers.js | 31 + .../resources/Treasury/OutboundPayments.js | 31 + .../resources/Treasury/OutboundTransfers.js | 31 + .../lib/resources/Treasury/ReceivedCredits.js | 21 + .../lib/resources/Treasury/ReceivedDebits.js | 21 + .../resources/Treasury/TransactionEntries.js | 21 + .../lib/resources/Treasury/Transactions.js | 21 + .../stripe/lib/resources/WebhookEndpoints.js | 36 + node_modules/stripe/lib/stripe.js | 610 ++ node_modules/stripe/lib/utils.js | 451 + node_modules/stripe/package.json | 67 + node_modules/stripe/types/.eslintrc.js | 18 + .../stripe/types/2020-08-27/AccountLinks.d.ts | 82 + .../stripe/types/2020-08-27/Accounts.d.ts | 3860 ++++++++ .../types/2020-08-27/AlipayAccounts.d.ts | 92 + .../types/2020-08-27/ApplePayDomains.d.ts | 126 + .../types/2020-08-27/ApplicationFees.d.ts | 186 + .../stripe/types/2020-08-27/Applications.d.ts | 52 + .../stripe/types/2020-08-27/Apps/Secrets.d.ts | 241 + .../stripe/types/2020-08-27/Balance.d.ts | 239 + .../types/2020-08-27/BalanceTransactions.d.ts | 235 + .../stripe/types/2020-08-27/BankAccounts.d.ts | 130 + .../BillingPortal/Configurations.d.ts | 764 ++ .../2020-08-27/BillingPortal/Sessions.d.ts | 206 + .../types/2020-08-27/BitcoinReceivers.d.ts | 142 + .../types/2020-08-27/BitcoinTransactions.d.ts | 57 + .../stripe/types/2020-08-27/Capabilities.d.ts | 329 + .../stripe/types/2020-08-27/Cards.d.ts | 203 + .../stripe/types/2020-08-27/CashBalances.d.ts | 79 + .../stripe/types/2020-08-27/Charges.d.ts | 2204 +++++ .../types/2020-08-27/Checkout/Sessions.d.ts | 3101 ++++++ .../ConnectCollectionTransfers.d.ts | 40 + .../stripe/types/2020-08-27/CountrySpecs.d.ts | 121 + .../stripe/types/2020-08-27/Coupons.d.ts | 332 + .../types/2020-08-27/CreditNoteLineItems.d.ts | 241 + .../stripe/types/2020-08-27/CreditNotes.d.ts | 555 ++ .../CustomerBalanceTransactions.d.ts | 146 + .../types/2020-08-27/CustomerSources.d.ts | 161 + .../stripe/types/2020-08-27/Customers.d.ts | 1277 +++ .../stripe/types/2020-08-27/Discounts.d.ts | 131 + .../stripe/types/2020-08-27/Disputes.d.ts | 499 + .../types/2020-08-27/EphemeralKeys.d.ts | 90 + .../stripe/types/2020-08-27/Events.d.ts | 144 + .../types/2020-08-27/ExchangeRates.d.ts | 65 + .../types/2020-08-27/ExternalAccounts.d.ts | 134 + .../stripe/types/2020-08-27/FeeRefunds.d.ts | 93 + .../stripe/types/2020-08-27/FileLinks.d.ts | 161 + .../stripe/types/2020-08-27/Files.d.ts | 159 + .../FinancialConnections/AccountOwners.d.ts | 52 + .../AccountOwnerships.d.ts | 32 + .../FinancialConnections/Accounts.d.ts | 374 + .../FinancialConnections/Sessions.d.ts | 185 + .../types/2020-08-27/FundingInstructions.d.ts | 186 + .../Identity/VerificationReports.d.ts | 418 + .../Identity/VerificationSessions.d.ts | 486 + .../stripe/types/2020-08-27/InvoiceItems.d.ts | 513 + .../types/2020-08-27/InvoiceLineItems.d.ts | 712 ++ .../stripe/types/2020-08-27/Invoices.d.ts | 2601 +++++ .../types/2020-08-27/IssuerFraudRecords.d.ts | 100 + .../2020-08-27/Issuing/Authorizations.d.ts | 477 + .../types/2020-08-27/Issuing/CardDetails.d.ts | 42 + .../types/2020-08-27/Issuing/Cardholders.d.ts | 3370 +++++++ .../types/2020-08-27/Issuing/Cards.d.ts | 3283 +++++++ .../types/2020-08-27/Issuing/Disputes.d.ts | 1058 ++ .../2020-08-27/Issuing/Transactions.d.ts | 407 + .../stripe/types/2020-08-27/LineItems.d.ts | 115 + .../stripe/types/2020-08-27/LoginLinks.d.ts | 37 + .../stripe/types/2020-08-27/Mandates.d.ts | 269 + .../stripe/types/2020-08-27/Orders.d.ts | 3344 +++++++ .../types/2020-08-27/PaymentIntents.d.ts | 7400 ++++++++++++++ .../stripe/types/2020-08-27/PaymentLinks.d.ts | 1574 +++ .../types/2020-08-27/PaymentMethods.d.ts | 1622 ++++ .../stripe/types/2020-08-27/Payouts.d.ts | 315 + .../stripe/types/2020-08-27/Persons.d.ts | 1181 +++ .../stripe/types/2020-08-27/Plans.d.ts | 487 + .../types/2020-08-27/PlatformTaxFees.d.ts | 35 + .../stripe/types/2020-08-27/Prices.d.ts | 938 ++ .../stripe/types/2020-08-27/Products.d.ts | 666 ++ .../types/2020-08-27/PromotionCodes.d.ts | 313 + .../stripe/types/2020-08-27/Quotes.d.ts | 1191 +++ .../2020-08-27/Radar/EarlyFraudWarnings.d.ts | 104 + .../2020-08-27/Radar/ValueListItems.d.ts | 158 + .../types/2020-08-27/Radar/ValueLists.d.ts | 239 + .../stripe/types/2020-08-27/Recipients.d.ts | 98 + .../stripe/types/2020-08-27/Refunds.d.ts | 302 + .../2020-08-27/Reporting/ReportRuns.d.ts | 853 ++ .../2020-08-27/Reporting/ReportTypes.d.ts | 97 + .../types/2020-08-27/ReserveTransactions.d.ts | 32 + .../stripe/types/2020-08-27/Reviews.d.ts | 200 + .../stripe/types/2020-08-27/SKUs.d.ts | 448 + .../types/2020-08-27/SetupAttempts.d.ts | 496 + .../stripe/types/2020-08-27/SetupIntents.d.ts | 3388 +++++++ .../types/2020-08-27/ShippingRates.d.ts | 411 + .../2020-08-27/Sigma/ScheduledQueryRuns.d.ts | 113 + .../SourceMandateNotifications.d.ts | 99 + .../types/2020-08-27/SourceTransactions.d.ts | 200 + .../stripe/types/2020-08-27/Sources.d.ts | 1348 +++ .../types/2020-08-27/SubscriptionItems.d.ts | 504 + .../2020-08-27/SubscriptionSchedules.d.ts | 1396 +++ .../types/2020-08-27/Subscriptions.d.ts | 1986 ++++ .../stripe/types/2020-08-27/TaxCodes.d.ts | 68 + .../2020-08-27/TaxDeductedAtSources.d.ts | 35 + .../stripe/types/2020-08-27/TaxIds.d.ts | 232 + .../stripe/types/2020-08-27/TaxRates.d.ts | 290 + .../2020-08-27/Terminal/Configurations.d.ts | 1142 +++ .../2020-08-27/Terminal/ConnectionTokens.d.ts | 52 + .../types/2020-08-27/Terminal/Locations.d.ts | 245 + .../types/2020-08-27/Terminal/Readers.d.ts | 524 + .../2020-08-27/TestHelpers/Customers.d.ts | 37 + .../2020-08-27/TestHelpers/Issuing/Cards.d.ts | 99 + .../types/2020-08-27/TestHelpers/Refunds.d.ts | 29 + .../TestHelpers/Terminal/Readers.d.ts | 52 + .../2020-08-27/TestHelpers/TestClocks.d.ts | 179 + .../Treasury/InboundTransfers.d.ts | 108 + .../Treasury/OutboundPayments.d.ts | 105 + .../Treasury/OutboundTransfers.d.ts | 105 + .../TestHelpers/Treasury/ReceivedCredits.d.ts | 93 + .../TestHelpers/Treasury/ReceivedDebits.d.ts | 91 + .../stripe/types/2020-08-27/Tokens.d.ts | 853 ++ .../stripe/types/2020-08-27/Topups.d.ts | 257 + .../types/2020-08-27/TransferReversals.d.ts | 113 + .../stripe/types/2020-08-27/Transfers.d.ts | 289 + .../2020-08-27/Treasury/CreditReversals.d.ts | 168 + .../2020-08-27/Treasury/DebitReversals.d.ts | 187 + .../Treasury/FinancialAccountFeatures.d.ts | 622 ++ .../Treasury/FinancialAccounts.d.ts | 869 ++ .../2020-08-27/Treasury/InboundTransfers.d.ts | 349 + .../2020-08-27/Treasury/OutboundPayments.d.ts | 550 ++ .../Treasury/OutboundTransfers.d.ts | 385 + .../2020-08-27/Treasury/ReceivedCredits.d.ts | 334 + .../2020-08-27/Treasury/ReceivedDebits.d.ts | 267 + .../Treasury/TransactionEntries.d.ts | 257 + .../2020-08-27/Treasury/Transactions.d.ts | 268 + .../2020-08-27/UsageRecordSummaries.d.ts | 63 + .../stripe/types/2020-08-27/UsageRecords.d.ts | 66 + .../types/2020-08-27/WebhookEndpoints.d.ts | 779 ++ .../stripe/types/2020-08-27/index.d.ts | 318 + node_modules/stripe/types/Errors.d.ts | 475 + node_modules/stripe/types/OAuth.d.ts | 355 + node_modules/stripe/types/Webhooks.d.ts | 153 + node_modules/stripe/types/crypto/crypto.d.ts | 59 + node_modules/stripe/types/lib.d.ts | 328 + node_modules/stripe/types/net/net.d.ts | 99 + node_modules/stripe/types/shared.d.ts | 224 + node_modules/stripe/types/test/tsconfig.json | 67 + .../stripe/types/test/typescriptTest.ts | 300 + node_modules/toidentifier/HISTORY.md | 9 + node_modules/toidentifier/LICENSE | 21 + node_modules/toidentifier/README.md | 61 + node_modules/toidentifier/index.js | 32 + node_modules/toidentifier/package.json | 38 + node_modules/tr46/LICENSE.md | 21 + node_modules/tr46/README.md | 78 + node_modules/tr46/index.js | 298 + node_modules/tr46/lib/mappingTable.json | 1 + node_modules/tr46/lib/regexes.js | 29 + node_modules/tr46/lib/statusMapping.js | 11 + node_modules/tr46/package.json | 47 + node_modules/ts-mixer/CHANGELOG.md | 97 + node_modules/ts-mixer/LICENSE | 21 + node_modules/ts-mixer/README.md | 272 + node_modules/ts-mixer/dist/cjs/decorator.js | 116 + node_modules/ts-mixer/dist/cjs/index.js | 12 + .../ts-mixer/dist/cjs/mixin-tracking.js | 40 + node_modules/ts-mixer/dist/cjs/mixins.js | 78 + node_modules/ts-mixer/dist/cjs/proxy.js | 82 + node_modules/ts-mixer/dist/cjs/settings.js | 9 + node_modules/ts-mixer/dist/cjs/types.js | 2 + node_modules/ts-mixer/dist/cjs/util.js | 85 + node_modules/ts-mixer/dist/esm/index.js | 367 + node_modules/ts-mixer/dist/esm/index.min.js | 1 + .../ts-mixer/dist/types/decorator.d.ts | 18 + node_modules/ts-mixer/dist/types/index.d.ts | 4 + .../ts-mixer/dist/types/mixin-tracking.d.ts | 4 + node_modules/ts-mixer/dist/types/mixins.d.ts | 16 + node_modules/ts-mixer/dist/types/proxy.d.ts | 16 + .../ts-mixer/dist/types/settings.d.ts | 7 + node_modules/ts-mixer/dist/types/types.d.ts | 13 + node_modules/ts-mixer/dist/types/util.d.ts | 27 + node_modules/ts-mixer/package.json | 63 + node_modules/tslib/CopyrightNotice.txt | 15 + node_modules/tslib/LICENSE.txt | 12 + node_modules/tslib/README.md | 164 + node_modules/tslib/modules/index.js | 55 + node_modules/tslib/modules/package.json | 3 + node_modules/tslib/package.json | 38 + node_modules/tslib/tslib.d.ts | 398 + node_modules/tslib/tslib.es6.html | 1 + node_modules/tslib/tslib.es6.js | 248 + node_modules/tslib/tslib.html | 1 + node_modules/tslib/tslib.js | 317 + node_modules/type-is/HISTORY.md | 259 + node_modules/type-is/LICENSE | 23 + node_modules/type-is/README.md | 170 + node_modules/type-is/index.js | 266 + node_modules/type-is/package.json | 45 + node_modules/unpipe/HISTORY.md | 4 + node_modules/unpipe/LICENSE | 22 + node_modules/unpipe/README.md | 43 + node_modules/unpipe/index.js | 69 + node_modules/unpipe/package.json | 27 + node_modules/utils-merge/.npmignore | 9 + node_modules/utils-merge/LICENSE | 20 + node_modules/utils-merge/README.md | 34 + node_modules/utils-merge/index.js | 23 + node_modules/utils-merge/package.json | 40 + node_modules/vary/HISTORY.md | 39 + node_modules/vary/LICENSE | 22 + node_modules/vary/README.md | 101 + node_modules/vary/index.js | 149 + node_modules/vary/package.json | 43 + node_modules/webidl-conversions/LICENSE.md | 12 + node_modules/webidl-conversions/README.md | 99 + node_modules/webidl-conversions/lib/index.js | 450 + node_modules/webidl-conversions/package.json | 35 + node_modules/whatwg-url/LICENSE.txt | 21 + node_modules/whatwg-url/README.md | 106 + node_modules/whatwg-url/index.js | 27 + node_modules/whatwg-url/lib/Function.js | 42 + node_modules/whatwg-url/lib/URL-impl.js | 209 + node_modules/whatwg-url/lib/URL.js | 442 + .../whatwg-url/lib/URLSearchParams-impl.js | 130 + .../whatwg-url/lib/URLSearchParams.js | 472 + node_modules/whatwg-url/lib/VoidFunction.js | 26 + node_modules/whatwg-url/lib/encoding.js | 16 + node_modules/whatwg-url/lib/infra.js | 26 + .../whatwg-url/lib/percent-encoding.js | 142 + .../whatwg-url/lib/url-state-machine.js | 1244 +++ node_modules/whatwg-url/lib/urlencoded.js | 106 + node_modules/whatwg-url/lib/utils.js | 190 + node_modules/whatwg-url/package.json | 58 + node_modules/whatwg-url/webidl2js-wrapper.js | 7 + node_modules/ws/LICENSE | 19 + node_modules/ws/README.md | 495 + node_modules/ws/browser.js | 8 + node_modules/ws/index.js | 13 + node_modules/ws/lib/buffer-util.js | 127 + node_modules/ws/lib/constants.js | 12 + node_modules/ws/lib/event-target.js | 266 + node_modules/ws/lib/extension.js | 203 + node_modules/ws/lib/limiter.js | 55 + node_modules/ws/lib/permessage-deflate.js | 511 + node_modules/ws/lib/receiver.js | 618 ++ node_modules/ws/lib/sender.js | 478 + node_modules/ws/lib/stream.js | 159 + node_modules/ws/lib/subprotocol.js | 62 + node_modules/ws/lib/validation.js | 125 + node_modules/ws/lib/websocket-server.js | 535 ++ node_modules/ws/lib/websocket.js | 1305 +++ node_modules/ws/package.json | 61 + node_modules/ws/wrapper.mjs | 8 + package-lock.json | 1796 ++++ package.json | 27 + replit.nix | 8 + 3648 files changed, 478187 insertions(+), 30 deletions(-) create mode 100644 .replit create mode 120000 node_modules/.bin/mime create mode 100644 node_modules/.package-lock.json create mode 100644 node_modules/@discordjs/builders/CHANGELOG.md create mode 100644 node_modules/@discordjs/builders/LICENSE create mode 100644 node_modules/@discordjs/builders/README.md create mode 100644 node_modules/@discordjs/builders/dist/index.d.ts create mode 100644 node_modules/@discordjs/builders/dist/index.js create mode 100644 node_modules/@discordjs/builders/dist/index.js.map create mode 100644 node_modules/@discordjs/builders/dist/index.mjs create mode 100644 node_modules/@discordjs/builders/dist/index.mjs.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/LICENSE create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/README.md create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/common.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/common.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/common.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/common.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/index.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/index.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/index.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/index.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/index.mjs create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v10.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v10.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v10.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v10.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v10.mjs create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v6.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v6.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v6.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v6.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v6.mjs create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v8.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v8.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v8.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v8.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v8.mjs create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v9.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v9.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v9.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v9.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v9.mjs create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/globals.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/globals.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/globals.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/globals.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/globals.mjs create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/package.json create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/common.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/common.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/common.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/common.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/index.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/index.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/index.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/index.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/index.mjs create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/attachment.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/attachment.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/attachment.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/attachment.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/base.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/base.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/base.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/base.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/boolean.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/boolean.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/boolean.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/boolean.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/channel.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/channel.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/channel.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/channel.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/integer.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/integer.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/integer.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/integer.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/mentionable.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/mentionable.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/mentionable.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/mentionable.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/number.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/number.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/number.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/number.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/role.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/role.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/role.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/role.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/shared.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/shared.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/shared.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/shared.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/string.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/string.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/string.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/string.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommand.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommand.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommand.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommand.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommandGroup.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommandGroup.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommandGroup.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommandGroup.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/user.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/user.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/user.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/user.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/chatInput.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/chatInput.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/chatInput.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/chatInput.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/contextMenu.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/contextMenu.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/contextMenu.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/contextMenu.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/internals.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/internals.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/internals.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/internals.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/permissions.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/permissions.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/permissions.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/permissions.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/applicationCommands.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/applicationCommands.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/applicationCommands.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/applicationCommands.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/autocomplete.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/autocomplete.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/autocomplete.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/autocomplete.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/base.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/base.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/base.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/base.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/messageComponents.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/messageComponents.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/messageComponents.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/messageComponents.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/modalSubmit.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/modalSubmit.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/modalSubmit.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/modalSubmit.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/ping.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/ping.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/ping.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/ping.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/responses.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/responses.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/responses.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/_interactions/responses.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/application.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/application.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/application.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/application.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/auditLog.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/auditLog.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/auditLog.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/auditLog.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/channel.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/channel.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/channel.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/channel.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/emoji.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/emoji.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/emoji.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/emoji.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/gateway.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/gateway.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/gateway.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/gateway.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/guild.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/guild.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/guild.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/guild.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/guildScheduledEvent.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/guildScheduledEvent.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/guildScheduledEvent.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/guildScheduledEvent.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/index.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/index.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/index.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/index.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/index.mjs create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/interactions.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/interactions.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/interactions.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/interactions.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/invite.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/invite.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/invite.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/invite.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/oauth2.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/oauth2.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/oauth2.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/oauth2.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/permissions.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/permissions.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/permissions.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/permissions.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/stageInstance.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/stageInstance.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/stageInstance.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/stageInstance.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/sticker.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/sticker.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/sticker.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/sticker.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/teams.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/teams.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/teams.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/teams.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/template.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/template.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/template.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/template.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/user.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/user.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/user.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/user.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/voice.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/voice.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/voice.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/voice.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/webhook.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/webhook.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/webhook.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/webhook.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/auditLog.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/auditLog.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/auditLog.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/auditLog.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/channel.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/channel.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/channel.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/channel.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/emoji.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/emoji.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/emoji.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/emoji.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/gateway.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/gateway.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/gateway.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/gateway.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/guild.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/guild.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/guild.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/guild.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/index.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/index.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/index.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/index.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/index.mjs create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/invite.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/invite.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/invite.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/invite.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/oauth2.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/oauth2.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/oauth2.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/oauth2.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/permissions.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/permissions.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/permissions.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/permissions.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/teams.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/teams.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/teams.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/teams.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/user.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/user.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/user.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/user.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/voice.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/voice.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/voice.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/voice.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/webhook.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/webhook.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/webhook.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v6/webhook.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/attachment.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/attachment.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/attachment.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/attachment.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/base.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/base.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/base.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/base.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/boolean.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/boolean.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/boolean.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/boolean.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/channel.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/channel.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/channel.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/channel.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/integer.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/integer.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/integer.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/integer.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/mentionable.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/mentionable.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/mentionable.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/mentionable.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/number.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/number.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/number.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/number.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/role.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/role.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/role.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/role.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/shared.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/shared.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/shared.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/shared.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/string.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/string.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/string.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/string.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/subcommand.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/subcommand.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/subcommand.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/subcommand.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/subcommandGroup.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/subcommandGroup.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/subcommandGroup.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/subcommandGroup.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/user.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/user.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/user.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/user.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/chatInput.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/chatInput.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/chatInput.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/chatInput.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/contextMenu.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/contextMenu.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/contextMenu.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/contextMenu.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/internals.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/internals.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/internals.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/internals.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/permissions.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/permissions.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/permissions.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/permissions.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/applicationCommands.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/applicationCommands.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/applicationCommands.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/applicationCommands.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/autocomplete.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/autocomplete.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/autocomplete.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/autocomplete.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/base.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/base.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/base.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/base.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/messageComponents.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/messageComponents.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/messageComponents.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/messageComponents.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/modalSubmit.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/modalSubmit.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/modalSubmit.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/modalSubmit.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/ping.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/ping.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/ping.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/ping.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/responses.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/responses.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/responses.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/_interactions/responses.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/application.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/application.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/application.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/application.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/auditLog.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/auditLog.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/auditLog.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/auditLog.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/channel.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/channel.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/channel.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/channel.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/emoji.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/emoji.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/emoji.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/emoji.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/gateway.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/gateway.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/gateway.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/gateway.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/guild.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/guild.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/guild.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/guild.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/guildScheduledEvent.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/guildScheduledEvent.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/guildScheduledEvent.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/guildScheduledEvent.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/index.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/index.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/index.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/index.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/index.mjs create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/interactions.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/interactions.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/interactions.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/interactions.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/invite.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/invite.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/invite.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/invite.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/oauth2.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/oauth2.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/oauth2.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/oauth2.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/permissions.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/permissions.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/permissions.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/permissions.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/stageInstance.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/stageInstance.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/stageInstance.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/stageInstance.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/sticker.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/sticker.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/sticker.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/sticker.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/teams.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/teams.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/teams.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/teams.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/template.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/template.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/template.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/template.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/user.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/user.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/user.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/user.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/voice.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/voice.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/voice.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/voice.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/webhook.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/webhook.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/webhook.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v8/webhook.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/attachment.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/attachment.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/attachment.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/attachment.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/base.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/base.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/base.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/base.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/boolean.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/boolean.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/boolean.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/boolean.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/channel.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/channel.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/channel.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/channel.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/integer.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/integer.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/integer.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/integer.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/mentionable.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/mentionable.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/mentionable.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/mentionable.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/number.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/number.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/number.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/number.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/role.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/role.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/role.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/role.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/shared.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/shared.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/shared.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/shared.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/string.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/string.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/string.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/string.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/subcommand.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/subcommand.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/subcommand.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/subcommand.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/subcommandGroup.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/subcommandGroup.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/subcommandGroup.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/subcommandGroup.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/user.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/user.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/user.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/user.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/chatInput.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/chatInput.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/chatInput.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/chatInput.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/contextMenu.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/contextMenu.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/contextMenu.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/contextMenu.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/internals.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/internals.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/internals.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/internals.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/permissions.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/permissions.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/permissions.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/permissions.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/applicationCommands.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/applicationCommands.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/applicationCommands.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/applicationCommands.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/autocomplete.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/autocomplete.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/autocomplete.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/autocomplete.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/base.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/base.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/base.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/base.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/messageComponents.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/messageComponents.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/messageComponents.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/messageComponents.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/modalSubmit.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/modalSubmit.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/modalSubmit.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/modalSubmit.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/ping.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/ping.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/ping.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/ping.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/responses.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/responses.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/responses.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/_interactions/responses.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/application.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/application.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/application.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/application.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/auditLog.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/auditLog.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/auditLog.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/auditLog.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/channel.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/channel.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/channel.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/channel.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/emoji.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/emoji.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/emoji.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/emoji.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/gateway.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/gateway.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/gateway.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/gateway.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/guild.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/guild.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/guild.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/guild.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/guildScheduledEvent.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/guildScheduledEvent.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/guildScheduledEvent.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/guildScheduledEvent.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/index.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/index.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/index.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/index.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/index.mjs create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/interactions.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/interactions.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/interactions.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/interactions.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/invite.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/invite.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/invite.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/invite.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/oauth2.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/oauth2.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/oauth2.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/oauth2.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/permissions.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/permissions.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/permissions.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/permissions.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/stageInstance.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/stageInstance.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/stageInstance.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/stageInstance.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/sticker.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/sticker.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/sticker.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/sticker.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/teams.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/teams.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/teams.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/teams.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/template.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/template.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/template.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/template.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/user.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/user.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/user.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/user.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/voice.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/voice.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/voice.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/voice.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/webhook.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/webhook.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/webhook.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v9/webhook.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/common.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/common.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/common.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/common.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/index.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/index.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/index.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/index.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/index.mjs create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/auditLog.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/auditLog.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/auditLog.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/auditLog.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/channel.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/channel.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/channel.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/channel.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/emoji.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/emoji.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/emoji.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/emoji.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/gateway.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/gateway.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/gateway.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/gateway.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/guild.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/guild.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/guild.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/guild.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/guildScheduledEvent.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/guildScheduledEvent.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/guildScheduledEvent.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/guildScheduledEvent.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/index.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/index.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/index.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/index.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/index.mjs create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/interactions.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/interactions.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/interactions.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/interactions.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/invite.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/invite.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/invite.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/invite.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/oauth2.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/oauth2.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/oauth2.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/oauth2.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/stageInstance.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/stageInstance.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/stageInstance.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/stageInstance.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/sticker.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/sticker.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/sticker.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/sticker.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/template.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/template.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/template.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/template.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/user.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/user.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/user.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/user.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/voice.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/voice.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/voice.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/voice.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/webhook.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/webhook.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/webhook.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v10/webhook.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/auditLog.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/auditLog.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/auditLog.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/auditLog.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/channel.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/channel.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/channel.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/channel.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/emoji.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/emoji.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/emoji.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/emoji.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/gateway.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/gateway.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/gateway.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/gateway.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/guild.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/guild.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/guild.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/guild.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/index.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/index.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/index.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/index.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/index.mjs create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/invite.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/invite.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/invite.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/invite.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/oauth2.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/oauth2.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/oauth2.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/oauth2.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/user.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/user.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/user.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/user.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/voice.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/voice.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/voice.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/voice.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/webhook.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/webhook.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/webhook.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v6/webhook.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/auditLog.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/auditLog.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/auditLog.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/auditLog.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/channel.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/channel.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/channel.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/channel.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/emoji.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/emoji.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/emoji.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/emoji.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/gateway.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/gateway.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/gateway.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/gateway.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/guild.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/guild.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/guild.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/guild.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/guildScheduledEvent.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/guildScheduledEvent.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/guildScheduledEvent.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/guildScheduledEvent.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/index.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/index.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/index.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/index.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/index.mjs create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/interactions.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/interactions.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/interactions.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/interactions.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/invite.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/invite.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/invite.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/invite.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/oauth2.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/oauth2.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/oauth2.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/oauth2.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/stageInstance.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/stageInstance.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/stageInstance.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/stageInstance.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/sticker.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/sticker.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/sticker.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/sticker.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/template.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/template.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/template.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/template.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/user.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/user.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/user.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/user.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/voice.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/voice.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/voice.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/voice.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/webhook.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/webhook.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/webhook.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v8/webhook.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/auditLog.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/auditLog.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/auditLog.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/auditLog.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/channel.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/channel.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/channel.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/channel.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/emoji.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/emoji.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/emoji.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/emoji.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/gateway.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/gateway.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/gateway.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/gateway.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/guild.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/guild.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/guild.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/guild.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/guildScheduledEvent.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/guildScheduledEvent.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/guildScheduledEvent.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/guildScheduledEvent.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/index.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/index.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/index.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/index.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/index.mjs create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/interactions.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/interactions.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/interactions.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/interactions.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/invite.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/invite.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/invite.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/invite.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/oauth2.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/oauth2.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/oauth2.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/oauth2.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/stageInstance.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/stageInstance.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/stageInstance.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/stageInstance.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/sticker.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/sticker.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/sticker.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/sticker.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/template.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/template.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/template.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/template.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/user.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/user.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/user.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/user.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/voice.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/voice.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/voice.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/voice.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/webhook.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/webhook.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/webhook.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rest/v9/webhook.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rpc/common.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rpc/common.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rpc/common.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rpc/common.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rpc/index.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rpc/index.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rpc/index.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rpc/index.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rpc/index.mjs create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rpc/v10.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rpc/v10.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rpc/v10.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rpc/v10.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rpc/v10.mjs create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rpc/v8.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rpc/v8.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rpc/v8.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rpc/v8.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rpc/v8.mjs create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rpc/v9.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rpc/v9.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rpc/v9.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rpc/v9.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/rpc/v9.mjs create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/utils/index.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/utils/index.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/utils/index.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/utils/index.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/utils/index.mjs create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/utils/internals.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/utils/internals.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/utils/internals.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/utils/internals.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/utils/v10.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/utils/v10.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/utils/v10.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/utils/v10.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/utils/v10.mjs create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/utils/v8.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/utils/v8.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/utils/v8.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/utils/v8.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/utils/v8.mjs create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/utils/v9.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/utils/v9.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/utils/v9.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/utils/v9.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/utils/v9.mjs create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/v10.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/v10.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/v10.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/v10.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/v10.mjs create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/v6.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/v6.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/v6.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/v6.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/v6.mjs create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/v8.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/v8.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/v8.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/v8.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/v8.mjs create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/v9.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/v9.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/v9.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/v9.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/v9.mjs create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/voice/index.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/voice/index.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/voice/index.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/voice/index.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/voice/index.mjs create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/voice/v4.d.ts create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/voice/v4.d.ts.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/voice/v4.js create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/voice/v4.js.map create mode 100644 node_modules/@discordjs/builders/node_modules/discord-api-types/voice/v4.mjs create mode 100644 node_modules/@discordjs/builders/package.json create mode 100644 node_modules/@discordjs/collection/CHANGELOG.md create mode 100644 node_modules/@discordjs/collection/LICENSE create mode 100644 node_modules/@discordjs/collection/README.md create mode 100644 node_modules/@discordjs/collection/dist/index.d.ts create mode 100644 node_modules/@discordjs/collection/dist/index.js create mode 100644 node_modules/@discordjs/collection/dist/index.js.map create mode 100644 node_modules/@discordjs/collection/dist/index.mjs create mode 100644 node_modules/@discordjs/collection/dist/index.mjs.map create mode 100644 node_modules/@discordjs/collection/package.json create mode 100644 node_modules/@sapphire/async-queue/CHANGELOG.md create mode 100644 node_modules/@sapphire/async-queue/README.md create mode 100644 node_modules/@sapphire/async-queue/dist/index.d.ts create mode 100644 node_modules/@sapphire/async-queue/dist/index.global.js create mode 100644 node_modules/@sapphire/async-queue/dist/index.global.js.map create mode 100644 node_modules/@sapphire/async-queue/dist/index.js create mode 100644 node_modules/@sapphire/async-queue/dist/index.js.map create mode 100644 node_modules/@sapphire/async-queue/dist/index.mjs create mode 100644 node_modules/@sapphire/async-queue/dist/index.mjs.map create mode 100644 node_modules/@sapphire/async-queue/dist/lib/AsyncQueue.d.ts create mode 100644 node_modules/@sapphire/async-queue/package.json create mode 100644 node_modules/@sapphire/shapeshift/CHANGELOG.md create mode 100644 node_modules/@sapphire/shapeshift/LICENSE.md create mode 100644 node_modules/@sapphire/shapeshift/README.md create mode 100644 node_modules/@sapphire/shapeshift/dist/index.d.ts create mode 100644 node_modules/@sapphire/shapeshift/dist/index.global.js create mode 100644 node_modules/@sapphire/shapeshift/dist/index.global.js.map create mode 100644 node_modules/@sapphire/shapeshift/dist/index.js create mode 100644 node_modules/@sapphire/shapeshift/dist/index.js.map create mode 100644 node_modules/@sapphire/shapeshift/dist/index.mjs create mode 100644 node_modules/@sapphire/shapeshift/dist/index.mjs.map create mode 100644 node_modules/@sapphire/shapeshift/package.json create mode 100755 node_modules/@types/node-fetch/LICENSE create mode 100755 node_modules/@types/node-fetch/README.md create mode 100755 node_modules/@types/node-fetch/externals.d.ts create mode 100755 node_modules/@types/node-fetch/index.d.ts create mode 100644 node_modules/@types/node-fetch/node_modules/form-data/License create mode 100644 node_modules/@types/node-fetch/node_modules/form-data/README.md.bak create mode 100644 node_modules/@types/node-fetch/node_modules/form-data/Readme.md create mode 100644 node_modules/@types/node-fetch/node_modules/form-data/index.d.ts create mode 100644 node_modules/@types/node-fetch/node_modules/form-data/lib/browser.js create mode 100644 node_modules/@types/node-fetch/node_modules/form-data/lib/form_data.js create mode 100644 node_modules/@types/node-fetch/node_modules/form-data/lib/populate.js create mode 100644 node_modules/@types/node-fetch/node_modules/form-data/package.json create mode 100755 node_modules/@types/node-fetch/package.json create mode 100755 node_modules/@types/node/LICENSE create mode 100755 node_modules/@types/node/README.md create mode 100755 node_modules/@types/node/assert.d.ts create mode 100755 node_modules/@types/node/assert/strict.d.ts create mode 100755 node_modules/@types/node/async_hooks.d.ts create mode 100755 node_modules/@types/node/buffer.d.ts create mode 100755 node_modules/@types/node/child_process.d.ts create mode 100755 node_modules/@types/node/cluster.d.ts create mode 100755 node_modules/@types/node/console.d.ts create mode 100755 node_modules/@types/node/constants.d.ts create mode 100755 node_modules/@types/node/crypto.d.ts create mode 100755 node_modules/@types/node/dgram.d.ts create mode 100755 node_modules/@types/node/diagnostics_channel.d.ts create mode 100755 node_modules/@types/node/dns.d.ts create mode 100755 node_modules/@types/node/dns/promises.d.ts create mode 100755 node_modules/@types/node/domain.d.ts create mode 100755 node_modules/@types/node/events.d.ts create mode 100755 node_modules/@types/node/fs.d.ts create mode 100755 node_modules/@types/node/fs/promises.d.ts create mode 100755 node_modules/@types/node/globals.d.ts create mode 100755 node_modules/@types/node/globals.global.d.ts create mode 100755 node_modules/@types/node/http.d.ts create mode 100755 node_modules/@types/node/http2.d.ts create mode 100755 node_modules/@types/node/https.d.ts create mode 100755 node_modules/@types/node/index.d.ts create mode 100755 node_modules/@types/node/inspector.d.ts create mode 100755 node_modules/@types/node/module.d.ts create mode 100755 node_modules/@types/node/net.d.ts create mode 100755 node_modules/@types/node/os.d.ts create mode 100755 node_modules/@types/node/package.json create mode 100755 node_modules/@types/node/path.d.ts create mode 100755 node_modules/@types/node/perf_hooks.d.ts create mode 100755 node_modules/@types/node/process.d.ts create mode 100755 node_modules/@types/node/punycode.d.ts create mode 100755 node_modules/@types/node/querystring.d.ts create mode 100755 node_modules/@types/node/readline.d.ts create mode 100755 node_modules/@types/node/repl.d.ts create mode 100755 node_modules/@types/node/stream.d.ts create mode 100755 node_modules/@types/node/stream/consumers.d.ts create mode 100755 node_modules/@types/node/stream/promises.d.ts create mode 100755 node_modules/@types/node/stream/web.d.ts create mode 100755 node_modules/@types/node/string_decoder.d.ts create mode 100755 node_modules/@types/node/test.d.ts create mode 100755 node_modules/@types/node/timers.d.ts create mode 100755 node_modules/@types/node/timers/promises.d.ts create mode 100755 node_modules/@types/node/tls.d.ts create mode 100755 node_modules/@types/node/trace_events.d.ts create mode 100755 node_modules/@types/node/tty.d.ts create mode 100755 node_modules/@types/node/url.d.ts create mode 100755 node_modules/@types/node/util.d.ts create mode 100755 node_modules/@types/node/v8.d.ts create mode 100755 node_modules/@types/node/vm.d.ts create mode 100755 node_modules/@types/node/wasi.d.ts create mode 100755 node_modules/@types/node/worker_threads.d.ts create mode 100755 node_modules/@types/node/zlib.d.ts create mode 100755 node_modules/@types/webidl-conversions/LICENSE create mode 100755 node_modules/@types/webidl-conversions/README.md create mode 100755 node_modules/@types/webidl-conversions/index.d.ts create mode 100755 node_modules/@types/webidl-conversions/package.json create mode 100755 node_modules/@types/whatwg-url/LICENSE create mode 100755 node_modules/@types/whatwg-url/README.md create mode 100755 node_modules/@types/whatwg-url/dist/URL-impl.d.ts create mode 100755 node_modules/@types/whatwg-url/dist/URL.d.ts create mode 100755 node_modules/@types/whatwg-url/dist/URLSearchParams-impl.d.ts create mode 100755 node_modules/@types/whatwg-url/dist/URLSearchParams.d.ts create mode 100755 node_modules/@types/whatwg-url/index.d.ts create mode 100755 node_modules/@types/whatwg-url/package.json create mode 100755 node_modules/@types/whatwg-url/webidl2js-wrapper.d.ts create mode 100755 node_modules/@types/ws/LICENSE create mode 100755 node_modules/@types/ws/README.md create mode 100755 node_modules/@types/ws/index.d.mts create mode 100755 node_modules/@types/ws/index.d.ts create mode 100755 node_modules/@types/ws/package.json create mode 100644 node_modules/accepts/HISTORY.md create mode 100644 node_modules/accepts/LICENSE create mode 100644 node_modules/accepts/README.md create mode 100644 node_modules/accepts/index.js create mode 100644 node_modules/accepts/package.json create mode 100644 node_modules/array-flatten/LICENSE create mode 100644 node_modules/array-flatten/README.md create mode 100644 node_modules/array-flatten/array-flatten.js create mode 100644 node_modules/array-flatten/package.json create mode 100644 node_modules/asynckit/LICENSE create mode 100644 node_modules/asynckit/README.md create mode 100644 node_modules/asynckit/bench.js create mode 100644 node_modules/asynckit/index.js create mode 100644 node_modules/asynckit/lib/abort.js create mode 100644 node_modules/asynckit/lib/async.js create mode 100644 node_modules/asynckit/lib/defer.js create mode 100644 node_modules/asynckit/lib/iterate.js create mode 100644 node_modules/asynckit/lib/readable_asynckit.js create mode 100644 node_modules/asynckit/lib/readable_parallel.js create mode 100644 node_modules/asynckit/lib/readable_serial.js create mode 100644 node_modules/asynckit/lib/readable_serial_ordered.js create mode 100644 node_modules/asynckit/lib/state.js create mode 100644 node_modules/asynckit/lib/streamify.js create mode 100644 node_modules/asynckit/lib/terminator.js create mode 100644 node_modules/asynckit/package.json create mode 100644 node_modules/asynckit/parallel.js create mode 100644 node_modules/asynckit/serial.js create mode 100644 node_modules/asynckit/serialOrdered.js create mode 100644 node_modules/asynckit/stream.js create mode 100644 node_modules/base64-js/LICENSE create mode 100644 node_modules/base64-js/README.md create mode 100644 node_modules/base64-js/base64js.min.js create mode 100644 node_modules/base64-js/index.d.ts create mode 100644 node_modules/base64-js/index.js create mode 100644 node_modules/base64-js/package.json create mode 100644 node_modules/body-parser/HISTORY.md create mode 100644 node_modules/body-parser/LICENSE create mode 100644 node_modules/body-parser/README.md create mode 100644 node_modules/body-parser/SECURITY.md create mode 100644 node_modules/body-parser/index.js create mode 100644 node_modules/body-parser/lib/read.js create mode 100644 node_modules/body-parser/lib/types/json.js create mode 100644 node_modules/body-parser/lib/types/raw.js create mode 100644 node_modules/body-parser/lib/types/text.js create mode 100644 node_modules/body-parser/lib/types/urlencoded.js create mode 100644 node_modules/body-parser/package.json create mode 100644 node_modules/bson/LICENSE.md create mode 100644 node_modules/bson/README.md create mode 100644 node_modules/bson/bower.json create mode 100644 node_modules/bson/bson.d.ts create mode 100644 node_modules/bson/dist/bson.browser.esm.js create mode 100644 node_modules/bson/dist/bson.browser.esm.js.map create mode 100644 node_modules/bson/dist/bson.browser.umd.js create mode 100644 node_modules/bson/dist/bson.browser.umd.js.map create mode 100644 node_modules/bson/dist/bson.bundle.js create mode 100644 node_modules/bson/dist/bson.bundle.js.map create mode 100644 node_modules/bson/dist/bson.esm.js create mode 100644 node_modules/bson/dist/bson.esm.js.map create mode 100755 node_modules/bson/etc/prepare.js create mode 100644 node_modules/bson/lib/binary.js create mode 100644 node_modules/bson/lib/binary.js.map create mode 100644 node_modules/bson/lib/bson.js create mode 100644 node_modules/bson/lib/bson.js.map create mode 100644 node_modules/bson/lib/code.js create mode 100644 node_modules/bson/lib/code.js.map create mode 100644 node_modules/bson/lib/constants.js create mode 100644 node_modules/bson/lib/constants.js.map create mode 100644 node_modules/bson/lib/db_ref.js create mode 100644 node_modules/bson/lib/db_ref.js.map create mode 100644 node_modules/bson/lib/decimal128.js create mode 100644 node_modules/bson/lib/decimal128.js.map create mode 100644 node_modules/bson/lib/double.js create mode 100644 node_modules/bson/lib/double.js.map create mode 100644 node_modules/bson/lib/ensure_buffer.js create mode 100644 node_modules/bson/lib/ensure_buffer.js.map create mode 100644 node_modules/bson/lib/error.js create mode 100644 node_modules/bson/lib/error.js.map create mode 100644 node_modules/bson/lib/extended_json.js create mode 100644 node_modules/bson/lib/extended_json.js.map create mode 100644 node_modules/bson/lib/int_32.js create mode 100644 node_modules/bson/lib/int_32.js.map create mode 100644 node_modules/bson/lib/long.js create mode 100644 node_modules/bson/lib/long.js.map create mode 100644 node_modules/bson/lib/map.js create mode 100644 node_modules/bson/lib/map.js.map create mode 100644 node_modules/bson/lib/max_key.js create mode 100644 node_modules/bson/lib/max_key.js.map create mode 100644 node_modules/bson/lib/min_key.js create mode 100644 node_modules/bson/lib/min_key.js.map create mode 100644 node_modules/bson/lib/objectid.js create mode 100644 node_modules/bson/lib/objectid.js.map create mode 100644 node_modules/bson/lib/parser/calculate_size.js create mode 100644 node_modules/bson/lib/parser/calculate_size.js.map create mode 100644 node_modules/bson/lib/parser/deserializer.js create mode 100644 node_modules/bson/lib/parser/deserializer.js.map create mode 100644 node_modules/bson/lib/parser/serializer.js create mode 100644 node_modules/bson/lib/parser/serializer.js.map create mode 100644 node_modules/bson/lib/parser/utils.js create mode 100644 node_modules/bson/lib/parser/utils.js.map create mode 100644 node_modules/bson/lib/regexp.js create mode 100644 node_modules/bson/lib/regexp.js.map create mode 100644 node_modules/bson/lib/symbol.js create mode 100644 node_modules/bson/lib/symbol.js.map create mode 100644 node_modules/bson/lib/timestamp.js create mode 100644 node_modules/bson/lib/timestamp.js.map create mode 100644 node_modules/bson/lib/utils/global.js create mode 100644 node_modules/bson/lib/utils/global.js.map create mode 100644 node_modules/bson/lib/uuid.js create mode 100644 node_modules/bson/lib/uuid.js.map create mode 100644 node_modules/bson/lib/uuid_utils.js create mode 100644 node_modules/bson/lib/uuid_utils.js.map create mode 100644 node_modules/bson/lib/validate_utf8.js create mode 100644 node_modules/bson/lib/validate_utf8.js.map create mode 100644 node_modules/bson/package.json create mode 100644 node_modules/bson/src/binary.ts create mode 100644 node_modules/bson/src/bson.ts create mode 100644 node_modules/bson/src/code.ts create mode 100644 node_modules/bson/src/constants.ts create mode 100644 node_modules/bson/src/db_ref.ts create mode 100644 node_modules/bson/src/decimal128.ts create mode 100644 node_modules/bson/src/double.ts create mode 100644 node_modules/bson/src/ensure_buffer.ts create mode 100644 node_modules/bson/src/error.ts create mode 100644 node_modules/bson/src/extended_json.ts create mode 100644 node_modules/bson/src/int_32.ts create mode 100644 node_modules/bson/src/long.ts create mode 100644 node_modules/bson/src/map.ts create mode 100644 node_modules/bson/src/max_key.ts create mode 100644 node_modules/bson/src/min_key.ts create mode 100644 node_modules/bson/src/objectid.ts create mode 100644 node_modules/bson/src/parser/calculate_size.ts create mode 100644 node_modules/bson/src/parser/deserializer.ts create mode 100644 node_modules/bson/src/parser/serializer.ts create mode 100644 node_modules/bson/src/parser/utils.ts create mode 100644 node_modules/bson/src/regexp.ts create mode 100644 node_modules/bson/src/symbol.ts create mode 100644 node_modules/bson/src/timestamp.ts create mode 100644 node_modules/bson/src/utils/global.ts create mode 100644 node_modules/bson/src/uuid.ts create mode 100644 node_modules/bson/src/uuid_utils.ts create mode 100644 node_modules/bson/src/validate_utf8.ts create mode 100644 node_modules/buffer/AUTHORS.md create mode 100644 node_modules/buffer/LICENSE create mode 100644 node_modules/buffer/README.md create mode 100644 node_modules/buffer/index.d.ts create mode 100644 node_modules/buffer/index.js create mode 100644 node_modules/buffer/package.json create mode 100644 node_modules/bytes/History.md create mode 100644 node_modules/bytes/LICENSE create mode 100644 node_modules/bytes/Readme.md create mode 100644 node_modules/bytes/index.js create mode 100644 node_modules/bytes/package.json create mode 100644 node_modules/call-bind/.eslintignore create mode 100644 node_modules/call-bind/.eslintrc create mode 100644 node_modules/call-bind/.github/FUNDING.yml create mode 100644 node_modules/call-bind/.nycrc create mode 100644 node_modules/call-bind/CHANGELOG.md create mode 100644 node_modules/call-bind/LICENSE create mode 100644 node_modules/call-bind/README.md create mode 100644 node_modules/call-bind/callBound.js create mode 100644 node_modules/call-bind/index.js create mode 100644 node_modules/call-bind/package.json create mode 100644 node_modules/call-bind/test/callBound.js create mode 100644 node_modules/call-bind/test/index.js create mode 100644 node_modules/combined-stream/License create mode 100644 node_modules/combined-stream/Readme.md create mode 100644 node_modules/combined-stream/lib/combined_stream.js create mode 100644 node_modules/combined-stream/package.json create mode 100644 node_modules/combined-stream/yarn.lock create mode 100644 node_modules/content-disposition/HISTORY.md create mode 100644 node_modules/content-disposition/LICENSE create mode 100644 node_modules/content-disposition/README.md create mode 100644 node_modules/content-disposition/index.js create mode 100644 node_modules/content-disposition/package.json create mode 100644 node_modules/content-type/HISTORY.md create mode 100644 node_modules/content-type/LICENSE create mode 100644 node_modules/content-type/README.md create mode 100644 node_modules/content-type/index.js create mode 100644 node_modules/content-type/package.json create mode 100644 node_modules/cookie-signature/.npmignore create mode 100644 node_modules/cookie-signature/History.md create mode 100644 node_modules/cookie-signature/Readme.md create mode 100644 node_modules/cookie-signature/index.js create mode 100644 node_modules/cookie-signature/package.json create mode 100644 node_modules/cookie/HISTORY.md create mode 100644 node_modules/cookie/LICENSE create mode 100644 node_modules/cookie/README.md create mode 100644 node_modules/cookie/SECURITY.md create mode 100644 node_modules/cookie/index.js create mode 100644 node_modules/cookie/package.json create mode 100644 node_modules/debug/.coveralls.yml create mode 100644 node_modules/debug/.eslintrc create mode 100644 node_modules/debug/.npmignore create mode 100644 node_modules/debug/.travis.yml create mode 100644 node_modules/debug/CHANGELOG.md create mode 100644 node_modules/debug/LICENSE create mode 100644 node_modules/debug/Makefile create mode 100644 node_modules/debug/README.md create mode 100644 node_modules/debug/component.json create mode 100644 node_modules/debug/karma.conf.js create mode 100644 node_modules/debug/node.js create mode 100644 node_modules/debug/package.json create mode 100644 node_modules/debug/src/browser.js create mode 100644 node_modules/debug/src/debug.js create mode 100644 node_modules/debug/src/index.js create mode 100644 node_modules/debug/src/inspector-log.js create mode 100644 node_modules/debug/src/node.js create mode 100644 node_modules/delayed-stream/.npmignore create mode 100644 node_modules/delayed-stream/License create mode 100644 node_modules/delayed-stream/Makefile create mode 100644 node_modules/delayed-stream/Readme.md create mode 100644 node_modules/delayed-stream/lib/delayed_stream.js create mode 100644 node_modules/delayed-stream/package.json create mode 100644 node_modules/denque/CHANGELOG.md create mode 100644 node_modules/denque/LICENSE create mode 100644 node_modules/denque/README.md create mode 100644 node_modules/denque/index.d.ts create mode 100644 node_modules/denque/index.js create mode 100644 node_modules/denque/package.json create mode 100644 node_modules/depd/History.md create mode 100644 node_modules/depd/LICENSE create mode 100644 node_modules/depd/Readme.md create mode 100644 node_modules/depd/index.js create mode 100644 node_modules/depd/lib/browser/index.js create mode 100644 node_modules/depd/package.json create mode 100644 node_modules/destroy/LICENSE create mode 100644 node_modules/destroy/README.md create mode 100644 node_modules/destroy/index.js create mode 100644 node_modules/destroy/package.json create mode 100644 node_modules/discord-api-types/LICENSE create mode 100644 node_modules/discord-api-types/README.md create mode 100644 node_modules/discord-api-types/gateway/common.d.ts create mode 100644 node_modules/discord-api-types/gateway/common.d.ts.map create mode 100644 node_modules/discord-api-types/gateway/common.js create mode 100644 node_modules/discord-api-types/gateway/common.js.map create mode 100644 node_modules/discord-api-types/gateway/index.d.ts create mode 100644 node_modules/discord-api-types/gateway/index.d.ts.map create mode 100644 node_modules/discord-api-types/gateway/index.js create mode 100644 node_modules/discord-api-types/gateway/index.js.map create mode 100644 node_modules/discord-api-types/gateway/index.mjs create mode 100644 node_modules/discord-api-types/gateway/v10.d.ts create mode 100644 node_modules/discord-api-types/gateway/v10.d.ts.map create mode 100644 node_modules/discord-api-types/gateway/v10.js create mode 100644 node_modules/discord-api-types/gateway/v10.js.map create mode 100644 node_modules/discord-api-types/gateway/v10.mjs create mode 100644 node_modules/discord-api-types/gateway/v6.d.ts create mode 100644 node_modules/discord-api-types/gateway/v6.d.ts.map create mode 100644 node_modules/discord-api-types/gateway/v6.js create mode 100644 node_modules/discord-api-types/gateway/v6.js.map create mode 100644 node_modules/discord-api-types/gateway/v6.mjs create mode 100644 node_modules/discord-api-types/gateway/v8.d.ts create mode 100644 node_modules/discord-api-types/gateway/v8.d.ts.map create mode 100644 node_modules/discord-api-types/gateway/v8.js create mode 100644 node_modules/discord-api-types/gateway/v8.js.map create mode 100644 node_modules/discord-api-types/gateway/v8.mjs create mode 100644 node_modules/discord-api-types/gateway/v9.d.ts create mode 100644 node_modules/discord-api-types/gateway/v9.d.ts.map create mode 100644 node_modules/discord-api-types/gateway/v9.js create mode 100644 node_modules/discord-api-types/gateway/v9.js.map create mode 100644 node_modules/discord-api-types/gateway/v9.mjs create mode 100644 node_modules/discord-api-types/globals.d.ts create mode 100644 node_modules/discord-api-types/globals.d.ts.map create mode 100644 node_modules/discord-api-types/globals.js create mode 100644 node_modules/discord-api-types/globals.js.map create mode 100644 node_modules/discord-api-types/globals.mjs create mode 100644 node_modules/discord-api-types/package.json create mode 100644 node_modules/discord-api-types/payloads/common.d.ts create mode 100644 node_modules/discord-api-types/payloads/common.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/common.js create mode 100644 node_modules/discord-api-types/payloads/common.js.map create mode 100644 node_modules/discord-api-types/payloads/index.d.ts create mode 100644 node_modules/discord-api-types/payloads/index.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/index.js create mode 100644 node_modules/discord-api-types/payloads/index.js.map create mode 100644 node_modules/discord-api-types/payloads/index.mjs create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/attachment.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/attachment.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/attachment.js create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/attachment.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/base.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/base.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/base.js create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/base.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/boolean.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/boolean.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/boolean.js create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/boolean.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/channel.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/channel.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/channel.js create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/channel.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/integer.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/integer.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/integer.js create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/integer.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/mentionable.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/mentionable.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/mentionable.js create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/mentionable.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/number.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/number.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/number.js create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/number.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/role.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/role.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/role.js create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/role.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/shared.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/shared.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/shared.js create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/shared.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/string.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/string.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/string.js create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/string.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommand.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommand.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommand.js create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommand.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommandGroup.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommandGroup.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommandGroup.js create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommandGroup.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/user.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/user.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/user.js create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/user.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/chatInput.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/chatInput.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/chatInput.js create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/chatInput.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/contextMenu.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/contextMenu.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/contextMenu.js create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/contextMenu.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/internals.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/internals.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/internals.js create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/internals.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/permissions.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/permissions.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/permissions.js create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/permissions.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/applicationCommands.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/applicationCommands.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/applicationCommands.js create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/applicationCommands.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/autocomplete.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/autocomplete.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/autocomplete.js create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/autocomplete.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/base.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/base.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/base.js create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/base.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/messageComponents.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/messageComponents.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/messageComponents.js create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/messageComponents.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/modalSubmit.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/modalSubmit.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/modalSubmit.js create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/modalSubmit.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/ping.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/ping.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/ping.js create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/ping.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/responses.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/responses.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/responses.js create mode 100644 node_modules/discord-api-types/payloads/v10/_interactions/responses.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/application.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/application.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/application.js create mode 100644 node_modules/discord-api-types/payloads/v10/application.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/auditLog.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/auditLog.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/auditLog.js create mode 100644 node_modules/discord-api-types/payloads/v10/auditLog.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/channel.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/channel.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/channel.js create mode 100644 node_modules/discord-api-types/payloads/v10/channel.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/emoji.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/emoji.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/emoji.js create mode 100644 node_modules/discord-api-types/payloads/v10/emoji.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/gateway.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/gateway.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/gateway.js create mode 100644 node_modules/discord-api-types/payloads/v10/gateway.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/guild.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/guild.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/guild.js create mode 100644 node_modules/discord-api-types/payloads/v10/guild.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/guildScheduledEvent.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/guildScheduledEvent.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/guildScheduledEvent.js create mode 100644 node_modules/discord-api-types/payloads/v10/guildScheduledEvent.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/index.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/index.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/index.js create mode 100644 node_modules/discord-api-types/payloads/v10/index.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/index.mjs create mode 100644 node_modules/discord-api-types/payloads/v10/interactions.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/interactions.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/interactions.js create mode 100644 node_modules/discord-api-types/payloads/v10/interactions.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/invite.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/invite.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/invite.js create mode 100644 node_modules/discord-api-types/payloads/v10/invite.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/oauth2.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/oauth2.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/oauth2.js create mode 100644 node_modules/discord-api-types/payloads/v10/oauth2.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/permissions.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/permissions.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/permissions.js create mode 100644 node_modules/discord-api-types/payloads/v10/permissions.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/stageInstance.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/stageInstance.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/stageInstance.js create mode 100644 node_modules/discord-api-types/payloads/v10/stageInstance.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/sticker.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/sticker.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/sticker.js create mode 100644 node_modules/discord-api-types/payloads/v10/sticker.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/teams.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/teams.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/teams.js create mode 100644 node_modules/discord-api-types/payloads/v10/teams.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/template.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/template.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/template.js create mode 100644 node_modules/discord-api-types/payloads/v10/template.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/user.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/user.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/user.js create mode 100644 node_modules/discord-api-types/payloads/v10/user.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/voice.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/voice.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/voice.js create mode 100644 node_modules/discord-api-types/payloads/v10/voice.js.map create mode 100644 node_modules/discord-api-types/payloads/v10/webhook.d.ts create mode 100644 node_modules/discord-api-types/payloads/v10/webhook.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v10/webhook.js create mode 100644 node_modules/discord-api-types/payloads/v10/webhook.js.map create mode 100644 node_modules/discord-api-types/payloads/v6/auditLog.d.ts create mode 100644 node_modules/discord-api-types/payloads/v6/auditLog.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v6/auditLog.js create mode 100644 node_modules/discord-api-types/payloads/v6/auditLog.js.map create mode 100644 node_modules/discord-api-types/payloads/v6/channel.d.ts create mode 100644 node_modules/discord-api-types/payloads/v6/channel.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v6/channel.js create mode 100644 node_modules/discord-api-types/payloads/v6/channel.js.map create mode 100644 node_modules/discord-api-types/payloads/v6/emoji.d.ts create mode 100644 node_modules/discord-api-types/payloads/v6/emoji.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v6/emoji.js create mode 100644 node_modules/discord-api-types/payloads/v6/emoji.js.map create mode 100644 node_modules/discord-api-types/payloads/v6/gateway.d.ts create mode 100644 node_modules/discord-api-types/payloads/v6/gateway.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v6/gateway.js create mode 100644 node_modules/discord-api-types/payloads/v6/gateway.js.map create mode 100644 node_modules/discord-api-types/payloads/v6/guild.d.ts create mode 100644 node_modules/discord-api-types/payloads/v6/guild.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v6/guild.js create mode 100644 node_modules/discord-api-types/payloads/v6/guild.js.map create mode 100644 node_modules/discord-api-types/payloads/v6/index.d.ts create mode 100644 node_modules/discord-api-types/payloads/v6/index.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v6/index.js create mode 100644 node_modules/discord-api-types/payloads/v6/index.js.map create mode 100644 node_modules/discord-api-types/payloads/v6/index.mjs create mode 100644 node_modules/discord-api-types/payloads/v6/invite.d.ts create mode 100644 node_modules/discord-api-types/payloads/v6/invite.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v6/invite.js create mode 100644 node_modules/discord-api-types/payloads/v6/invite.js.map create mode 100644 node_modules/discord-api-types/payloads/v6/oauth2.d.ts create mode 100644 node_modules/discord-api-types/payloads/v6/oauth2.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v6/oauth2.js create mode 100644 node_modules/discord-api-types/payloads/v6/oauth2.js.map create mode 100644 node_modules/discord-api-types/payloads/v6/permissions.d.ts create mode 100644 node_modules/discord-api-types/payloads/v6/permissions.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v6/permissions.js create mode 100644 node_modules/discord-api-types/payloads/v6/permissions.js.map create mode 100644 node_modules/discord-api-types/payloads/v6/teams.d.ts create mode 100644 node_modules/discord-api-types/payloads/v6/teams.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v6/teams.js create mode 100644 node_modules/discord-api-types/payloads/v6/teams.js.map create mode 100644 node_modules/discord-api-types/payloads/v6/user.d.ts create mode 100644 node_modules/discord-api-types/payloads/v6/user.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v6/user.js create mode 100644 node_modules/discord-api-types/payloads/v6/user.js.map create mode 100644 node_modules/discord-api-types/payloads/v6/voice.d.ts create mode 100644 node_modules/discord-api-types/payloads/v6/voice.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v6/voice.js create mode 100644 node_modules/discord-api-types/payloads/v6/voice.js.map create mode 100644 node_modules/discord-api-types/payloads/v6/webhook.d.ts create mode 100644 node_modules/discord-api-types/payloads/v6/webhook.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v6/webhook.js create mode 100644 node_modules/discord-api-types/payloads/v6/webhook.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/attachment.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/attachment.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/attachment.js create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/attachment.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/base.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/base.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/base.js create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/base.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/boolean.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/boolean.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/boolean.js create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/boolean.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/channel.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/channel.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/channel.js create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/channel.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/integer.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/integer.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/integer.js create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/integer.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/mentionable.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/mentionable.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/mentionable.js create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/mentionable.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/number.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/number.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/number.js create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/number.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/role.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/role.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/role.js create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/role.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/shared.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/shared.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/shared.js create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/shared.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/string.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/string.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/string.js create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/string.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/subcommand.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/subcommand.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/subcommand.js create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/subcommand.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/subcommandGroup.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/subcommandGroup.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/subcommandGroup.js create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/subcommandGroup.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/user.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/user.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/user.js create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/user.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/chatInput.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/chatInput.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/chatInput.js create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/chatInput.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/contextMenu.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/contextMenu.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/contextMenu.js create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/contextMenu.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/internals.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/internals.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/internals.js create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/internals.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/permissions.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/permissions.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/permissions.js create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/permissions.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/applicationCommands.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/applicationCommands.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/applicationCommands.js create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/applicationCommands.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/autocomplete.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/autocomplete.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/autocomplete.js create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/autocomplete.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/base.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/base.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/base.js create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/base.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/messageComponents.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/messageComponents.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/messageComponents.js create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/messageComponents.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/modalSubmit.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/modalSubmit.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/modalSubmit.js create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/modalSubmit.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/ping.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/ping.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/ping.js create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/ping.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/responses.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/responses.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/responses.js create mode 100644 node_modules/discord-api-types/payloads/v8/_interactions/responses.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/application.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/application.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/application.js create mode 100644 node_modules/discord-api-types/payloads/v8/application.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/auditLog.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/auditLog.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/auditLog.js create mode 100644 node_modules/discord-api-types/payloads/v8/auditLog.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/channel.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/channel.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/channel.js create mode 100644 node_modules/discord-api-types/payloads/v8/channel.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/emoji.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/emoji.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/emoji.js create mode 100644 node_modules/discord-api-types/payloads/v8/emoji.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/gateway.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/gateway.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/gateway.js create mode 100644 node_modules/discord-api-types/payloads/v8/gateway.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/guild.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/guild.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/guild.js create mode 100644 node_modules/discord-api-types/payloads/v8/guild.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/guildScheduledEvent.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/guildScheduledEvent.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/guildScheduledEvent.js create mode 100644 node_modules/discord-api-types/payloads/v8/guildScheduledEvent.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/index.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/index.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/index.js create mode 100644 node_modules/discord-api-types/payloads/v8/index.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/index.mjs create mode 100644 node_modules/discord-api-types/payloads/v8/interactions.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/interactions.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/interactions.js create mode 100644 node_modules/discord-api-types/payloads/v8/interactions.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/invite.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/invite.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/invite.js create mode 100644 node_modules/discord-api-types/payloads/v8/invite.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/oauth2.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/oauth2.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/oauth2.js create mode 100644 node_modules/discord-api-types/payloads/v8/oauth2.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/permissions.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/permissions.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/permissions.js create mode 100644 node_modules/discord-api-types/payloads/v8/permissions.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/stageInstance.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/stageInstance.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/stageInstance.js create mode 100644 node_modules/discord-api-types/payloads/v8/stageInstance.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/sticker.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/sticker.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/sticker.js create mode 100644 node_modules/discord-api-types/payloads/v8/sticker.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/teams.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/teams.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/teams.js create mode 100644 node_modules/discord-api-types/payloads/v8/teams.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/template.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/template.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/template.js create mode 100644 node_modules/discord-api-types/payloads/v8/template.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/user.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/user.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/user.js create mode 100644 node_modules/discord-api-types/payloads/v8/user.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/voice.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/voice.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/voice.js create mode 100644 node_modules/discord-api-types/payloads/v8/voice.js.map create mode 100644 node_modules/discord-api-types/payloads/v8/webhook.d.ts create mode 100644 node_modules/discord-api-types/payloads/v8/webhook.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v8/webhook.js create mode 100644 node_modules/discord-api-types/payloads/v8/webhook.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/attachment.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/attachment.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/attachment.js create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/attachment.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/base.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/base.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/base.js create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/base.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/boolean.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/boolean.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/boolean.js create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/boolean.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/channel.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/channel.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/channel.js create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/channel.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/integer.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/integer.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/integer.js create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/integer.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/mentionable.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/mentionable.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/mentionable.js create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/mentionable.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/number.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/number.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/number.js create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/number.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/role.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/role.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/role.js create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/role.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/shared.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/shared.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/shared.js create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/shared.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/string.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/string.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/string.js create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/string.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/subcommand.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/subcommand.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/subcommand.js create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/subcommand.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/subcommandGroup.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/subcommandGroup.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/subcommandGroup.js create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/subcommandGroup.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/user.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/user.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/user.js create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/user.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/chatInput.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/chatInput.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/chatInput.js create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/chatInput.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/contextMenu.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/contextMenu.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/contextMenu.js create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/contextMenu.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/internals.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/internals.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/internals.js create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/internals.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/permissions.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/permissions.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/permissions.js create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/permissions.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/applicationCommands.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/applicationCommands.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/applicationCommands.js create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/applicationCommands.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/autocomplete.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/autocomplete.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/autocomplete.js create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/autocomplete.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/base.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/base.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/base.js create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/base.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/messageComponents.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/messageComponents.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/messageComponents.js create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/messageComponents.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/modalSubmit.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/modalSubmit.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/modalSubmit.js create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/modalSubmit.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/ping.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/ping.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/ping.js create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/ping.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/responses.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/responses.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/responses.js create mode 100644 node_modules/discord-api-types/payloads/v9/_interactions/responses.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/application.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/application.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/application.js create mode 100644 node_modules/discord-api-types/payloads/v9/application.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/auditLog.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/auditLog.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/auditLog.js create mode 100644 node_modules/discord-api-types/payloads/v9/auditLog.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/channel.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/channel.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/channel.js create mode 100644 node_modules/discord-api-types/payloads/v9/channel.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/emoji.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/emoji.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/emoji.js create mode 100644 node_modules/discord-api-types/payloads/v9/emoji.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/gateway.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/gateway.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/gateway.js create mode 100644 node_modules/discord-api-types/payloads/v9/gateway.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/guild.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/guild.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/guild.js create mode 100644 node_modules/discord-api-types/payloads/v9/guild.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/guildScheduledEvent.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/guildScheduledEvent.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/guildScheduledEvent.js create mode 100644 node_modules/discord-api-types/payloads/v9/guildScheduledEvent.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/index.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/index.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/index.js create mode 100644 node_modules/discord-api-types/payloads/v9/index.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/index.mjs create mode 100644 node_modules/discord-api-types/payloads/v9/interactions.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/interactions.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/interactions.js create mode 100644 node_modules/discord-api-types/payloads/v9/interactions.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/invite.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/invite.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/invite.js create mode 100644 node_modules/discord-api-types/payloads/v9/invite.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/oauth2.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/oauth2.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/oauth2.js create mode 100644 node_modules/discord-api-types/payloads/v9/oauth2.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/permissions.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/permissions.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/permissions.js create mode 100644 node_modules/discord-api-types/payloads/v9/permissions.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/stageInstance.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/stageInstance.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/stageInstance.js create mode 100644 node_modules/discord-api-types/payloads/v9/stageInstance.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/sticker.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/sticker.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/sticker.js create mode 100644 node_modules/discord-api-types/payloads/v9/sticker.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/teams.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/teams.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/teams.js create mode 100644 node_modules/discord-api-types/payloads/v9/teams.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/template.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/template.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/template.js create mode 100644 node_modules/discord-api-types/payloads/v9/template.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/user.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/user.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/user.js create mode 100644 node_modules/discord-api-types/payloads/v9/user.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/voice.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/voice.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/voice.js create mode 100644 node_modules/discord-api-types/payloads/v9/voice.js.map create mode 100644 node_modules/discord-api-types/payloads/v9/webhook.d.ts create mode 100644 node_modules/discord-api-types/payloads/v9/webhook.d.ts.map create mode 100644 node_modules/discord-api-types/payloads/v9/webhook.js create mode 100644 node_modules/discord-api-types/payloads/v9/webhook.js.map create mode 100644 node_modules/discord-api-types/rest/common.d.ts create mode 100644 node_modules/discord-api-types/rest/common.d.ts.map create mode 100644 node_modules/discord-api-types/rest/common.js create mode 100644 node_modules/discord-api-types/rest/common.js.map create mode 100644 node_modules/discord-api-types/rest/index.d.ts create mode 100644 node_modules/discord-api-types/rest/index.d.ts.map create mode 100644 node_modules/discord-api-types/rest/index.js create mode 100644 node_modules/discord-api-types/rest/index.js.map create mode 100644 node_modules/discord-api-types/rest/index.mjs create mode 100644 node_modules/discord-api-types/rest/v10/auditLog.d.ts create mode 100644 node_modules/discord-api-types/rest/v10/auditLog.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v10/auditLog.js create mode 100644 node_modules/discord-api-types/rest/v10/auditLog.js.map create mode 100644 node_modules/discord-api-types/rest/v10/channel.d.ts create mode 100644 node_modules/discord-api-types/rest/v10/channel.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v10/channel.js create mode 100644 node_modules/discord-api-types/rest/v10/channel.js.map create mode 100644 node_modules/discord-api-types/rest/v10/emoji.d.ts create mode 100644 node_modules/discord-api-types/rest/v10/emoji.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v10/emoji.js create mode 100644 node_modules/discord-api-types/rest/v10/emoji.js.map create mode 100644 node_modules/discord-api-types/rest/v10/gateway.d.ts create mode 100644 node_modules/discord-api-types/rest/v10/gateway.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v10/gateway.js create mode 100644 node_modules/discord-api-types/rest/v10/gateway.js.map create mode 100644 node_modules/discord-api-types/rest/v10/guild.d.ts create mode 100644 node_modules/discord-api-types/rest/v10/guild.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v10/guild.js create mode 100644 node_modules/discord-api-types/rest/v10/guild.js.map create mode 100644 node_modules/discord-api-types/rest/v10/guildScheduledEvent.d.ts create mode 100644 node_modules/discord-api-types/rest/v10/guildScheduledEvent.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v10/guildScheduledEvent.js create mode 100644 node_modules/discord-api-types/rest/v10/guildScheduledEvent.js.map create mode 100644 node_modules/discord-api-types/rest/v10/index.d.ts create mode 100644 node_modules/discord-api-types/rest/v10/index.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v10/index.js create mode 100644 node_modules/discord-api-types/rest/v10/index.js.map create mode 100644 node_modules/discord-api-types/rest/v10/index.mjs create mode 100644 node_modules/discord-api-types/rest/v10/interactions.d.ts create mode 100644 node_modules/discord-api-types/rest/v10/interactions.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v10/interactions.js create mode 100644 node_modules/discord-api-types/rest/v10/interactions.js.map create mode 100644 node_modules/discord-api-types/rest/v10/invite.d.ts create mode 100644 node_modules/discord-api-types/rest/v10/invite.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v10/invite.js create mode 100644 node_modules/discord-api-types/rest/v10/invite.js.map create mode 100644 node_modules/discord-api-types/rest/v10/oauth2.d.ts create mode 100644 node_modules/discord-api-types/rest/v10/oauth2.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v10/oauth2.js create mode 100644 node_modules/discord-api-types/rest/v10/oauth2.js.map create mode 100644 node_modules/discord-api-types/rest/v10/stageInstance.d.ts create mode 100644 node_modules/discord-api-types/rest/v10/stageInstance.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v10/stageInstance.js create mode 100644 node_modules/discord-api-types/rest/v10/stageInstance.js.map create mode 100644 node_modules/discord-api-types/rest/v10/sticker.d.ts create mode 100644 node_modules/discord-api-types/rest/v10/sticker.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v10/sticker.js create mode 100644 node_modules/discord-api-types/rest/v10/sticker.js.map create mode 100644 node_modules/discord-api-types/rest/v10/template.d.ts create mode 100644 node_modules/discord-api-types/rest/v10/template.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v10/template.js create mode 100644 node_modules/discord-api-types/rest/v10/template.js.map create mode 100644 node_modules/discord-api-types/rest/v10/user.d.ts create mode 100644 node_modules/discord-api-types/rest/v10/user.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v10/user.js create mode 100644 node_modules/discord-api-types/rest/v10/user.js.map create mode 100644 node_modules/discord-api-types/rest/v10/voice.d.ts create mode 100644 node_modules/discord-api-types/rest/v10/voice.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v10/voice.js create mode 100644 node_modules/discord-api-types/rest/v10/voice.js.map create mode 100644 node_modules/discord-api-types/rest/v10/webhook.d.ts create mode 100644 node_modules/discord-api-types/rest/v10/webhook.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v10/webhook.js create mode 100644 node_modules/discord-api-types/rest/v10/webhook.js.map create mode 100644 node_modules/discord-api-types/rest/v6/auditLog.d.ts create mode 100644 node_modules/discord-api-types/rest/v6/auditLog.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v6/auditLog.js create mode 100644 node_modules/discord-api-types/rest/v6/auditLog.js.map create mode 100644 node_modules/discord-api-types/rest/v6/channel.d.ts create mode 100644 node_modules/discord-api-types/rest/v6/channel.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v6/channel.js create mode 100644 node_modules/discord-api-types/rest/v6/channel.js.map create mode 100644 node_modules/discord-api-types/rest/v6/emoji.d.ts create mode 100644 node_modules/discord-api-types/rest/v6/emoji.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v6/emoji.js create mode 100644 node_modules/discord-api-types/rest/v6/emoji.js.map create mode 100644 node_modules/discord-api-types/rest/v6/gateway.d.ts create mode 100644 node_modules/discord-api-types/rest/v6/gateway.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v6/gateway.js create mode 100644 node_modules/discord-api-types/rest/v6/gateway.js.map create mode 100644 node_modules/discord-api-types/rest/v6/guild.d.ts create mode 100644 node_modules/discord-api-types/rest/v6/guild.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v6/guild.js create mode 100644 node_modules/discord-api-types/rest/v6/guild.js.map create mode 100644 node_modules/discord-api-types/rest/v6/index.d.ts create mode 100644 node_modules/discord-api-types/rest/v6/index.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v6/index.js create mode 100644 node_modules/discord-api-types/rest/v6/index.js.map create mode 100644 node_modules/discord-api-types/rest/v6/index.mjs create mode 100644 node_modules/discord-api-types/rest/v6/invite.d.ts create mode 100644 node_modules/discord-api-types/rest/v6/invite.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v6/invite.js create mode 100644 node_modules/discord-api-types/rest/v6/invite.js.map create mode 100644 node_modules/discord-api-types/rest/v6/oauth2.d.ts create mode 100644 node_modules/discord-api-types/rest/v6/oauth2.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v6/oauth2.js create mode 100644 node_modules/discord-api-types/rest/v6/oauth2.js.map create mode 100644 node_modules/discord-api-types/rest/v6/user.d.ts create mode 100644 node_modules/discord-api-types/rest/v6/user.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v6/user.js create mode 100644 node_modules/discord-api-types/rest/v6/user.js.map create mode 100644 node_modules/discord-api-types/rest/v6/voice.d.ts create mode 100644 node_modules/discord-api-types/rest/v6/voice.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v6/voice.js create mode 100644 node_modules/discord-api-types/rest/v6/voice.js.map create mode 100644 node_modules/discord-api-types/rest/v6/webhook.d.ts create mode 100644 node_modules/discord-api-types/rest/v6/webhook.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v6/webhook.js create mode 100644 node_modules/discord-api-types/rest/v6/webhook.js.map create mode 100644 node_modules/discord-api-types/rest/v8/auditLog.d.ts create mode 100644 node_modules/discord-api-types/rest/v8/auditLog.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v8/auditLog.js create mode 100644 node_modules/discord-api-types/rest/v8/auditLog.js.map create mode 100644 node_modules/discord-api-types/rest/v8/channel.d.ts create mode 100644 node_modules/discord-api-types/rest/v8/channel.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v8/channel.js create mode 100644 node_modules/discord-api-types/rest/v8/channel.js.map create mode 100644 node_modules/discord-api-types/rest/v8/emoji.d.ts create mode 100644 node_modules/discord-api-types/rest/v8/emoji.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v8/emoji.js create mode 100644 node_modules/discord-api-types/rest/v8/emoji.js.map create mode 100644 node_modules/discord-api-types/rest/v8/gateway.d.ts create mode 100644 node_modules/discord-api-types/rest/v8/gateway.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v8/gateway.js create mode 100644 node_modules/discord-api-types/rest/v8/gateway.js.map create mode 100644 node_modules/discord-api-types/rest/v8/guild.d.ts create mode 100644 node_modules/discord-api-types/rest/v8/guild.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v8/guild.js create mode 100644 node_modules/discord-api-types/rest/v8/guild.js.map create mode 100644 node_modules/discord-api-types/rest/v8/guildScheduledEvent.d.ts create mode 100644 node_modules/discord-api-types/rest/v8/guildScheduledEvent.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v8/guildScheduledEvent.js create mode 100644 node_modules/discord-api-types/rest/v8/guildScheduledEvent.js.map create mode 100644 node_modules/discord-api-types/rest/v8/index.d.ts create mode 100644 node_modules/discord-api-types/rest/v8/index.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v8/index.js create mode 100644 node_modules/discord-api-types/rest/v8/index.js.map create mode 100644 node_modules/discord-api-types/rest/v8/index.mjs create mode 100644 node_modules/discord-api-types/rest/v8/interactions.d.ts create mode 100644 node_modules/discord-api-types/rest/v8/interactions.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v8/interactions.js create mode 100644 node_modules/discord-api-types/rest/v8/interactions.js.map create mode 100644 node_modules/discord-api-types/rest/v8/invite.d.ts create mode 100644 node_modules/discord-api-types/rest/v8/invite.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v8/invite.js create mode 100644 node_modules/discord-api-types/rest/v8/invite.js.map create mode 100644 node_modules/discord-api-types/rest/v8/oauth2.d.ts create mode 100644 node_modules/discord-api-types/rest/v8/oauth2.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v8/oauth2.js create mode 100644 node_modules/discord-api-types/rest/v8/oauth2.js.map create mode 100644 node_modules/discord-api-types/rest/v8/stageInstance.d.ts create mode 100644 node_modules/discord-api-types/rest/v8/stageInstance.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v8/stageInstance.js create mode 100644 node_modules/discord-api-types/rest/v8/stageInstance.js.map create mode 100644 node_modules/discord-api-types/rest/v8/sticker.d.ts create mode 100644 node_modules/discord-api-types/rest/v8/sticker.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v8/sticker.js create mode 100644 node_modules/discord-api-types/rest/v8/sticker.js.map create mode 100644 node_modules/discord-api-types/rest/v8/template.d.ts create mode 100644 node_modules/discord-api-types/rest/v8/template.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v8/template.js create mode 100644 node_modules/discord-api-types/rest/v8/template.js.map create mode 100644 node_modules/discord-api-types/rest/v8/user.d.ts create mode 100644 node_modules/discord-api-types/rest/v8/user.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v8/user.js create mode 100644 node_modules/discord-api-types/rest/v8/user.js.map create mode 100644 node_modules/discord-api-types/rest/v8/voice.d.ts create mode 100644 node_modules/discord-api-types/rest/v8/voice.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v8/voice.js create mode 100644 node_modules/discord-api-types/rest/v8/voice.js.map create mode 100644 node_modules/discord-api-types/rest/v8/webhook.d.ts create mode 100644 node_modules/discord-api-types/rest/v8/webhook.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v8/webhook.js create mode 100644 node_modules/discord-api-types/rest/v8/webhook.js.map create mode 100644 node_modules/discord-api-types/rest/v9/auditLog.d.ts create mode 100644 node_modules/discord-api-types/rest/v9/auditLog.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v9/auditLog.js create mode 100644 node_modules/discord-api-types/rest/v9/auditLog.js.map create mode 100644 node_modules/discord-api-types/rest/v9/channel.d.ts create mode 100644 node_modules/discord-api-types/rest/v9/channel.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v9/channel.js create mode 100644 node_modules/discord-api-types/rest/v9/channel.js.map create mode 100644 node_modules/discord-api-types/rest/v9/emoji.d.ts create mode 100644 node_modules/discord-api-types/rest/v9/emoji.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v9/emoji.js create mode 100644 node_modules/discord-api-types/rest/v9/emoji.js.map create mode 100644 node_modules/discord-api-types/rest/v9/gateway.d.ts create mode 100644 node_modules/discord-api-types/rest/v9/gateway.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v9/gateway.js create mode 100644 node_modules/discord-api-types/rest/v9/gateway.js.map create mode 100644 node_modules/discord-api-types/rest/v9/guild.d.ts create mode 100644 node_modules/discord-api-types/rest/v9/guild.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v9/guild.js create mode 100644 node_modules/discord-api-types/rest/v9/guild.js.map create mode 100644 node_modules/discord-api-types/rest/v9/guildScheduledEvent.d.ts create mode 100644 node_modules/discord-api-types/rest/v9/guildScheduledEvent.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v9/guildScheduledEvent.js create mode 100644 node_modules/discord-api-types/rest/v9/guildScheduledEvent.js.map create mode 100644 node_modules/discord-api-types/rest/v9/index.d.ts create mode 100644 node_modules/discord-api-types/rest/v9/index.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v9/index.js create mode 100644 node_modules/discord-api-types/rest/v9/index.js.map create mode 100644 node_modules/discord-api-types/rest/v9/index.mjs create mode 100644 node_modules/discord-api-types/rest/v9/interactions.d.ts create mode 100644 node_modules/discord-api-types/rest/v9/interactions.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v9/interactions.js create mode 100644 node_modules/discord-api-types/rest/v9/interactions.js.map create mode 100644 node_modules/discord-api-types/rest/v9/invite.d.ts create mode 100644 node_modules/discord-api-types/rest/v9/invite.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v9/invite.js create mode 100644 node_modules/discord-api-types/rest/v9/invite.js.map create mode 100644 node_modules/discord-api-types/rest/v9/oauth2.d.ts create mode 100644 node_modules/discord-api-types/rest/v9/oauth2.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v9/oauth2.js create mode 100644 node_modules/discord-api-types/rest/v9/oauth2.js.map create mode 100644 node_modules/discord-api-types/rest/v9/stageInstance.d.ts create mode 100644 node_modules/discord-api-types/rest/v9/stageInstance.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v9/stageInstance.js create mode 100644 node_modules/discord-api-types/rest/v9/stageInstance.js.map create mode 100644 node_modules/discord-api-types/rest/v9/sticker.d.ts create mode 100644 node_modules/discord-api-types/rest/v9/sticker.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v9/sticker.js create mode 100644 node_modules/discord-api-types/rest/v9/sticker.js.map create mode 100644 node_modules/discord-api-types/rest/v9/template.d.ts create mode 100644 node_modules/discord-api-types/rest/v9/template.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v9/template.js create mode 100644 node_modules/discord-api-types/rest/v9/template.js.map create mode 100644 node_modules/discord-api-types/rest/v9/user.d.ts create mode 100644 node_modules/discord-api-types/rest/v9/user.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v9/user.js create mode 100644 node_modules/discord-api-types/rest/v9/user.js.map create mode 100644 node_modules/discord-api-types/rest/v9/voice.d.ts create mode 100644 node_modules/discord-api-types/rest/v9/voice.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v9/voice.js create mode 100644 node_modules/discord-api-types/rest/v9/voice.js.map create mode 100644 node_modules/discord-api-types/rest/v9/webhook.d.ts create mode 100644 node_modules/discord-api-types/rest/v9/webhook.d.ts.map create mode 100644 node_modules/discord-api-types/rest/v9/webhook.js create mode 100644 node_modules/discord-api-types/rest/v9/webhook.js.map create mode 100644 node_modules/discord-api-types/rpc/common.d.ts create mode 100644 node_modules/discord-api-types/rpc/common.d.ts.map create mode 100644 node_modules/discord-api-types/rpc/common.js create mode 100644 node_modules/discord-api-types/rpc/common.js.map create mode 100644 node_modules/discord-api-types/rpc/index.d.ts create mode 100644 node_modules/discord-api-types/rpc/index.d.ts.map create mode 100644 node_modules/discord-api-types/rpc/index.js create mode 100644 node_modules/discord-api-types/rpc/index.js.map create mode 100644 node_modules/discord-api-types/rpc/index.mjs create mode 100644 node_modules/discord-api-types/rpc/v10.d.ts create mode 100644 node_modules/discord-api-types/rpc/v10.d.ts.map create mode 100644 node_modules/discord-api-types/rpc/v10.js create mode 100644 node_modules/discord-api-types/rpc/v10.js.map create mode 100644 node_modules/discord-api-types/rpc/v10.mjs create mode 100644 node_modules/discord-api-types/rpc/v8.d.ts create mode 100644 node_modules/discord-api-types/rpc/v8.d.ts.map create mode 100644 node_modules/discord-api-types/rpc/v8.js create mode 100644 node_modules/discord-api-types/rpc/v8.js.map create mode 100644 node_modules/discord-api-types/rpc/v8.mjs create mode 100644 node_modules/discord-api-types/rpc/v9.d.ts create mode 100644 node_modules/discord-api-types/rpc/v9.d.ts.map create mode 100644 node_modules/discord-api-types/rpc/v9.js create mode 100644 node_modules/discord-api-types/rpc/v9.js.map create mode 100644 node_modules/discord-api-types/rpc/v9.mjs create mode 100644 node_modules/discord-api-types/utils/index.d.ts create mode 100644 node_modules/discord-api-types/utils/index.d.ts.map create mode 100644 node_modules/discord-api-types/utils/index.js create mode 100644 node_modules/discord-api-types/utils/index.js.map create mode 100644 node_modules/discord-api-types/utils/index.mjs create mode 100644 node_modules/discord-api-types/utils/internals.d.ts create mode 100644 node_modules/discord-api-types/utils/internals.d.ts.map create mode 100644 node_modules/discord-api-types/utils/internals.js create mode 100644 node_modules/discord-api-types/utils/internals.js.map create mode 100644 node_modules/discord-api-types/utils/v10.d.ts create mode 100644 node_modules/discord-api-types/utils/v10.d.ts.map create mode 100644 node_modules/discord-api-types/utils/v10.js create mode 100644 node_modules/discord-api-types/utils/v10.js.map create mode 100644 node_modules/discord-api-types/utils/v10.mjs create mode 100644 node_modules/discord-api-types/utils/v8.d.ts create mode 100644 node_modules/discord-api-types/utils/v8.d.ts.map create mode 100644 node_modules/discord-api-types/utils/v8.js create mode 100644 node_modules/discord-api-types/utils/v8.js.map create mode 100644 node_modules/discord-api-types/utils/v8.mjs create mode 100644 node_modules/discord-api-types/utils/v9.d.ts create mode 100644 node_modules/discord-api-types/utils/v9.d.ts.map create mode 100644 node_modules/discord-api-types/utils/v9.js create mode 100644 node_modules/discord-api-types/utils/v9.js.map create mode 100644 node_modules/discord-api-types/utils/v9.mjs create mode 100644 node_modules/discord-api-types/v10.d.ts create mode 100644 node_modules/discord-api-types/v10.d.ts.map create mode 100644 node_modules/discord-api-types/v10.js create mode 100644 node_modules/discord-api-types/v10.js.map create mode 100644 node_modules/discord-api-types/v10.mjs create mode 100644 node_modules/discord-api-types/v6.d.ts create mode 100644 node_modules/discord-api-types/v6.d.ts.map create mode 100644 node_modules/discord-api-types/v6.js create mode 100644 node_modules/discord-api-types/v6.js.map create mode 100644 node_modules/discord-api-types/v6.mjs create mode 100644 node_modules/discord-api-types/v8.d.ts create mode 100644 node_modules/discord-api-types/v8.d.ts.map create mode 100644 node_modules/discord-api-types/v8.js create mode 100644 node_modules/discord-api-types/v8.js.map create mode 100644 node_modules/discord-api-types/v8.mjs create mode 100644 node_modules/discord-api-types/v9.d.ts create mode 100644 node_modules/discord-api-types/v9.d.ts.map create mode 100644 node_modules/discord-api-types/v9.js create mode 100644 node_modules/discord-api-types/v9.js.map create mode 100644 node_modules/discord-api-types/v9.mjs create mode 100644 node_modules/discord-api-types/voice/index.d.ts create mode 100644 node_modules/discord-api-types/voice/index.d.ts.map create mode 100644 node_modules/discord-api-types/voice/index.js create mode 100644 node_modules/discord-api-types/voice/index.js.map create mode 100644 node_modules/discord-api-types/voice/index.mjs create mode 100644 node_modules/discord-api-types/voice/v4.d.ts create mode 100644 node_modules/discord-api-types/voice/v4.d.ts.map create mode 100644 node_modules/discord-api-types/voice/v4.js create mode 100644 node_modules/discord-api-types/voice/v4.js.map create mode 100644 node_modules/discord-api-types/voice/v4.mjs create mode 100644 node_modules/discord.js/LICENSE create mode 100644 node_modules/discord.js/README.md create mode 100644 node_modules/discord.js/package.json create mode 100644 node_modules/discord.js/src/WebSocket.js create mode 100644 node_modules/discord.js/src/client/BaseClient.js create mode 100644 node_modules/discord.js/src/client/Client.js create mode 100644 node_modules/discord.js/src/client/WebhookClient.js create mode 100644 node_modules/discord.js/src/client/actions/Action.js create mode 100644 node_modules/discord.js/src/client/actions/ActionsManager.js create mode 100644 node_modules/discord.js/src/client/actions/ChannelCreate.js create mode 100644 node_modules/discord.js/src/client/actions/ChannelDelete.js create mode 100644 node_modules/discord.js/src/client/actions/ChannelUpdate.js create mode 100644 node_modules/discord.js/src/client/actions/GuildBanAdd.js create mode 100644 node_modules/discord.js/src/client/actions/GuildBanRemove.js create mode 100644 node_modules/discord.js/src/client/actions/GuildChannelsPositionUpdate.js create mode 100644 node_modules/discord.js/src/client/actions/GuildDelete.js create mode 100644 node_modules/discord.js/src/client/actions/GuildEmojiCreate.js create mode 100644 node_modules/discord.js/src/client/actions/GuildEmojiDelete.js create mode 100644 node_modules/discord.js/src/client/actions/GuildEmojiUpdate.js create mode 100644 node_modules/discord.js/src/client/actions/GuildEmojisUpdate.js create mode 100644 node_modules/discord.js/src/client/actions/GuildIntegrationsUpdate.js create mode 100644 node_modules/discord.js/src/client/actions/GuildMemberRemove.js create mode 100644 node_modules/discord.js/src/client/actions/GuildMemberUpdate.js create mode 100644 node_modules/discord.js/src/client/actions/GuildRoleCreate.js create mode 100644 node_modules/discord.js/src/client/actions/GuildRoleDelete.js create mode 100644 node_modules/discord.js/src/client/actions/GuildRoleUpdate.js create mode 100644 node_modules/discord.js/src/client/actions/GuildRolesPositionUpdate.js create mode 100644 node_modules/discord.js/src/client/actions/GuildScheduledEventCreate.js create mode 100644 node_modules/discord.js/src/client/actions/GuildScheduledEventDelete.js create mode 100644 node_modules/discord.js/src/client/actions/GuildScheduledEventUpdate.js create mode 100644 node_modules/discord.js/src/client/actions/GuildScheduledEventUserAdd.js create mode 100644 node_modules/discord.js/src/client/actions/GuildScheduledEventUserRemove.js create mode 100644 node_modules/discord.js/src/client/actions/GuildStickerCreate.js create mode 100644 node_modules/discord.js/src/client/actions/GuildStickerDelete.js create mode 100644 node_modules/discord.js/src/client/actions/GuildStickerUpdate.js create mode 100644 node_modules/discord.js/src/client/actions/GuildStickersUpdate.js create mode 100644 node_modules/discord.js/src/client/actions/GuildUpdate.js create mode 100644 node_modules/discord.js/src/client/actions/InteractionCreate.js create mode 100644 node_modules/discord.js/src/client/actions/InviteCreate.js create mode 100644 node_modules/discord.js/src/client/actions/InviteDelete.js create mode 100644 node_modules/discord.js/src/client/actions/MessageCreate.js create mode 100644 node_modules/discord.js/src/client/actions/MessageDelete.js create mode 100644 node_modules/discord.js/src/client/actions/MessageDeleteBulk.js create mode 100644 node_modules/discord.js/src/client/actions/MessageReactionAdd.js create mode 100644 node_modules/discord.js/src/client/actions/MessageReactionRemove.js create mode 100644 node_modules/discord.js/src/client/actions/MessageReactionRemoveAll.js create mode 100644 node_modules/discord.js/src/client/actions/MessageReactionRemoveEmoji.js create mode 100644 node_modules/discord.js/src/client/actions/MessageUpdate.js create mode 100644 node_modules/discord.js/src/client/actions/PresenceUpdate.js create mode 100644 node_modules/discord.js/src/client/actions/StageInstanceCreate.js create mode 100644 node_modules/discord.js/src/client/actions/StageInstanceDelete.js create mode 100644 node_modules/discord.js/src/client/actions/StageInstanceUpdate.js create mode 100644 node_modules/discord.js/src/client/actions/ThreadCreate.js create mode 100644 node_modules/discord.js/src/client/actions/ThreadDelete.js create mode 100644 node_modules/discord.js/src/client/actions/ThreadListSync.js create mode 100644 node_modules/discord.js/src/client/actions/ThreadMemberUpdate.js create mode 100644 node_modules/discord.js/src/client/actions/ThreadMembersUpdate.js create mode 100644 node_modules/discord.js/src/client/actions/TypingStart.js create mode 100644 node_modules/discord.js/src/client/actions/UserUpdate.js create mode 100644 node_modules/discord.js/src/client/actions/VoiceStateUpdate.js create mode 100644 node_modules/discord.js/src/client/actions/WebhooksUpdate.js create mode 100644 node_modules/discord.js/src/client/voice/ClientVoiceManager.js create mode 100644 node_modules/discord.js/src/client/websocket/WebSocketManager.js create mode 100644 node_modules/discord.js/src/client/websocket/WebSocketShard.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/APPLICATION_COMMAND_CREATE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/APPLICATION_COMMAND_DELETE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/APPLICATION_COMMAND_UPDATE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/CHANNEL_CREATE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/CHANNEL_DELETE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/CHANNEL_PINS_UPDATE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/CHANNEL_UPDATE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/GUILD_BAN_ADD.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/GUILD_BAN_REMOVE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/GUILD_CREATE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/GUILD_DELETE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/GUILD_EMOJIS_UPDATE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/GUILD_INTEGRATIONS_UPDATE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/GUILD_MEMBERS_CHUNK.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/GUILD_MEMBER_ADD.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/GUILD_MEMBER_REMOVE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/GUILD_MEMBER_UPDATE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/GUILD_ROLE_CREATE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/GUILD_ROLE_DELETE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/GUILD_ROLE_UPDATE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/GUILD_SCHEDULED_EVENT_CREATE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/GUILD_SCHEDULED_EVENT_DELETE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/GUILD_SCHEDULED_EVENT_UPDATE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/GUILD_SCHEDULED_EVENT_USER_ADD.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/GUILD_SCHEDULED_EVENT_USER_REMOVE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/GUILD_STICKERS_UPDATE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/GUILD_UPDATE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/INTERACTION_CREATE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/INVITE_CREATE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/INVITE_DELETE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/MESSAGE_CREATE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/MESSAGE_DELETE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/MESSAGE_DELETE_BULK.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/MESSAGE_REACTION_ADD.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/MESSAGE_REACTION_REMOVE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/MESSAGE_REACTION_REMOVE_ALL.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/MESSAGE_REACTION_REMOVE_EMOJI.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/MESSAGE_UPDATE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/PRESENCE_UPDATE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/READY.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/RESUMED.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/STAGE_INSTANCE_CREATE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/STAGE_INSTANCE_DELETE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/STAGE_INSTANCE_UPDATE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/THREAD_CREATE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/THREAD_DELETE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/THREAD_LIST_SYNC.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/THREAD_MEMBERS_UPDATE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/THREAD_MEMBER_UPDATE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/THREAD_UPDATE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/TYPING_START.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/USER_UPDATE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/VOICE_SERVER_UPDATE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/VOICE_STATE_UPDATE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/WEBHOOKS_UPDATE.js create mode 100644 node_modules/discord.js/src/client/websocket/handlers/index.js create mode 100644 node_modules/discord.js/src/errors/DJSError.js create mode 100644 node_modules/discord.js/src/errors/Messages.js create mode 100644 node_modules/discord.js/src/errors/index.js create mode 100644 node_modules/discord.js/src/index.js create mode 100644 node_modules/discord.js/src/managers/ApplicationCommandManager.js create mode 100644 node_modules/discord.js/src/managers/ApplicationCommandPermissionsManager.js create mode 100644 node_modules/discord.js/src/managers/BaseGuildEmojiManager.js create mode 100644 node_modules/discord.js/src/managers/BaseManager.js create mode 100644 node_modules/discord.js/src/managers/CachedManager.js create mode 100644 node_modules/discord.js/src/managers/ChannelManager.js create mode 100644 node_modules/discord.js/src/managers/DataManager.js create mode 100644 node_modules/discord.js/src/managers/GuildApplicationCommandManager.js create mode 100644 node_modules/discord.js/src/managers/GuildBanManager.js create mode 100644 node_modules/discord.js/src/managers/GuildChannelManager.js create mode 100644 node_modules/discord.js/src/managers/GuildEmojiManager.js create mode 100644 node_modules/discord.js/src/managers/GuildEmojiRoleManager.js create mode 100644 node_modules/discord.js/src/managers/GuildInviteManager.js create mode 100644 node_modules/discord.js/src/managers/GuildManager.js create mode 100644 node_modules/discord.js/src/managers/GuildMemberManager.js create mode 100644 node_modules/discord.js/src/managers/GuildMemberRoleManager.js create mode 100644 node_modules/discord.js/src/managers/GuildScheduledEventManager.js create mode 100644 node_modules/discord.js/src/managers/GuildStickerManager.js create mode 100644 node_modules/discord.js/src/managers/MessageManager.js create mode 100644 node_modules/discord.js/src/managers/PermissionOverwriteManager.js create mode 100644 node_modules/discord.js/src/managers/PresenceManager.js create mode 100644 node_modules/discord.js/src/managers/ReactionManager.js create mode 100644 node_modules/discord.js/src/managers/ReactionUserManager.js create mode 100644 node_modules/discord.js/src/managers/RoleManager.js create mode 100644 node_modules/discord.js/src/managers/StageInstanceManager.js create mode 100644 node_modules/discord.js/src/managers/ThreadManager.js create mode 100644 node_modules/discord.js/src/managers/ThreadMemberManager.js create mode 100644 node_modules/discord.js/src/managers/UserManager.js create mode 100644 node_modules/discord.js/src/managers/VoiceStateManager.js create mode 100644 node_modules/discord.js/src/rest/APIRequest.js create mode 100644 node_modules/discord.js/src/rest/APIRouter.js create mode 100644 node_modules/discord.js/src/rest/DiscordAPIError.js create mode 100644 node_modules/discord.js/src/rest/HTTPError.js create mode 100644 node_modules/discord.js/src/rest/RESTManager.js create mode 100644 node_modules/discord.js/src/rest/RateLimitError.js create mode 100644 node_modules/discord.js/src/rest/RequestHandler.js create mode 100644 node_modules/discord.js/src/sharding/Shard.js create mode 100644 node_modules/discord.js/src/sharding/ShardClientUtil.js create mode 100644 node_modules/discord.js/src/sharding/ShardingManager.js create mode 100644 node_modules/discord.js/src/structures/AnonymousGuild.js create mode 100644 node_modules/discord.js/src/structures/ApplicationCommand.js create mode 100644 node_modules/discord.js/src/structures/AutocompleteInteraction.js create mode 100644 node_modules/discord.js/src/structures/Base.js create mode 100644 node_modules/discord.js/src/structures/BaseCommandInteraction.js create mode 100644 node_modules/discord.js/src/structures/BaseGuild.js create mode 100644 node_modules/discord.js/src/structures/BaseGuildEmoji.js create mode 100644 node_modules/discord.js/src/structures/BaseGuildTextChannel.js create mode 100644 node_modules/discord.js/src/structures/BaseGuildVoiceChannel.js create mode 100644 node_modules/discord.js/src/structures/BaseMessageComponent.js create mode 100644 node_modules/discord.js/src/structures/ButtonInteraction.js create mode 100644 node_modules/discord.js/src/structures/CategoryChannel.js create mode 100644 node_modules/discord.js/src/structures/Channel.js create mode 100644 node_modules/discord.js/src/structures/ClientApplication.js create mode 100644 node_modules/discord.js/src/structures/ClientPresence.js create mode 100644 node_modules/discord.js/src/structures/ClientUser.js create mode 100644 node_modules/discord.js/src/structures/CommandInteraction.js create mode 100644 node_modules/discord.js/src/structures/CommandInteractionOptionResolver.js create mode 100644 node_modules/discord.js/src/structures/ContextMenuInteraction.js create mode 100644 node_modules/discord.js/src/structures/DMChannel.js create mode 100644 node_modules/discord.js/src/structures/DirectoryChannel.js create mode 100644 node_modules/discord.js/src/structures/Emoji.js create mode 100644 node_modules/discord.js/src/structures/Guild.js create mode 100644 node_modules/discord.js/src/structures/GuildAuditLogs.js create mode 100644 node_modules/discord.js/src/structures/GuildBan.js create mode 100644 node_modules/discord.js/src/structures/GuildChannel.js create mode 100644 node_modules/discord.js/src/structures/GuildEmoji.js create mode 100644 node_modules/discord.js/src/structures/GuildMember.js create mode 100644 node_modules/discord.js/src/structures/GuildPreview.js create mode 100644 node_modules/discord.js/src/structures/GuildPreviewEmoji.js create mode 100644 node_modules/discord.js/src/structures/GuildScheduledEvent.js create mode 100644 node_modules/discord.js/src/structures/GuildTemplate.js create mode 100644 node_modules/discord.js/src/structures/Integration.js create mode 100644 node_modules/discord.js/src/structures/IntegrationApplication.js create mode 100644 node_modules/discord.js/src/structures/Interaction.js create mode 100644 node_modules/discord.js/src/structures/InteractionCollector.js create mode 100644 node_modules/discord.js/src/structures/InteractionWebhook.js create mode 100644 node_modules/discord.js/src/structures/Invite.js create mode 100644 node_modules/discord.js/src/structures/InviteGuild.js create mode 100644 node_modules/discord.js/src/structures/InviteStageInstance.js create mode 100644 node_modules/discord.js/src/structures/Message.js create mode 100644 node_modules/discord.js/src/structures/MessageActionRow.js create mode 100644 node_modules/discord.js/src/structures/MessageAttachment.js create mode 100644 node_modules/discord.js/src/structures/MessageButton.js create mode 100644 node_modules/discord.js/src/structures/MessageCollector.js create mode 100644 node_modules/discord.js/src/structures/MessageComponentInteraction.js create mode 100644 node_modules/discord.js/src/structures/MessageContextMenuInteraction.js create mode 100644 node_modules/discord.js/src/structures/MessageEmbed.js create mode 100644 node_modules/discord.js/src/structures/MessageMentions.js create mode 100644 node_modules/discord.js/src/structures/MessagePayload.js create mode 100644 node_modules/discord.js/src/structures/MessageReaction.js create mode 100644 node_modules/discord.js/src/structures/MessageSelectMenu.js create mode 100644 node_modules/discord.js/src/structures/Modal.js create mode 100644 node_modules/discord.js/src/structures/ModalSubmitFieldsResolver.js create mode 100644 node_modules/discord.js/src/structures/ModalSubmitInteraction.js create mode 100644 node_modules/discord.js/src/structures/NewsChannel.js create mode 100644 node_modules/discord.js/src/structures/OAuth2Guild.js create mode 100644 node_modules/discord.js/src/structures/PartialGroupDMChannel.js create mode 100644 node_modules/discord.js/src/structures/PermissionOverwrites.js create mode 100644 node_modules/discord.js/src/structures/Presence.js create mode 100644 node_modules/discord.js/src/structures/ReactionCollector.js create mode 100644 node_modules/discord.js/src/structures/ReactionEmoji.js create mode 100644 node_modules/discord.js/src/structures/Role.js create mode 100644 node_modules/discord.js/src/structures/SelectMenuInteraction.js create mode 100644 node_modules/discord.js/src/structures/StageChannel.js create mode 100644 node_modules/discord.js/src/structures/StageInstance.js create mode 100644 node_modules/discord.js/src/structures/Sticker.js create mode 100644 node_modules/discord.js/src/structures/StickerPack.js create mode 100644 node_modules/discord.js/src/structures/StoreChannel.js create mode 100644 node_modules/discord.js/src/structures/Team.js create mode 100644 node_modules/discord.js/src/structures/TeamMember.js create mode 100644 node_modules/discord.js/src/structures/TextChannel.js create mode 100644 node_modules/discord.js/src/structures/TextInputComponent.js create mode 100644 node_modules/discord.js/src/structures/ThreadChannel.js create mode 100644 node_modules/discord.js/src/structures/ThreadMember.js create mode 100644 node_modules/discord.js/src/structures/Typing.js create mode 100644 node_modules/discord.js/src/structures/User.js create mode 100644 node_modules/discord.js/src/structures/UserContextMenuInteraction.js create mode 100644 node_modules/discord.js/src/structures/VoiceChannel.js create mode 100644 node_modules/discord.js/src/structures/VoiceRegion.js create mode 100644 node_modules/discord.js/src/structures/VoiceState.js create mode 100644 node_modules/discord.js/src/structures/Webhook.js create mode 100644 node_modules/discord.js/src/structures/WelcomeChannel.js create mode 100644 node_modules/discord.js/src/structures/WelcomeScreen.js create mode 100644 node_modules/discord.js/src/structures/Widget.js create mode 100644 node_modules/discord.js/src/structures/WidgetMember.js create mode 100644 node_modules/discord.js/src/structures/interfaces/Application.js create mode 100644 node_modules/discord.js/src/structures/interfaces/Collector.js create mode 100644 node_modules/discord.js/src/structures/interfaces/InteractionResponses.js create mode 100644 node_modules/discord.js/src/structures/interfaces/TextBasedChannel.js create mode 100644 node_modules/discord.js/src/util/ActivityFlags.js create mode 100644 node_modules/discord.js/src/util/ApplicationFlags.js create mode 100644 node_modules/discord.js/src/util/BitField.js create mode 100644 node_modules/discord.js/src/util/Constants.js create mode 100644 node_modules/discord.js/src/util/DataResolver.js create mode 100644 node_modules/discord.js/src/util/Formatters.js create mode 100644 node_modules/discord.js/src/util/Intents.js create mode 100644 node_modules/discord.js/src/util/LimitedCollection.js create mode 100644 node_modules/discord.js/src/util/MessageFlags.js create mode 100644 node_modules/discord.js/src/util/Options.js create mode 100644 node_modules/discord.js/src/util/Permissions.js create mode 100644 node_modules/discord.js/src/util/SnowflakeUtil.js create mode 100644 node_modules/discord.js/src/util/Sweepers.js create mode 100644 node_modules/discord.js/src/util/SystemChannelFlags.js create mode 100644 node_modules/discord.js/src/util/ThreadMemberFlags.js create mode 100644 node_modules/discord.js/src/util/UserFlags.js create mode 100644 node_modules/discord.js/src/util/Util.js create mode 100644 node_modules/discord.js/typings/enums.d.ts create mode 100644 node_modules/discord.js/typings/index.d.ts create mode 100644 node_modules/discord.js/typings/index.test-d.ts create mode 100644 node_modules/discord.js/typings/rawDataTypes.d.ts create mode 100644 node_modules/ee-first/LICENSE create mode 100644 node_modules/ee-first/README.md create mode 100644 node_modules/ee-first/index.js create mode 100644 node_modules/ee-first/package.json create mode 100644 node_modules/encodeurl/HISTORY.md create mode 100644 node_modules/encodeurl/LICENSE create mode 100644 node_modules/encodeurl/README.md create mode 100644 node_modules/encodeurl/index.js create mode 100644 node_modules/encodeurl/package.json create mode 100644 node_modules/escape-html/LICENSE create mode 100644 node_modules/escape-html/Readme.md create mode 100644 node_modules/escape-html/index.js create mode 100644 node_modules/escape-html/package.json create mode 100644 node_modules/etag/HISTORY.md create mode 100644 node_modules/etag/LICENSE create mode 100644 node_modules/etag/README.md create mode 100644 node_modules/etag/index.js create mode 100644 node_modules/etag/package.json create mode 100644 node_modules/express/History.md create mode 100644 node_modules/express/LICENSE create mode 100644 node_modules/express/Readme.md create mode 100644 node_modules/express/index.js create mode 100644 node_modules/express/lib/application.js create mode 100644 node_modules/express/lib/express.js create mode 100644 node_modules/express/lib/middleware/init.js create mode 100644 node_modules/express/lib/middleware/query.js create mode 100644 node_modules/express/lib/request.js create mode 100644 node_modules/express/lib/response.js create mode 100644 node_modules/express/lib/router/index.js create mode 100644 node_modules/express/lib/router/layer.js create mode 100644 node_modules/express/lib/router/route.js create mode 100644 node_modules/express/lib/utils.js create mode 100644 node_modules/express/lib/view.js create mode 100644 node_modules/express/package.json create mode 100644 node_modules/fast-deep-equal/LICENSE create mode 100644 node_modules/fast-deep-equal/README.md create mode 100644 node_modules/fast-deep-equal/es6/index.d.ts create mode 100644 node_modules/fast-deep-equal/es6/index.js create mode 100644 node_modules/fast-deep-equal/es6/react.d.ts create mode 100644 node_modules/fast-deep-equal/es6/react.js create mode 100644 node_modules/fast-deep-equal/index.d.ts create mode 100644 node_modules/fast-deep-equal/index.js create mode 100644 node_modules/fast-deep-equal/package.json create mode 100644 node_modules/fast-deep-equal/react.d.ts create mode 100644 node_modules/fast-deep-equal/react.js create mode 100644 node_modules/finalhandler/HISTORY.md create mode 100644 node_modules/finalhandler/LICENSE create mode 100644 node_modules/finalhandler/README.md create mode 100644 node_modules/finalhandler/SECURITY.md create mode 100644 node_modules/finalhandler/index.js create mode 100644 node_modules/finalhandler/package.json create mode 100644 node_modules/form-data/License create mode 100644 node_modules/form-data/README.md.bak create mode 100644 node_modules/form-data/Readme.md create mode 100644 node_modules/form-data/index.d.ts create mode 100644 node_modules/form-data/lib/browser.js create mode 100644 node_modules/form-data/lib/form_data.js create mode 100644 node_modules/form-data/lib/populate.js create mode 100644 node_modules/form-data/package.json create mode 100644 node_modules/forwarded/HISTORY.md create mode 100644 node_modules/forwarded/LICENSE create mode 100644 node_modules/forwarded/README.md create mode 100644 node_modules/forwarded/index.js create mode 100644 node_modules/forwarded/package.json create mode 100644 node_modules/fresh/HISTORY.md create mode 100644 node_modules/fresh/LICENSE create mode 100644 node_modules/fresh/README.md create mode 100644 node_modules/fresh/index.js create mode 100644 node_modules/fresh/package.json create mode 100644 node_modules/function-bind/.editorconfig create mode 100644 node_modules/function-bind/.eslintrc create mode 100644 node_modules/function-bind/.jscs.json create mode 100644 node_modules/function-bind/.npmignore create mode 100644 node_modules/function-bind/.travis.yml create mode 100644 node_modules/function-bind/LICENSE create mode 100644 node_modules/function-bind/README.md create mode 100644 node_modules/function-bind/implementation.js create mode 100644 node_modules/function-bind/index.js create mode 100644 node_modules/function-bind/package.json create mode 100644 node_modules/function-bind/test/.eslintrc create mode 100644 node_modules/function-bind/test/index.js create mode 100644 node_modules/get-intrinsic/.eslintrc create mode 100644 node_modules/get-intrinsic/.github/FUNDING.yml create mode 100644 node_modules/get-intrinsic/.nycrc create mode 100644 node_modules/get-intrinsic/CHANGELOG.md create mode 100644 node_modules/get-intrinsic/LICENSE create mode 100644 node_modules/get-intrinsic/README.md create mode 100644 node_modules/get-intrinsic/index.js create mode 100644 node_modules/get-intrinsic/package.json create mode 100644 node_modules/get-intrinsic/test/GetIntrinsic.js create mode 100644 node_modules/has-symbols/.eslintrc create mode 100644 node_modules/has-symbols/.github/FUNDING.yml create mode 100644 node_modules/has-symbols/.nycrc create mode 100644 node_modules/has-symbols/CHANGELOG.md create mode 100644 node_modules/has-symbols/LICENSE create mode 100644 node_modules/has-symbols/README.md create mode 100644 node_modules/has-symbols/index.js create mode 100644 node_modules/has-symbols/package.json create mode 100644 node_modules/has-symbols/shams.js create mode 100644 node_modules/has-symbols/test/index.js create mode 100644 node_modules/has-symbols/test/shams/core-js.js create mode 100644 node_modules/has-symbols/test/shams/get-own-property-symbols.js create mode 100644 node_modules/has-symbols/test/tests.js create mode 100644 node_modules/has/LICENSE-MIT create mode 100644 node_modules/has/README.md create mode 100644 node_modules/has/package.json create mode 100644 node_modules/has/src/index.js create mode 100644 node_modules/has/test/index.js create mode 100644 node_modules/http-errors/HISTORY.md create mode 100644 node_modules/http-errors/LICENSE create mode 100644 node_modules/http-errors/README.md create mode 100644 node_modules/http-errors/index.js create mode 100644 node_modules/http-errors/package.json create mode 100644 node_modules/iconv-lite/Changelog.md create mode 100644 node_modules/iconv-lite/LICENSE create mode 100644 node_modules/iconv-lite/README.md create mode 100644 node_modules/iconv-lite/encodings/dbcs-codec.js create mode 100644 node_modules/iconv-lite/encodings/dbcs-data.js create mode 100644 node_modules/iconv-lite/encodings/index.js create mode 100644 node_modules/iconv-lite/encodings/internal.js create mode 100644 node_modules/iconv-lite/encodings/sbcs-codec.js create mode 100644 node_modules/iconv-lite/encodings/sbcs-data-generated.js create mode 100644 node_modules/iconv-lite/encodings/sbcs-data.js create mode 100644 node_modules/iconv-lite/encodings/tables/big5-added.json create mode 100644 node_modules/iconv-lite/encodings/tables/cp936.json create mode 100644 node_modules/iconv-lite/encodings/tables/cp949.json create mode 100644 node_modules/iconv-lite/encodings/tables/cp950.json create mode 100644 node_modules/iconv-lite/encodings/tables/eucjp.json create mode 100644 node_modules/iconv-lite/encodings/tables/gb18030-ranges.json create mode 100644 node_modules/iconv-lite/encodings/tables/gbk-added.json create mode 100644 node_modules/iconv-lite/encodings/tables/shiftjis.json create mode 100644 node_modules/iconv-lite/encodings/utf16.js create mode 100644 node_modules/iconv-lite/encodings/utf7.js create mode 100644 node_modules/iconv-lite/lib/bom-handling.js create mode 100644 node_modules/iconv-lite/lib/extend-node.js create mode 100644 node_modules/iconv-lite/lib/index.d.ts create mode 100644 node_modules/iconv-lite/lib/index.js create mode 100644 node_modules/iconv-lite/lib/streams.js create mode 100644 node_modules/iconv-lite/package.json create mode 100644 node_modules/ieee754/LICENSE create mode 100644 node_modules/ieee754/README.md create mode 100644 node_modules/ieee754/index.d.ts create mode 100644 node_modules/ieee754/index.js create mode 100644 node_modules/ieee754/package.json create mode 100644 node_modules/inherits/LICENSE create mode 100644 node_modules/inherits/README.md create mode 100644 node_modules/inherits/inherits.js create mode 100644 node_modules/inherits/inherits_browser.js create mode 100644 node_modules/inherits/package.json create mode 100644 node_modules/ip/README.md create mode 100644 node_modules/ip/lib/ip.js create mode 100644 node_modules/ip/package.json create mode 100644 node_modules/ipaddr.js/LICENSE create mode 100644 node_modules/ipaddr.js/README.md create mode 100644 node_modules/ipaddr.js/ipaddr.min.js create mode 100644 node_modules/ipaddr.js/lib/ipaddr.js create mode 100644 node_modules/ipaddr.js/lib/ipaddr.js.d.ts create mode 100644 node_modules/ipaddr.js/package.json create mode 100644 node_modules/lodash.uniqwith/LICENSE create mode 100644 node_modules/lodash.uniqwith/README.md create mode 100644 node_modules/lodash.uniqwith/index.js create mode 100644 node_modules/lodash.uniqwith/package.json create mode 100644 node_modules/media-typer/HISTORY.md create mode 100644 node_modules/media-typer/LICENSE create mode 100644 node_modules/media-typer/README.md create mode 100644 node_modules/media-typer/index.js create mode 100644 node_modules/media-typer/package.json create mode 100644 node_modules/memory-pager/.travis.yml create mode 100644 node_modules/memory-pager/LICENSE create mode 100644 node_modules/memory-pager/README.md create mode 100644 node_modules/memory-pager/index.js create mode 100644 node_modules/memory-pager/package.json create mode 100644 node_modules/memory-pager/test.js create mode 100644 node_modules/merge-descriptors/HISTORY.md create mode 100644 node_modules/merge-descriptors/LICENSE create mode 100644 node_modules/merge-descriptors/README.md create mode 100644 node_modules/merge-descriptors/index.js create mode 100644 node_modules/merge-descriptors/package.json create mode 100644 node_modules/methods/HISTORY.md create mode 100644 node_modules/methods/LICENSE create mode 100644 node_modules/methods/README.md create mode 100644 node_modules/methods/index.js create mode 100644 node_modules/methods/package.json create mode 100644 node_modules/mime-db/HISTORY.md create mode 100644 node_modules/mime-db/LICENSE create mode 100644 node_modules/mime-db/README.md create mode 100644 node_modules/mime-db/db.json create mode 100644 node_modules/mime-db/index.js create mode 100644 node_modules/mime-db/package.json create mode 100644 node_modules/mime-types/HISTORY.md create mode 100644 node_modules/mime-types/LICENSE create mode 100644 node_modules/mime-types/README.md create mode 100644 node_modules/mime-types/index.js create mode 100644 node_modules/mime-types/package.json create mode 100644 node_modules/mime/.npmignore create mode 100644 node_modules/mime/CHANGELOG.md create mode 100644 node_modules/mime/LICENSE create mode 100644 node_modules/mime/README.md create mode 100755 node_modules/mime/cli.js create mode 100644 node_modules/mime/mime.js create mode 100644 node_modules/mime/package.json create mode 100755 node_modules/mime/src/build.js create mode 100644 node_modules/mime/src/test.js create mode 100644 node_modules/mime/types.json create mode 100644 node_modules/mongodb-connection-string-url/.esm-wrapper.mjs create mode 100644 node_modules/mongodb-connection-string-url/LICENSE create mode 100644 node_modules/mongodb-connection-string-url/README.md create mode 100644 node_modules/mongodb-connection-string-url/lib/index.d.ts create mode 100644 node_modules/mongodb-connection-string-url/lib/index.js create mode 100644 node_modules/mongodb-connection-string-url/lib/index.js.map create mode 100644 node_modules/mongodb-connection-string-url/lib/redact.d.ts create mode 100644 node_modules/mongodb-connection-string-url/lib/redact.js create mode 100644 node_modules/mongodb-connection-string-url/lib/redact.js.map create mode 100644 node_modules/mongodb-connection-string-url/package.json create mode 100644 node_modules/mongodb/LICENSE.md create mode 100644 node_modules/mongodb/README.md create mode 100755 node_modules/mongodb/etc/prepare.js create mode 100644 node_modules/mongodb/lib/admin.js create mode 100644 node_modules/mongodb/lib/admin.js.map create mode 100644 node_modules/mongodb/lib/bson.js create mode 100644 node_modules/mongodb/lib/bson.js.map create mode 100644 node_modules/mongodb/lib/bulk/common.js create mode 100644 node_modules/mongodb/lib/bulk/common.js.map create mode 100644 node_modules/mongodb/lib/bulk/ordered.js create mode 100644 node_modules/mongodb/lib/bulk/ordered.js.map create mode 100644 node_modules/mongodb/lib/bulk/unordered.js create mode 100644 node_modules/mongodb/lib/bulk/unordered.js.map create mode 100644 node_modules/mongodb/lib/change_stream.js create mode 100644 node_modules/mongodb/lib/change_stream.js.map create mode 100644 node_modules/mongodb/lib/cmap/auth/auth_provider.js create mode 100644 node_modules/mongodb/lib/cmap/auth/auth_provider.js.map create mode 100644 node_modules/mongodb/lib/cmap/auth/gssapi.js create mode 100644 node_modules/mongodb/lib/cmap/auth/gssapi.js.map create mode 100644 node_modules/mongodb/lib/cmap/auth/mongo_credentials.js create mode 100644 node_modules/mongodb/lib/cmap/auth/mongo_credentials.js.map create mode 100644 node_modules/mongodb/lib/cmap/auth/mongocr.js create mode 100644 node_modules/mongodb/lib/cmap/auth/mongocr.js.map create mode 100644 node_modules/mongodb/lib/cmap/auth/mongodb_aws.js create mode 100644 node_modules/mongodb/lib/cmap/auth/mongodb_aws.js.map create mode 100644 node_modules/mongodb/lib/cmap/auth/plain.js create mode 100644 node_modules/mongodb/lib/cmap/auth/plain.js.map create mode 100644 node_modules/mongodb/lib/cmap/auth/providers.js create mode 100644 node_modules/mongodb/lib/cmap/auth/providers.js.map create mode 100644 node_modules/mongodb/lib/cmap/auth/scram.js create mode 100644 node_modules/mongodb/lib/cmap/auth/scram.js.map create mode 100644 node_modules/mongodb/lib/cmap/auth/x509.js create mode 100644 node_modules/mongodb/lib/cmap/auth/x509.js.map create mode 100644 node_modules/mongodb/lib/cmap/command_monitoring_events.js create mode 100644 node_modules/mongodb/lib/cmap/command_monitoring_events.js.map create mode 100644 node_modules/mongodb/lib/cmap/commands.js create mode 100644 node_modules/mongodb/lib/cmap/commands.js.map create mode 100644 node_modules/mongodb/lib/cmap/connect.js create mode 100644 node_modules/mongodb/lib/cmap/connect.js.map create mode 100644 node_modules/mongodb/lib/cmap/connection.js create mode 100644 node_modules/mongodb/lib/cmap/connection.js.map create mode 100644 node_modules/mongodb/lib/cmap/connection_pool.js create mode 100644 node_modules/mongodb/lib/cmap/connection_pool.js.map create mode 100644 node_modules/mongodb/lib/cmap/connection_pool_events.js create mode 100644 node_modules/mongodb/lib/cmap/connection_pool_events.js.map create mode 100644 node_modules/mongodb/lib/cmap/errors.js create mode 100644 node_modules/mongodb/lib/cmap/errors.js.map create mode 100644 node_modules/mongodb/lib/cmap/message_stream.js create mode 100644 node_modules/mongodb/lib/cmap/message_stream.js.map create mode 100644 node_modules/mongodb/lib/cmap/metrics.js create mode 100644 node_modules/mongodb/lib/cmap/metrics.js.map create mode 100644 node_modules/mongodb/lib/cmap/stream_description.js create mode 100644 node_modules/mongodb/lib/cmap/stream_description.js.map create mode 100644 node_modules/mongodb/lib/cmap/wire_protocol/compression.js create mode 100644 node_modules/mongodb/lib/cmap/wire_protocol/compression.js.map create mode 100644 node_modules/mongodb/lib/cmap/wire_protocol/constants.js create mode 100644 node_modules/mongodb/lib/cmap/wire_protocol/constants.js.map create mode 100644 node_modules/mongodb/lib/cmap/wire_protocol/shared.js create mode 100644 node_modules/mongodb/lib/cmap/wire_protocol/shared.js.map create mode 100644 node_modules/mongodb/lib/collection.js create mode 100644 node_modules/mongodb/lib/collection.js.map create mode 100644 node_modules/mongodb/lib/connection_string.js create mode 100644 node_modules/mongodb/lib/connection_string.js.map create mode 100644 node_modules/mongodb/lib/constants.js create mode 100644 node_modules/mongodb/lib/constants.js.map create mode 100644 node_modules/mongodb/lib/cursor/abstract_cursor.js create mode 100644 node_modules/mongodb/lib/cursor/abstract_cursor.js.map create mode 100644 node_modules/mongodb/lib/cursor/aggregation_cursor.js create mode 100644 node_modules/mongodb/lib/cursor/aggregation_cursor.js.map create mode 100644 node_modules/mongodb/lib/cursor/change_stream_cursor.js create mode 100644 node_modules/mongodb/lib/cursor/change_stream_cursor.js.map create mode 100644 node_modules/mongodb/lib/cursor/find_cursor.js create mode 100644 node_modules/mongodb/lib/cursor/find_cursor.js.map create mode 100644 node_modules/mongodb/lib/cursor/list_collections_cursor.js create mode 100644 node_modules/mongodb/lib/cursor/list_collections_cursor.js.map create mode 100644 node_modules/mongodb/lib/cursor/list_indexes_cursor.js create mode 100644 node_modules/mongodb/lib/cursor/list_indexes_cursor.js.map create mode 100644 node_modules/mongodb/lib/db.js create mode 100644 node_modules/mongodb/lib/db.js.map create mode 100644 node_modules/mongodb/lib/deps.js create mode 100644 node_modules/mongodb/lib/deps.js.map create mode 100644 node_modules/mongodb/lib/encrypter.js create mode 100644 node_modules/mongodb/lib/encrypter.js.map create mode 100644 node_modules/mongodb/lib/error.js create mode 100644 node_modules/mongodb/lib/error.js.map create mode 100644 node_modules/mongodb/lib/explain.js create mode 100644 node_modules/mongodb/lib/explain.js.map create mode 100644 node_modules/mongodb/lib/gridfs/download.js create mode 100644 node_modules/mongodb/lib/gridfs/download.js.map create mode 100644 node_modules/mongodb/lib/gridfs/index.js create mode 100644 node_modules/mongodb/lib/gridfs/index.js.map create mode 100644 node_modules/mongodb/lib/gridfs/upload.js create mode 100644 node_modules/mongodb/lib/gridfs/upload.js.map create mode 100644 node_modules/mongodb/lib/index.js create mode 100644 node_modules/mongodb/lib/index.js.map create mode 100644 node_modules/mongodb/lib/logger.js create mode 100644 node_modules/mongodb/lib/logger.js.map create mode 100644 node_modules/mongodb/lib/mongo_client.js create mode 100644 node_modules/mongodb/lib/mongo_client.js.map create mode 100644 node_modules/mongodb/lib/mongo_types.js create mode 100644 node_modules/mongodb/lib/mongo_types.js.map create mode 100644 node_modules/mongodb/lib/operations/add_user.js create mode 100644 node_modules/mongodb/lib/operations/add_user.js.map create mode 100644 node_modules/mongodb/lib/operations/aggregate.js create mode 100644 node_modules/mongodb/lib/operations/aggregate.js.map create mode 100644 node_modules/mongodb/lib/operations/bulk_write.js create mode 100644 node_modules/mongodb/lib/operations/bulk_write.js.map create mode 100644 node_modules/mongodb/lib/operations/collections.js create mode 100644 node_modules/mongodb/lib/operations/collections.js.map create mode 100644 node_modules/mongodb/lib/operations/command.js create mode 100644 node_modules/mongodb/lib/operations/command.js.map create mode 100644 node_modules/mongodb/lib/operations/common_functions.js create mode 100644 node_modules/mongodb/lib/operations/common_functions.js.map create mode 100644 node_modules/mongodb/lib/operations/connect.js create mode 100644 node_modules/mongodb/lib/operations/connect.js.map create mode 100644 node_modules/mongodb/lib/operations/count.js create mode 100644 node_modules/mongodb/lib/operations/count.js.map create mode 100644 node_modules/mongodb/lib/operations/count_documents.js create mode 100644 node_modules/mongodb/lib/operations/count_documents.js.map create mode 100644 node_modules/mongodb/lib/operations/create_collection.js create mode 100644 node_modules/mongodb/lib/operations/create_collection.js.map create mode 100644 node_modules/mongodb/lib/operations/delete.js create mode 100644 node_modules/mongodb/lib/operations/delete.js.map create mode 100644 node_modules/mongodb/lib/operations/distinct.js create mode 100644 node_modules/mongodb/lib/operations/distinct.js.map create mode 100644 node_modules/mongodb/lib/operations/drop.js create mode 100644 node_modules/mongodb/lib/operations/drop.js.map create mode 100644 node_modules/mongodb/lib/operations/estimated_document_count.js create mode 100644 node_modules/mongodb/lib/operations/estimated_document_count.js.map create mode 100644 node_modules/mongodb/lib/operations/eval.js create mode 100644 node_modules/mongodb/lib/operations/eval.js.map create mode 100644 node_modules/mongodb/lib/operations/execute_operation.js create mode 100644 node_modules/mongodb/lib/operations/execute_operation.js.map create mode 100644 node_modules/mongodb/lib/operations/find.js create mode 100644 node_modules/mongodb/lib/operations/find.js.map create mode 100644 node_modules/mongodb/lib/operations/find_and_modify.js create mode 100644 node_modules/mongodb/lib/operations/find_and_modify.js.map create mode 100644 node_modules/mongodb/lib/operations/get_more.js create mode 100644 node_modules/mongodb/lib/operations/get_more.js.map create mode 100644 node_modules/mongodb/lib/operations/indexes.js create mode 100644 node_modules/mongodb/lib/operations/indexes.js.map create mode 100644 node_modules/mongodb/lib/operations/insert.js create mode 100644 node_modules/mongodb/lib/operations/insert.js.map create mode 100644 node_modules/mongodb/lib/operations/is_capped.js create mode 100644 node_modules/mongodb/lib/operations/is_capped.js.map create mode 100644 node_modules/mongodb/lib/operations/kill_cursors.js create mode 100644 node_modules/mongodb/lib/operations/kill_cursors.js.map create mode 100644 node_modules/mongodb/lib/operations/list_collections.js create mode 100644 node_modules/mongodb/lib/operations/list_collections.js.map create mode 100644 node_modules/mongodb/lib/operations/list_databases.js create mode 100644 node_modules/mongodb/lib/operations/list_databases.js.map create mode 100644 node_modules/mongodb/lib/operations/map_reduce.js create mode 100644 node_modules/mongodb/lib/operations/map_reduce.js.map create mode 100644 node_modules/mongodb/lib/operations/operation.js create mode 100644 node_modules/mongodb/lib/operations/operation.js.map create mode 100644 node_modules/mongodb/lib/operations/options_operation.js create mode 100644 node_modules/mongodb/lib/operations/options_operation.js.map create mode 100644 node_modules/mongodb/lib/operations/profiling_level.js create mode 100644 node_modules/mongodb/lib/operations/profiling_level.js.map create mode 100644 node_modules/mongodb/lib/operations/remove_user.js create mode 100644 node_modules/mongodb/lib/operations/remove_user.js.map create mode 100644 node_modules/mongodb/lib/operations/rename.js create mode 100644 node_modules/mongodb/lib/operations/rename.js.map create mode 100644 node_modules/mongodb/lib/operations/run_command.js create mode 100644 node_modules/mongodb/lib/operations/run_command.js.map create mode 100644 node_modules/mongodb/lib/operations/set_profiling_level.js create mode 100644 node_modules/mongodb/lib/operations/set_profiling_level.js.map create mode 100644 node_modules/mongodb/lib/operations/stats.js create mode 100644 node_modules/mongodb/lib/operations/stats.js.map create mode 100644 node_modules/mongodb/lib/operations/update.js create mode 100644 node_modules/mongodb/lib/operations/update.js.map create mode 100644 node_modules/mongodb/lib/operations/validate_collection.js create mode 100644 node_modules/mongodb/lib/operations/validate_collection.js.map create mode 100644 node_modules/mongodb/lib/promise_provider.js create mode 100644 node_modules/mongodb/lib/promise_provider.js.map create mode 100644 node_modules/mongodb/lib/read_concern.js create mode 100644 node_modules/mongodb/lib/read_concern.js.map create mode 100644 node_modules/mongodb/lib/read_preference.js create mode 100644 node_modules/mongodb/lib/read_preference.js.map create mode 100644 node_modules/mongodb/lib/sdam/common.js create mode 100644 node_modules/mongodb/lib/sdam/common.js.map create mode 100644 node_modules/mongodb/lib/sdam/events.js create mode 100644 node_modules/mongodb/lib/sdam/events.js.map create mode 100644 node_modules/mongodb/lib/sdam/monitor.js create mode 100644 node_modules/mongodb/lib/sdam/monitor.js.map create mode 100644 node_modules/mongodb/lib/sdam/server.js create mode 100644 node_modules/mongodb/lib/sdam/server.js.map create mode 100644 node_modules/mongodb/lib/sdam/server_description.js create mode 100644 node_modules/mongodb/lib/sdam/server_description.js.map create mode 100644 node_modules/mongodb/lib/sdam/server_selection.js create mode 100644 node_modules/mongodb/lib/sdam/server_selection.js.map create mode 100644 node_modules/mongodb/lib/sdam/srv_polling.js create mode 100644 node_modules/mongodb/lib/sdam/srv_polling.js.map create mode 100644 node_modules/mongodb/lib/sdam/topology.js create mode 100644 node_modules/mongodb/lib/sdam/topology.js.map create mode 100644 node_modules/mongodb/lib/sdam/topology_description.js create mode 100644 node_modules/mongodb/lib/sdam/topology_description.js.map create mode 100644 node_modules/mongodb/lib/sessions.js create mode 100644 node_modules/mongodb/lib/sessions.js.map create mode 100644 node_modules/mongodb/lib/sort.js create mode 100644 node_modules/mongodb/lib/sort.js.map create mode 100644 node_modules/mongodb/lib/transactions.js create mode 100644 node_modules/mongodb/lib/transactions.js.map create mode 100644 node_modules/mongodb/lib/utils.js create mode 100644 node_modules/mongodb/lib/utils.js.map create mode 100644 node_modules/mongodb/lib/write_concern.js create mode 100644 node_modules/mongodb/lib/write_concern.js.map create mode 100644 node_modules/mongodb/mongodb.d.ts create mode 100644 node_modules/mongodb/package.json create mode 100644 node_modules/mongodb/src/admin.ts create mode 100644 node_modules/mongodb/src/bson.ts create mode 100644 node_modules/mongodb/src/bulk/common.ts create mode 100644 node_modules/mongodb/src/bulk/ordered.ts create mode 100644 node_modules/mongodb/src/bulk/unordered.ts create mode 100644 node_modules/mongodb/src/change_stream.ts create mode 100644 node_modules/mongodb/src/cmap/auth/auth_provider.ts create mode 100644 node_modules/mongodb/src/cmap/auth/gssapi.ts create mode 100644 node_modules/mongodb/src/cmap/auth/mongo_credentials.ts create mode 100644 node_modules/mongodb/src/cmap/auth/mongocr.ts create mode 100644 node_modules/mongodb/src/cmap/auth/mongodb_aws.ts create mode 100644 node_modules/mongodb/src/cmap/auth/plain.ts create mode 100644 node_modules/mongodb/src/cmap/auth/providers.ts create mode 100644 node_modules/mongodb/src/cmap/auth/scram.ts create mode 100644 node_modules/mongodb/src/cmap/auth/x509.ts create mode 100644 node_modules/mongodb/src/cmap/command_monitoring_events.ts create mode 100644 node_modules/mongodb/src/cmap/commands.ts create mode 100644 node_modules/mongodb/src/cmap/connect.ts create mode 100644 node_modules/mongodb/src/cmap/connection.ts create mode 100644 node_modules/mongodb/src/cmap/connection_pool.ts create mode 100644 node_modules/mongodb/src/cmap/connection_pool_events.ts create mode 100644 node_modules/mongodb/src/cmap/errors.ts create mode 100644 node_modules/mongodb/src/cmap/message_stream.ts create mode 100644 node_modules/mongodb/src/cmap/metrics.ts create mode 100644 node_modules/mongodb/src/cmap/stream_description.ts create mode 100644 node_modules/mongodb/src/cmap/wire_protocol/compression.ts create mode 100644 node_modules/mongodb/src/cmap/wire_protocol/constants.ts create mode 100644 node_modules/mongodb/src/cmap/wire_protocol/shared.ts create mode 100644 node_modules/mongodb/src/collection.ts create mode 100644 node_modules/mongodb/src/connection_string.ts create mode 100644 node_modules/mongodb/src/constants.ts create mode 100644 node_modules/mongodb/src/cursor/abstract_cursor.ts create mode 100644 node_modules/mongodb/src/cursor/aggregation_cursor.ts create mode 100644 node_modules/mongodb/src/cursor/change_stream_cursor.ts create mode 100644 node_modules/mongodb/src/cursor/find_cursor.ts create mode 100644 node_modules/mongodb/src/cursor/list_collections_cursor.ts create mode 100644 node_modules/mongodb/src/cursor/list_indexes_cursor.ts create mode 100644 node_modules/mongodb/src/db.ts create mode 100644 node_modules/mongodb/src/deps.ts create mode 100644 node_modules/mongodb/src/encrypter.ts create mode 100644 node_modules/mongodb/src/error.ts create mode 100644 node_modules/mongodb/src/explain.ts create mode 100644 node_modules/mongodb/src/gridfs/download.ts create mode 100644 node_modules/mongodb/src/gridfs/index.ts create mode 100644 node_modules/mongodb/src/gridfs/upload.ts create mode 100644 node_modules/mongodb/src/index.ts create mode 100644 node_modules/mongodb/src/logger.ts create mode 100644 node_modules/mongodb/src/mongo_client.ts create mode 100644 node_modules/mongodb/src/mongo_types.ts create mode 100644 node_modules/mongodb/src/operations/add_user.ts create mode 100644 node_modules/mongodb/src/operations/aggregate.ts create mode 100644 node_modules/mongodb/src/operations/bulk_write.ts create mode 100644 node_modules/mongodb/src/operations/collections.ts create mode 100644 node_modules/mongodb/src/operations/command.ts create mode 100644 node_modules/mongodb/src/operations/common_functions.ts create mode 100644 node_modules/mongodb/src/operations/connect.ts create mode 100644 node_modules/mongodb/src/operations/count.ts create mode 100644 node_modules/mongodb/src/operations/count_documents.ts create mode 100644 node_modules/mongodb/src/operations/create_collection.ts create mode 100644 node_modules/mongodb/src/operations/delete.ts create mode 100644 node_modules/mongodb/src/operations/distinct.ts create mode 100644 node_modules/mongodb/src/operations/drop.ts create mode 100644 node_modules/mongodb/src/operations/estimated_document_count.ts create mode 100644 node_modules/mongodb/src/operations/eval.ts create mode 100644 node_modules/mongodb/src/operations/execute_operation.ts create mode 100644 node_modules/mongodb/src/operations/find.ts create mode 100644 node_modules/mongodb/src/operations/find_and_modify.ts create mode 100644 node_modules/mongodb/src/operations/get_more.ts create mode 100644 node_modules/mongodb/src/operations/indexes.ts create mode 100644 node_modules/mongodb/src/operations/insert.ts create mode 100644 node_modules/mongodb/src/operations/is_capped.ts create mode 100644 node_modules/mongodb/src/operations/kill_cursors.ts create mode 100644 node_modules/mongodb/src/operations/list_collections.ts create mode 100644 node_modules/mongodb/src/operations/list_databases.ts create mode 100644 node_modules/mongodb/src/operations/map_reduce.ts create mode 100644 node_modules/mongodb/src/operations/operation.ts create mode 100644 node_modules/mongodb/src/operations/options_operation.ts create mode 100644 node_modules/mongodb/src/operations/profiling_level.ts create mode 100644 node_modules/mongodb/src/operations/remove_user.ts create mode 100644 node_modules/mongodb/src/operations/rename.ts create mode 100644 node_modules/mongodb/src/operations/run_command.ts create mode 100644 node_modules/mongodb/src/operations/set_profiling_level.ts create mode 100644 node_modules/mongodb/src/operations/stats.ts create mode 100644 node_modules/mongodb/src/operations/update.ts create mode 100644 node_modules/mongodb/src/operations/validate_collection.ts create mode 100644 node_modules/mongodb/src/promise_provider.ts create mode 100644 node_modules/mongodb/src/read_concern.ts create mode 100644 node_modules/mongodb/src/read_preference.ts create mode 100644 node_modules/mongodb/src/sdam/common.ts create mode 100644 node_modules/mongodb/src/sdam/events.ts create mode 100644 node_modules/mongodb/src/sdam/monitor.ts create mode 100644 node_modules/mongodb/src/sdam/server.ts create mode 100644 node_modules/mongodb/src/sdam/server_description.ts create mode 100644 node_modules/mongodb/src/sdam/server_selection.ts create mode 100644 node_modules/mongodb/src/sdam/srv_polling.ts create mode 100644 node_modules/mongodb/src/sdam/topology.ts create mode 100644 node_modules/mongodb/src/sdam/topology_description.ts create mode 100644 node_modules/mongodb/src/sessions.ts create mode 100644 node_modules/mongodb/src/sort.ts create mode 100644 node_modules/mongodb/src/transactions.ts create mode 100644 node_modules/mongodb/src/utils.ts create mode 100644 node_modules/mongodb/src/write_concern.ts create mode 100644 node_modules/mongodb/tsconfig.json create mode 100644 node_modules/ms/index.js create mode 100644 node_modules/ms/license.md create mode 100644 node_modules/ms/package.json create mode 100644 node_modules/ms/readme.md create mode 100644 node_modules/negotiator/HISTORY.md create mode 100644 node_modules/negotiator/LICENSE create mode 100644 node_modules/negotiator/README.md create mode 100644 node_modules/negotiator/index.js create mode 100644 node_modules/negotiator/lib/charset.js create mode 100644 node_modules/negotiator/lib/encoding.js create mode 100644 node_modules/negotiator/lib/language.js create mode 100644 node_modules/negotiator/lib/mediaType.js create mode 100644 node_modules/negotiator/package.json create mode 100644 node_modules/node-fetch/LICENSE.md create mode 100644 node_modules/node-fetch/README.md create mode 100644 node_modules/node-fetch/browser.js create mode 100644 node_modules/node-fetch/lib/index.es.js create mode 100644 node_modules/node-fetch/lib/index.js create mode 100644 node_modules/node-fetch/lib/index.mjs create mode 100644 node_modules/node-fetch/node_modules/tr46/.npmignore create mode 100644 node_modules/node-fetch/node_modules/tr46/index.js create mode 100644 node_modules/node-fetch/node_modules/tr46/lib/.gitkeep create mode 100644 node_modules/node-fetch/node_modules/tr46/lib/mappingTable.json create mode 100644 node_modules/node-fetch/node_modules/tr46/package.json create mode 100644 node_modules/node-fetch/node_modules/webidl-conversions/LICENSE.md create mode 100644 node_modules/node-fetch/node_modules/webidl-conversions/README.md create mode 100644 node_modules/node-fetch/node_modules/webidl-conversions/lib/index.js create mode 100644 node_modules/node-fetch/node_modules/webidl-conversions/package.json create mode 100644 node_modules/node-fetch/node_modules/whatwg-url/LICENSE.txt create mode 100644 node_modules/node-fetch/node_modules/whatwg-url/README.md create mode 100644 node_modules/node-fetch/node_modules/whatwg-url/lib/URL-impl.js create mode 100644 node_modules/node-fetch/node_modules/whatwg-url/lib/URL.js create mode 100644 node_modules/node-fetch/node_modules/whatwg-url/lib/public-api.js create mode 100644 node_modules/node-fetch/node_modules/whatwg-url/lib/url-state-machine.js create mode 100644 node_modules/node-fetch/node_modules/whatwg-url/lib/utils.js create mode 100644 node_modules/node-fetch/node_modules/whatwg-url/package.json create mode 100644 node_modules/node-fetch/package.json create mode 100644 node_modules/object-inspect/.eslintrc create mode 100644 node_modules/object-inspect/.github/FUNDING.yml create mode 100644 node_modules/object-inspect/.nycrc create mode 100644 node_modules/object-inspect/CHANGELOG.md create mode 100644 node_modules/object-inspect/LICENSE create mode 100644 node_modules/object-inspect/example/all.js create mode 100644 node_modules/object-inspect/example/circular.js create mode 100644 node_modules/object-inspect/example/fn.js create mode 100644 node_modules/object-inspect/example/inspect.js create mode 100644 node_modules/object-inspect/index.js create mode 100644 node_modules/object-inspect/package-support.json create mode 100644 node_modules/object-inspect/package.json create mode 100644 node_modules/object-inspect/readme.markdown create mode 100644 node_modules/object-inspect/test-core-js.js create mode 100644 node_modules/object-inspect/test/bigint.js create mode 100644 node_modules/object-inspect/test/browser/dom.js create mode 100644 node_modules/object-inspect/test/circular.js create mode 100644 node_modules/object-inspect/test/deep.js create mode 100644 node_modules/object-inspect/test/element.js create mode 100644 node_modules/object-inspect/test/err.js create mode 100644 node_modules/object-inspect/test/fakes.js create mode 100644 node_modules/object-inspect/test/fn.js create mode 100644 node_modules/object-inspect/test/has.js create mode 100644 node_modules/object-inspect/test/holes.js create mode 100644 node_modules/object-inspect/test/indent-option.js create mode 100644 node_modules/object-inspect/test/inspect.js create mode 100644 node_modules/object-inspect/test/lowbyte.js create mode 100644 node_modules/object-inspect/test/number.js create mode 100644 node_modules/object-inspect/test/quoteStyle.js create mode 100644 node_modules/object-inspect/test/toStringTag.js create mode 100644 node_modules/object-inspect/test/undef.js create mode 100644 node_modules/object-inspect/test/values.js create mode 100644 node_modules/object-inspect/util.inspect.js create mode 100644 node_modules/on-finished/HISTORY.md create mode 100644 node_modules/on-finished/LICENSE create mode 100644 node_modules/on-finished/README.md create mode 100644 node_modules/on-finished/index.js create mode 100644 node_modules/on-finished/package.json create mode 100644 node_modules/parseurl/HISTORY.md create mode 100644 node_modules/parseurl/LICENSE create mode 100644 node_modules/parseurl/README.md create mode 100644 node_modules/parseurl/index.js create mode 100644 node_modules/parseurl/package.json create mode 100644 node_modules/path-to-regexp/History.md create mode 100644 node_modules/path-to-regexp/LICENSE create mode 100644 node_modules/path-to-regexp/Readme.md create mode 100644 node_modules/path-to-regexp/index.js create mode 100644 node_modules/path-to-regexp/package.json create mode 100644 node_modules/proxy-addr/HISTORY.md create mode 100644 node_modules/proxy-addr/LICENSE create mode 100644 node_modules/proxy-addr/README.md create mode 100644 node_modules/proxy-addr/index.js create mode 100644 node_modules/proxy-addr/package.json create mode 100644 node_modules/punycode/LICENSE-MIT.txt create mode 100644 node_modules/punycode/README.md create mode 100644 node_modules/punycode/package.json create mode 100644 node_modules/punycode/punycode.es6.js create mode 100644 node_modules/punycode/punycode.js create mode 100644 node_modules/qs/.editorconfig create mode 100644 node_modules/qs/.eslintrc create mode 100644 node_modules/qs/.github/FUNDING.yml create mode 100644 node_modules/qs/.nycrc create mode 100644 node_modules/qs/CHANGELOG.md create mode 100644 node_modules/qs/LICENSE.md create mode 100644 node_modules/qs/README.md create mode 100644 node_modules/qs/dist/qs.js create mode 100644 node_modules/qs/lib/formats.js create mode 100644 node_modules/qs/lib/index.js create mode 100644 node_modules/qs/lib/parse.js create mode 100644 node_modules/qs/lib/stringify.js create mode 100644 node_modules/qs/lib/utils.js create mode 100644 node_modules/qs/package.json create mode 100644 node_modules/qs/test/parse.js create mode 100644 node_modules/qs/test/stringify.js create mode 100644 node_modules/qs/test/utils.js create mode 100644 node_modules/range-parser/HISTORY.md create mode 100644 node_modules/range-parser/LICENSE create mode 100644 node_modules/range-parser/README.md create mode 100644 node_modules/range-parser/index.js create mode 100644 node_modules/range-parser/package.json create mode 100644 node_modules/raw-body/HISTORY.md create mode 100644 node_modules/raw-body/LICENSE create mode 100644 node_modules/raw-body/README.md create mode 100644 node_modules/raw-body/SECURITY.md create mode 100644 node_modules/raw-body/index.d.ts create mode 100644 node_modules/raw-body/index.js create mode 100644 node_modules/raw-body/package.json create mode 100644 node_modules/safe-buffer/LICENSE create mode 100644 node_modules/safe-buffer/README.md create mode 100644 node_modules/safe-buffer/index.d.ts create mode 100644 node_modules/safe-buffer/index.js create mode 100644 node_modules/safe-buffer/package.json create mode 100644 node_modules/safer-buffer/LICENSE create mode 100644 node_modules/safer-buffer/Porting-Buffer.md create mode 100644 node_modules/safer-buffer/Readme.md create mode 100644 node_modules/safer-buffer/dangerous.js create mode 100644 node_modules/safer-buffer/package.json create mode 100644 node_modules/safer-buffer/safer.js create mode 100644 node_modules/safer-buffer/tests.js create mode 100644 node_modules/saslprep/.editorconfig create mode 100644 node_modules/saslprep/.gitattributes create mode 100644 node_modules/saslprep/.travis.yml create mode 100644 node_modules/saslprep/CHANGELOG.md create mode 100644 node_modules/saslprep/LICENSE create mode 100644 node_modules/saslprep/code-points.mem create mode 100644 node_modules/saslprep/generate-code-points.js create mode 100644 node_modules/saslprep/index.js create mode 100644 node_modules/saslprep/lib/code-points.js create mode 100644 node_modules/saslprep/lib/memory-code-points.js create mode 100644 node_modules/saslprep/lib/util.js create mode 100644 node_modules/saslprep/package.json create mode 100644 node_modules/saslprep/readme.md create mode 100644 node_modules/saslprep/test/index.js create mode 100644 node_modules/saslprep/test/util.js create mode 100644 node_modules/send/HISTORY.md create mode 100644 node_modules/send/LICENSE create mode 100644 node_modules/send/README.md create mode 100644 node_modules/send/SECURITY.md create mode 100644 node_modules/send/index.js create mode 100644 node_modules/send/node_modules/ms/index.js create mode 100644 node_modules/send/node_modules/ms/license.md create mode 100644 node_modules/send/node_modules/ms/package.json create mode 100644 node_modules/send/node_modules/ms/readme.md create mode 100644 node_modules/send/package.json create mode 100644 node_modules/serve-static/HISTORY.md create mode 100644 node_modules/serve-static/LICENSE create mode 100644 node_modules/serve-static/README.md create mode 100644 node_modules/serve-static/index.js create mode 100644 node_modules/serve-static/package.json create mode 100644 node_modules/setprototypeof/LICENSE create mode 100644 node_modules/setprototypeof/README.md create mode 100644 node_modules/setprototypeof/index.d.ts create mode 100644 node_modules/setprototypeof/index.js create mode 100644 node_modules/setprototypeof/package.json create mode 100644 node_modules/setprototypeof/test/index.js create mode 100644 node_modules/side-channel/.eslintignore create mode 100644 node_modules/side-channel/.eslintrc create mode 100644 node_modules/side-channel/.github/FUNDING.yml create mode 100644 node_modules/side-channel/.nycrc create mode 100644 node_modules/side-channel/CHANGELOG.md create mode 100644 node_modules/side-channel/LICENSE create mode 100644 node_modules/side-channel/README.md create mode 100644 node_modules/side-channel/index.js create mode 100644 node_modules/side-channel/package.json create mode 100644 node_modules/side-channel/test/index.js create mode 100644 node_modules/smart-buffer/.prettierrc.yaml create mode 100644 node_modules/smart-buffer/.travis.yml create mode 100644 node_modules/smart-buffer/LICENSE create mode 100644 node_modules/smart-buffer/README.md create mode 100644 node_modules/smart-buffer/build/smartbuffer.js create mode 100644 node_modules/smart-buffer/build/smartbuffer.js.map create mode 100644 node_modules/smart-buffer/build/utils.js create mode 100644 node_modules/smart-buffer/build/utils.js.map create mode 100644 node_modules/smart-buffer/docs/CHANGELOG.md create mode 100644 node_modules/smart-buffer/docs/README_v3.md create mode 100644 node_modules/smart-buffer/docs/ROADMAP.md create mode 100644 node_modules/smart-buffer/package.json create mode 100644 node_modules/smart-buffer/typings/smartbuffer.d.ts create mode 100644 node_modules/smart-buffer/typings/utils.d.ts create mode 100644 node_modules/socks/.eslintrc.cjs create mode 100644 node_modules/socks/.prettierrc.yaml create mode 100644 node_modules/socks/LICENSE create mode 100644 node_modules/socks/README.md create mode 100644 node_modules/socks/build/client/socksclient.js create mode 100644 node_modules/socks/build/client/socksclient.js.map create mode 100644 node_modules/socks/build/common/constants.js create mode 100644 node_modules/socks/build/common/constants.js.map create mode 100644 node_modules/socks/build/common/helpers.js create mode 100644 node_modules/socks/build/common/helpers.js.map create mode 100644 node_modules/socks/build/common/receivebuffer.js create mode 100644 node_modules/socks/build/common/receivebuffer.js.map create mode 100644 node_modules/socks/build/common/util.js create mode 100644 node_modules/socks/build/common/util.js.map create mode 100644 node_modules/socks/build/index.js create mode 100644 node_modules/socks/build/index.js.map create mode 100644 node_modules/socks/docs/examples/index.md create mode 100644 node_modules/socks/docs/examples/javascript/associateExample.md create mode 100644 node_modules/socks/docs/examples/javascript/bindExample.md create mode 100644 node_modules/socks/docs/examples/javascript/connectExample.md create mode 100644 node_modules/socks/docs/examples/typescript/associateExample.md create mode 100644 node_modules/socks/docs/examples/typescript/bindExample.md create mode 100644 node_modules/socks/docs/examples/typescript/connectExample.md create mode 100644 node_modules/socks/docs/index.md create mode 100644 node_modules/socks/docs/migratingFromV1.md create mode 100644 node_modules/socks/package.json create mode 100644 node_modules/socks/typings/client/socksclient.d.ts create mode 100644 node_modules/socks/typings/common/constants.d.ts create mode 100644 node_modules/socks/typings/common/helpers.d.ts create mode 100644 node_modules/socks/typings/common/receivebuffer.d.ts create mode 100644 node_modules/socks/typings/common/util.d.ts create mode 100644 node_modules/socks/typings/index.d.ts create mode 100644 node_modules/sparse-bitfield/.npmignore create mode 100644 node_modules/sparse-bitfield/.travis.yml create mode 100644 node_modules/sparse-bitfield/LICENSE create mode 100644 node_modules/sparse-bitfield/README.md create mode 100644 node_modules/sparse-bitfield/index.js create mode 100644 node_modules/sparse-bitfield/package.json create mode 100644 node_modules/sparse-bitfield/test.js create mode 100644 node_modules/statuses/HISTORY.md create mode 100644 node_modules/statuses/LICENSE create mode 100644 node_modules/statuses/README.md create mode 100644 node_modules/statuses/codes.json create mode 100644 node_modules/statuses/index.js create mode 100644 node_modules/statuses/package.json create mode 100644 node_modules/stripe/CHANGELOG.md create mode 100644 node_modules/stripe/LICENSE create mode 100644 node_modules/stripe/README.md create mode 100644 node_modules/stripe/VERSION create mode 100644 node_modules/stripe/lib/Error.js create mode 100644 node_modules/stripe/lib/ResourceNamespace.js create mode 100644 node_modules/stripe/lib/StripeMethod.basic.js create mode 100644 node_modules/stripe/lib/StripeMethod.js create mode 100644 node_modules/stripe/lib/StripeResource.js create mode 100644 node_modules/stripe/lib/Webhooks.js create mode 100644 node_modules/stripe/lib/apiVersion.js create mode 100644 node_modules/stripe/lib/autoPagination.js create mode 100644 node_modules/stripe/lib/crypto/CryptoProvider.js create mode 100644 node_modules/stripe/lib/crypto/NodeCryptoProvider.js create mode 100644 node_modules/stripe/lib/crypto/SubtleCryptoProvider.js create mode 100644 node_modules/stripe/lib/makeRequest.js create mode 100644 node_modules/stripe/lib/multipart.js create mode 100644 node_modules/stripe/lib/net/FetchHttpClient.js create mode 100644 node_modules/stripe/lib/net/HttpClient.js create mode 100644 node_modules/stripe/lib/net/NodeHttpClient.js create mode 100644 node_modules/stripe/lib/resources.js create mode 100644 node_modules/stripe/lib/resources/AccountLinks.js create mode 100644 node_modules/stripe/lib/resources/Accounts.js create mode 100644 node_modules/stripe/lib/resources/ApplePayDomains.js create mode 100644 node_modules/stripe/lib/resources/ApplicationFees.js create mode 100644 node_modules/stripe/lib/resources/Apps/Secrets.js create mode 100644 node_modules/stripe/lib/resources/Balance.js create mode 100644 node_modules/stripe/lib/resources/BalanceTransactions.js create mode 100644 node_modules/stripe/lib/resources/BillingPortal/Configurations.js create mode 100644 node_modules/stripe/lib/resources/BillingPortal/Sessions.js create mode 100644 node_modules/stripe/lib/resources/Charges.js create mode 100644 node_modules/stripe/lib/resources/Checkout/Sessions.js create mode 100644 node_modules/stripe/lib/resources/CountrySpecs.js create mode 100644 node_modules/stripe/lib/resources/Coupons.js create mode 100644 node_modules/stripe/lib/resources/CreditNotes.js create mode 100644 node_modules/stripe/lib/resources/Customers.js create mode 100644 node_modules/stripe/lib/resources/Disputes.js create mode 100644 node_modules/stripe/lib/resources/EphemeralKeys.js create mode 100644 node_modules/stripe/lib/resources/Events.js create mode 100644 node_modules/stripe/lib/resources/ExchangeRates.js create mode 100644 node_modules/stripe/lib/resources/FileLinks.js create mode 100644 node_modules/stripe/lib/resources/Files.js create mode 100644 node_modules/stripe/lib/resources/FinancialConnections/Accounts.js create mode 100644 node_modules/stripe/lib/resources/FinancialConnections/Sessions.js create mode 100644 node_modules/stripe/lib/resources/Identity/VerificationReports.js create mode 100644 node_modules/stripe/lib/resources/Identity/VerificationSessions.js create mode 100644 node_modules/stripe/lib/resources/InvoiceItems.js create mode 100644 node_modules/stripe/lib/resources/Invoices.js create mode 100644 node_modules/stripe/lib/resources/IssuerFraudRecords.js create mode 100644 node_modules/stripe/lib/resources/Issuing/Authorizations.js create mode 100644 node_modules/stripe/lib/resources/Issuing/Cardholders.js create mode 100644 node_modules/stripe/lib/resources/Issuing/Cards.js create mode 100644 node_modules/stripe/lib/resources/Issuing/Disputes.js create mode 100644 node_modules/stripe/lib/resources/Issuing/Transactions.js create mode 100644 node_modules/stripe/lib/resources/Mandates.js create mode 100644 node_modules/stripe/lib/resources/OAuth.js create mode 100644 node_modules/stripe/lib/resources/Orders.js create mode 100644 node_modules/stripe/lib/resources/PaymentIntents.js create mode 100644 node_modules/stripe/lib/resources/PaymentLinks.js create mode 100644 node_modules/stripe/lib/resources/PaymentMethods.js create mode 100644 node_modules/stripe/lib/resources/Payouts.js create mode 100644 node_modules/stripe/lib/resources/Plans.js create mode 100644 node_modules/stripe/lib/resources/Prices.js create mode 100644 node_modules/stripe/lib/resources/Products.js create mode 100644 node_modules/stripe/lib/resources/PromotionCodes.js create mode 100644 node_modules/stripe/lib/resources/Quotes.js create mode 100644 node_modules/stripe/lib/resources/Radar/EarlyFraudWarnings.js create mode 100644 node_modules/stripe/lib/resources/Radar/ValueListItems.js create mode 100644 node_modules/stripe/lib/resources/Radar/ValueLists.js create mode 100644 node_modules/stripe/lib/resources/Refunds.js create mode 100644 node_modules/stripe/lib/resources/Reporting/ReportRuns.js create mode 100644 node_modules/stripe/lib/resources/Reporting/ReportTypes.js create mode 100644 node_modules/stripe/lib/resources/Reviews.js create mode 100644 node_modules/stripe/lib/resources/SKUs.js create mode 100644 node_modules/stripe/lib/resources/SetupAttempts.js create mode 100644 node_modules/stripe/lib/resources/SetupIntents.js create mode 100644 node_modules/stripe/lib/resources/ShippingRates.js create mode 100644 node_modules/stripe/lib/resources/Sigma/ScheduledQueryRuns.js create mode 100644 node_modules/stripe/lib/resources/Sources.js create mode 100644 node_modules/stripe/lib/resources/SubscriptionItems.js create mode 100644 node_modules/stripe/lib/resources/SubscriptionSchedules.js create mode 100644 node_modules/stripe/lib/resources/Subscriptions.js create mode 100644 node_modules/stripe/lib/resources/TaxCodes.js create mode 100644 node_modules/stripe/lib/resources/TaxRates.js create mode 100644 node_modules/stripe/lib/resources/Terminal/Configurations.js create mode 100644 node_modules/stripe/lib/resources/Terminal/ConnectionTokens.js create mode 100644 node_modules/stripe/lib/resources/Terminal/Locations.js create mode 100644 node_modules/stripe/lib/resources/Terminal/Readers.js create mode 100644 node_modules/stripe/lib/resources/TestHelpers/Customers.js create mode 100644 node_modules/stripe/lib/resources/TestHelpers/Issuing/Cards.js create mode 100644 node_modules/stripe/lib/resources/TestHelpers/Refunds.js create mode 100644 node_modules/stripe/lib/resources/TestHelpers/Terminal/Readers.js create mode 100644 node_modules/stripe/lib/resources/TestHelpers/TestClocks.js create mode 100644 node_modules/stripe/lib/resources/TestHelpers/Treasury/InboundTransfers.js create mode 100644 node_modules/stripe/lib/resources/TestHelpers/Treasury/OutboundPayments.js create mode 100644 node_modules/stripe/lib/resources/TestHelpers/Treasury/OutboundTransfers.js create mode 100644 node_modules/stripe/lib/resources/TestHelpers/Treasury/ReceivedCredits.js create mode 100644 node_modules/stripe/lib/resources/TestHelpers/Treasury/ReceivedDebits.js create mode 100644 node_modules/stripe/lib/resources/Tokens.js create mode 100644 node_modules/stripe/lib/resources/Topups.js create mode 100644 node_modules/stripe/lib/resources/Transfers.js create mode 100644 node_modules/stripe/lib/resources/Treasury/CreditReversals.js create mode 100644 node_modules/stripe/lib/resources/Treasury/DebitReversals.js create mode 100644 node_modules/stripe/lib/resources/Treasury/FinancialAccounts.js create mode 100644 node_modules/stripe/lib/resources/Treasury/InboundTransfers.js create mode 100644 node_modules/stripe/lib/resources/Treasury/OutboundPayments.js create mode 100644 node_modules/stripe/lib/resources/Treasury/OutboundTransfers.js create mode 100644 node_modules/stripe/lib/resources/Treasury/ReceivedCredits.js create mode 100644 node_modules/stripe/lib/resources/Treasury/ReceivedDebits.js create mode 100644 node_modules/stripe/lib/resources/Treasury/TransactionEntries.js create mode 100644 node_modules/stripe/lib/resources/Treasury/Transactions.js create mode 100644 node_modules/stripe/lib/resources/WebhookEndpoints.js create mode 100644 node_modules/stripe/lib/stripe.js create mode 100644 node_modules/stripe/lib/utils.js create mode 100644 node_modules/stripe/package.json create mode 100644 node_modules/stripe/types/.eslintrc.js create mode 100644 node_modules/stripe/types/2020-08-27/AccountLinks.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Accounts.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/AlipayAccounts.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/ApplePayDomains.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/ApplicationFees.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Applications.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Apps/Secrets.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Balance.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/BalanceTransactions.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/BankAccounts.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/BillingPortal/Configurations.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/BillingPortal/Sessions.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/BitcoinReceivers.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/BitcoinTransactions.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Capabilities.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Cards.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/CashBalances.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Charges.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Checkout/Sessions.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/ConnectCollectionTransfers.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/CountrySpecs.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Coupons.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/CreditNoteLineItems.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/CreditNotes.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/CustomerBalanceTransactions.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/CustomerSources.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Customers.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Discounts.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Disputes.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/EphemeralKeys.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Events.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/ExchangeRates.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/ExternalAccounts.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/FeeRefunds.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/FileLinks.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Files.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/FinancialConnections/AccountOwners.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/FinancialConnections/AccountOwnerships.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/FinancialConnections/Accounts.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/FinancialConnections/Sessions.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/FundingInstructions.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Identity/VerificationReports.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Identity/VerificationSessions.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/InvoiceItems.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/InvoiceLineItems.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Invoices.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/IssuerFraudRecords.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Issuing/Authorizations.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Issuing/CardDetails.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Issuing/Cardholders.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Issuing/Cards.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Issuing/Disputes.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Issuing/Transactions.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/LineItems.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/LoginLinks.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Mandates.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Orders.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/PaymentIntents.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/PaymentLinks.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/PaymentMethods.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Payouts.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Persons.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Plans.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/PlatformTaxFees.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Prices.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Products.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/PromotionCodes.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Quotes.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Radar/EarlyFraudWarnings.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Radar/ValueListItems.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Radar/ValueLists.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Recipients.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Refunds.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Reporting/ReportRuns.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Reporting/ReportTypes.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/ReserveTransactions.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Reviews.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/SKUs.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/SetupAttempts.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/SetupIntents.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/ShippingRates.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Sigma/ScheduledQueryRuns.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/SourceMandateNotifications.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/SourceTransactions.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Sources.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/SubscriptionItems.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/SubscriptionSchedules.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Subscriptions.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/TaxCodes.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/TaxDeductedAtSources.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/TaxIds.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/TaxRates.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Terminal/Configurations.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Terminal/ConnectionTokens.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Terminal/Locations.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Terminal/Readers.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/TestHelpers/Customers.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/TestHelpers/Issuing/Cards.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/TestHelpers/Refunds.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/TestHelpers/Terminal/Readers.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/TestHelpers/TestClocks.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/TestHelpers/Treasury/InboundTransfers.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/TestHelpers/Treasury/OutboundPayments.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/TestHelpers/Treasury/OutboundTransfers.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/TestHelpers/Treasury/ReceivedCredits.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/TestHelpers/Treasury/ReceivedDebits.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Tokens.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Topups.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/TransferReversals.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Transfers.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Treasury/CreditReversals.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Treasury/DebitReversals.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Treasury/FinancialAccountFeatures.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Treasury/FinancialAccounts.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Treasury/InboundTransfers.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Treasury/OutboundPayments.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Treasury/OutboundTransfers.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Treasury/ReceivedCredits.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Treasury/ReceivedDebits.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Treasury/TransactionEntries.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/Treasury/Transactions.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/UsageRecordSummaries.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/UsageRecords.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/WebhookEndpoints.d.ts create mode 100644 node_modules/stripe/types/2020-08-27/index.d.ts create mode 100644 node_modules/stripe/types/Errors.d.ts create mode 100644 node_modules/stripe/types/OAuth.d.ts create mode 100644 node_modules/stripe/types/Webhooks.d.ts create mode 100644 node_modules/stripe/types/crypto/crypto.d.ts create mode 100644 node_modules/stripe/types/lib.d.ts create mode 100644 node_modules/stripe/types/net/net.d.ts create mode 100644 node_modules/stripe/types/shared.d.ts create mode 100644 node_modules/stripe/types/test/tsconfig.json create mode 100644 node_modules/stripe/types/test/typescriptTest.ts create mode 100644 node_modules/toidentifier/HISTORY.md create mode 100644 node_modules/toidentifier/LICENSE create mode 100644 node_modules/toidentifier/README.md create mode 100644 node_modules/toidentifier/index.js create mode 100644 node_modules/toidentifier/package.json create mode 100644 node_modules/tr46/LICENSE.md create mode 100644 node_modules/tr46/README.md create mode 100644 node_modules/tr46/index.js create mode 100644 node_modules/tr46/lib/mappingTable.json create mode 100644 node_modules/tr46/lib/regexes.js create mode 100644 node_modules/tr46/lib/statusMapping.js create mode 100644 node_modules/tr46/package.json create mode 100644 node_modules/ts-mixer/CHANGELOG.md create mode 100644 node_modules/ts-mixer/LICENSE create mode 100644 node_modules/ts-mixer/README.md create mode 100644 node_modules/ts-mixer/dist/cjs/decorator.js create mode 100644 node_modules/ts-mixer/dist/cjs/index.js create mode 100644 node_modules/ts-mixer/dist/cjs/mixin-tracking.js create mode 100644 node_modules/ts-mixer/dist/cjs/mixins.js create mode 100644 node_modules/ts-mixer/dist/cjs/proxy.js create mode 100644 node_modules/ts-mixer/dist/cjs/settings.js create mode 100644 node_modules/ts-mixer/dist/cjs/types.js create mode 100644 node_modules/ts-mixer/dist/cjs/util.js create mode 100644 node_modules/ts-mixer/dist/esm/index.js create mode 100644 node_modules/ts-mixer/dist/esm/index.min.js create mode 100644 node_modules/ts-mixer/dist/types/decorator.d.ts create mode 100644 node_modules/ts-mixer/dist/types/index.d.ts create mode 100644 node_modules/ts-mixer/dist/types/mixin-tracking.d.ts create mode 100644 node_modules/ts-mixer/dist/types/mixins.d.ts create mode 100644 node_modules/ts-mixer/dist/types/proxy.d.ts create mode 100644 node_modules/ts-mixer/dist/types/settings.d.ts create mode 100644 node_modules/ts-mixer/dist/types/types.d.ts create mode 100644 node_modules/ts-mixer/dist/types/util.d.ts create mode 100644 node_modules/ts-mixer/package.json create mode 100644 node_modules/tslib/CopyrightNotice.txt create mode 100644 node_modules/tslib/LICENSE.txt create mode 100644 node_modules/tslib/README.md create mode 100644 node_modules/tslib/modules/index.js create mode 100644 node_modules/tslib/modules/package.json create mode 100644 node_modules/tslib/package.json create mode 100644 node_modules/tslib/tslib.d.ts create mode 100644 node_modules/tslib/tslib.es6.html create mode 100644 node_modules/tslib/tslib.es6.js create mode 100644 node_modules/tslib/tslib.html create mode 100644 node_modules/tslib/tslib.js create mode 100644 node_modules/type-is/HISTORY.md create mode 100644 node_modules/type-is/LICENSE create mode 100644 node_modules/type-is/README.md create mode 100644 node_modules/type-is/index.js create mode 100644 node_modules/type-is/package.json create mode 100644 node_modules/unpipe/HISTORY.md create mode 100644 node_modules/unpipe/LICENSE create mode 100644 node_modules/unpipe/README.md create mode 100644 node_modules/unpipe/index.js create mode 100644 node_modules/unpipe/package.json create mode 100644 node_modules/utils-merge/.npmignore create mode 100644 node_modules/utils-merge/LICENSE create mode 100644 node_modules/utils-merge/README.md create mode 100644 node_modules/utils-merge/index.js create mode 100644 node_modules/utils-merge/package.json create mode 100644 node_modules/vary/HISTORY.md create mode 100644 node_modules/vary/LICENSE create mode 100644 node_modules/vary/README.md create mode 100644 node_modules/vary/index.js create mode 100644 node_modules/vary/package.json create mode 100644 node_modules/webidl-conversions/LICENSE.md create mode 100644 node_modules/webidl-conversions/README.md create mode 100644 node_modules/webidl-conversions/lib/index.js create mode 100644 node_modules/webidl-conversions/package.json create mode 100644 node_modules/whatwg-url/LICENSE.txt create mode 100644 node_modules/whatwg-url/README.md create mode 100644 node_modules/whatwg-url/index.js create mode 100644 node_modules/whatwg-url/lib/Function.js create mode 100644 node_modules/whatwg-url/lib/URL-impl.js create mode 100644 node_modules/whatwg-url/lib/URL.js create mode 100644 node_modules/whatwg-url/lib/URLSearchParams-impl.js create mode 100644 node_modules/whatwg-url/lib/URLSearchParams.js create mode 100644 node_modules/whatwg-url/lib/VoidFunction.js create mode 100644 node_modules/whatwg-url/lib/encoding.js create mode 100644 node_modules/whatwg-url/lib/infra.js create mode 100644 node_modules/whatwg-url/lib/percent-encoding.js create mode 100644 node_modules/whatwg-url/lib/url-state-machine.js create mode 100644 node_modules/whatwg-url/lib/urlencoded.js create mode 100644 node_modules/whatwg-url/lib/utils.js create mode 100644 node_modules/whatwg-url/package.json create mode 100644 node_modules/whatwg-url/webidl2js-wrapper.js create mode 100644 node_modules/ws/LICENSE create mode 100644 node_modules/ws/README.md create mode 100644 node_modules/ws/browser.js create mode 100644 node_modules/ws/index.js create mode 100644 node_modules/ws/lib/buffer-util.js create mode 100644 node_modules/ws/lib/constants.js create mode 100644 node_modules/ws/lib/event-target.js create mode 100644 node_modules/ws/lib/extension.js create mode 100644 node_modules/ws/lib/limiter.js create mode 100644 node_modules/ws/lib/permessage-deflate.js create mode 100644 node_modules/ws/lib/receiver.js create mode 100644 node_modules/ws/lib/sender.js create mode 100644 node_modules/ws/lib/stream.js create mode 100644 node_modules/ws/lib/subprotocol.js create mode 100644 node_modules/ws/lib/validation.js create mode 100644 node_modules/ws/lib/websocket-server.js create mode 100644 node_modules/ws/lib/websocket.js create mode 100644 node_modules/ws/package.json create mode 100644 node_modules/ws/wrapper.mjs create mode 100644 package-lock.json create mode 100644 package.json create mode 100644 replit.nix diff --git a/.replit b/.replit new file mode 100644 index 0000000..81bd2b5 --- /dev/null +++ b/.replit @@ -0,0 +1,72 @@ + +hidden = [".config"] +run = "node main.js" + +[[hints]] +regex = "Error \\[ERR_REQUIRE_ESM\\]" +message = "We see that you are using require(...) inside your code. We currently do not support this syntax. Please use 'import' instead when using external modules. (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import)" + +[nix] +channel = "stable-21_11" + +[env] +XDG_CONFIG_HOME = "/home/runner/.config" +PATH = "/home/runner/$REPL_SLUG/.config/npm/node_global/bin:/home/runner/$REPL_SLUG/node_modules/.bin" +npm_config_prefix = "/home/runner/$REPL_SLUG/.config/npm/node_global" + +[packager] +language = "nodejs" + + [packager.features] + packageSearch = true + guessImports = true + enabledForHosting = false + +[unitTest] +language = "nodejs" + +[languages.javascript] +pattern = "**/{*.js,*.jsx,*.ts,*.tsx}" + + [languages.javascript.languageServer] + start = [ "typescript-language-server", "--stdio" ] + +[debugger] +support = true + + [debugger.interactive] + transport = "localhost:0" + startCommand = [ "dap-node" ] + + [debugger.interactive.initializeMessage] + command = "initialize" + type = "request" + + [debugger.interactive.initializeMessage.arguments] + clientID = "replit" + clientName = "replit.com" + columnsStartAt1 = true + linesStartAt1 = true + locale = "en-us" + pathFormat = "path" + supportsInvalidatedEvent = true + supportsProgressReporting = true + supportsRunInTerminalRequest = true + supportsVariablePaging = true + supportsVariableType = true + + [debugger.interactive.launchMessage] + command = "launch" + type = "request" + + [debugger.interactive.launchMessage.arguments] + args = [] + console = "externalTerminal" + cwd = "." + environment = [] + pauseForSourceMap = false + program = "./index.js" + request = "launch" + sourceMaps = true + stopOnEntry = false + type = "pwa-node" diff --git a/main.js b/main.js index a06d2bb..1b1cd19 100644 --- a/main.js +++ b/main.js @@ -2,61 +2,86 @@ const path = require("path"); const express = require("express"); const stripe = require("stripe")(process.env.APIKey); const { MongoClient, ServerApiVersion } = require("mongodb"); +const { Client, Intents, MessageEmbed } = require('discord.js'); const mongouri = process.env.mongooseURI; +const token = process.env.token; + // Use body-parser to retrieve the raw body as a buffer const bodyParser = require("body-parser"); const endpointSecret = process.env.webhooksecret; +const bot = new Client({ + intents: [ + Intents.FLAGS.GUILDS, + Intents.FLAGS.GUILD_MESSAGES, + Intents.FLAGS.GUILD_MESSAGE_REACTIONS, + Intents.FLAGS.GUILD_VOICE_STATES, + Intents.FLAGS.GUILD_EMOJIS_AND_STICKERS, + Intents.FLAGS.GUILD_PRESENCES, + Intents.FLAGS.GUILD_MEMBERS, + Intents.FLAGS.DIRECT_MESSAGES, + Intents.FLAGS.DIRECT_MESSAGE_REACTIONS, + Intents.FLAGS.DIRECT_MESSAGE_TYPING, + ], + partials: ['CHANNEL'] +}); + +bot.on('ready', async () => { + console.log("Bot online!"); +}); +bot.login(token); + const app = express(); app.use(express.static("public")); +app.use(bodyParser.urlencoded({ extended: true })); //Adding the "add customer" function is unecessary as it is handled on the Heroku server function createSubscription(obj) { - const customer = obj.customer; - const plan = obj.plan; + const customer = obj.customer; + const plan = obj.plan; - //$5 = tier 1, $10 = tier 2, etc...CHANGE IF ANY VARIEATIONS ARE ADDED!!! - const tier = plan.amount / 500; - // if (tier != 1 && tier % 2 != 0) { throw `INCORRECT TIER (${tier}) from $${plan.amount}` }; //WRONG + //$5 = tier 1, $10 = tier 2, etc...CHANGE IF ANY VARIEATIONS ARE ADDED!!! + const tier = plan.amount / 500; + // if (tier != 1 && tier % 2 != 0) { throw `INCORRECT TIER (${tier}) from $${plan.amount}` }; //WRONG - const client = new MongoClient(mongouri, { - useNewUrlParser: true, - useUnifiedTopology: true, - serverApi: ServerApiVersion.v1, - }); + const client = new MongoClient(mongouri, { + useNewUrlParser: true, + useUnifiedTopology: true, + serverApi: ServerApiVersion.v1, + }); - client.connect(async (err) => { - const d = new Date(); - const startDateUTC = `${d.getUTCDay()}|${d.getUTCMonth()}|${d.getUTCFullYear()}`; - const dbo = client.db("main").collection("authorized"); - dbo.updateOne({ stripeID: customer }, { $set: { startDateUTC: startDateUTC, paid: true, tier: tier } }); - }); + client.connect(async (err) => { + const d = new Date(); + const startDateUTC = `${d.getUTCDay()}|${d.getUTCMonth()}|${d.getUTCFullYear()}`; + const dbo = client.db("main").collection("authorized"); + dbo.updateOne({ stripeID: customer }, { $set: { startDateUTC: startDateUTC, paid: true, tier: tier } }); + }); } function deleteSubscription(obj) { - const client = new MongoClient(mongouri, { - useNewUrlParser: true, - useUnifiedTopology: true, - serverApi: ServerApiVersion.v1, - }); + const client = new MongoClient(mongouri, { + useNewUrlParser: true, + useUnifiedTopology: true, + serverApi: ServerApiVersion.v1, + }); - client.connect(async (err) => { - const customer = obj.customer; - const dbo = client.db("main").collection("authorized"); - dbo.updateOne({ stripeID: customer }, { $set: { startDateUTC: null, paid: false, tier: 0 } }); - }); + client.connect(async (err) => { + const customer = obj.customer; + const dbo = client.db("main").collection("authorized"); + dbo.updateOne({ stripeID: customer }, { $set: { startDateUTC: null, paid: false, tier: 0 } }); + }); } function changeSubscription(obj) { const upStates = ['trialing', 'active']; const downStates = ['incomplete', 'incomplete_expired', 'past_due', 'canceled', 'unpaid']; - + const status = obj.status.trim(); - + if (upStates.includes(status)) { createSubscription(obj); } else if (downStates.includes(status)) { @@ -66,8 +91,7 @@ function changeSubscription(obj) { // Match the raw body to content type application/json -app.post( - "/webhooks", +app.post("/webhooks", bodyParser.raw({ type: "application/json" }), (request, response) => { const sig = request.headers["stripe-signature"]; @@ -106,6 +130,54 @@ app.post( } ); +//ReminderS format [{ guildId: string, userId: string, event: [name, description, location], time: string (in UTC format), offset: int (in ms) }] +app.post('/reminders', async (req, res) => { + const code = req.headers['botcode']; + if (code != process.env.accesscode) { + return res.sendStatus(500); + } + + const reminders = JSON.parse(req.headers['reminders']) + // return console.log(JSON.parse(req.headers['reminders']), typeof JSON.parse(req.headers['reminders'])); + + var user; + var guild; + var reminder; + var timeUTC; + + try { + // reminder = JSON.parse(reminders); + + for (i in reminders) { + reminder = reminders[i]; + + guild = bot.guilds.cache.get(reminder.guildId); + user = guild.members.cache.get(reminder.userId); + + if (!user || !guild) { console.error(`Unknown user (guildId: ${reminder.guildId} userId: ${reminder.userId})`); return res.sendStatus(500); } + + timeUTC = Number(reminder.time) + Number(reminder.offset); + + let temp = `${reminder.name} is coming up in at `; + const embd = new MessageEmbed() + .setAuthor({ name: "Selmer Bot", url: "", iconURL: bot.user.displayAvatarURL() }) + .setTitle(temp) + .setDescription(`Description: ${reminder.description}`) + .addFields( + { name: 'Time', value: `` }, + { name: 'Location', value: `${reminder.location}` }, + { name: 'Link', value: `${reminder.link}` } + ); + + user.send({ embeds: [embd] }); + } + + res.sendStatus(200); + } catch (err) { + console.error(err); + res.sendStatus(500); + } +}); const listener = app.listen(process.env.PORT, () => { console.log("Your app is listening on port " + listener.address().port); }); diff --git a/node_modules/.bin/mime b/node_modules/.bin/mime new file mode 120000 index 0000000..fbb7ee0 --- /dev/null +++ b/node_modules/.bin/mime @@ -0,0 +1 @@ +../mime/cli.js \ No newline at end of file diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json new file mode 100644 index 0000000..3f54073 --- /dev/null +++ b/node_modules/.package-lock.json @@ -0,0 +1,1036 @@ +{ + "name": "selmer-bot-listener", + "version": "1.0.0", + "lockfileVersion": 2, + "requires": true, + "packages": { + "node_modules/@discordjs/builders": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-0.16.0.tgz", + "integrity": "sha512-9/NCiZrLivgRub2/kBc0Vm5pMBE5AUdYbdXsLu/yg9ANgvnaJ0bZKTY8yYnLbsEc/LYUP79lEIdC73qEYhWq7A==", + "deprecated": "no longer supported", + "dependencies": { + "@sapphire/shapeshift": "^3.5.1", + "discord-api-types": "^0.36.2", + "fast-deep-equal": "^3.1.3", + "ts-mixer": "^6.0.1", + "tslib": "^2.4.0" + }, + "engines": { + "node": ">=16.9.0" + } + }, + "node_modules/@discordjs/builders/node_modules/discord-api-types": { + "version": "0.36.3", + "resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.36.3.tgz", + "integrity": "sha512-bz/NDyG0KBo/tY14vSkrwQ/n3HKPf87a0WFW/1M9+tXYK+vp5Z5EksawfCWo2zkAc6o7CClc0eff1Pjrqznlwg==" + }, + "node_modules/@discordjs/collection": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/@discordjs/collection/-/collection-0.7.0.tgz", + "integrity": "sha512-R5i8Wb8kIcBAFEPLLf7LVBQKBDYUL+ekb23sOgpkpyGT+V4P7V83wTxcsqmX+PbqHt4cEHn053uMWfRqh/Z/nA==", + "deprecated": "no longer supported", + "engines": { + "node": ">=16.9.0" + } + }, + "node_modules/@sapphire/async-queue": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@sapphire/async-queue/-/async-queue-1.3.2.tgz", + "integrity": "sha512-rUpMLATsoAMnlN3gecAcr9Ecnw1vG7zi5Xr+IX22YzRzi1k9PF9vKzoT8RuEJbiIszjcimu3rveqUnvwDopz8g==", + "engines": { + "node": ">=v14.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@sapphire/shapeshift": { + "version": "3.5.1", + "resolved": "https://registry.npmjs.org/@sapphire/shapeshift/-/shapeshift-3.5.1.tgz", + "integrity": "sha512-7JFsW5IglyOIUQI1eE0g6h06D/Far6HqpcowRScgCiLSqTf3hhkPWCWotVTtVycnDCMYIwPeaw6IEPBomKC8pA==", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "lodash.uniqwith": "^4.5.0" + }, + "engines": { + "node": ">=v14.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/@types/node": { + "version": "18.6.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.6.1.tgz", + "integrity": "sha512-z+2vB6yDt1fNwKOeGbckpmirO+VBDuQqecXkgeIqDlaOtmKn6hPR/viQ8cxCfqLU4fTlvM3+YjM367TukWdxpg==" + }, + "node_modules/@types/node-fetch": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.6.2.tgz", + "integrity": "sha512-DHqhlq5jeESLy19TYhLakJ07kNumXWjcDdxXsLUMJZ6ue8VZJj4kLPQVE/2mdHh3xZziNF1xppu5lwmS53HR+A==", + "dependencies": { + "@types/node": "*", + "form-data": "^3.0.0" + } + }, + "node_modules/@types/node-fetch/node_modules/form-data": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz", + "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/@types/webidl-conversions": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/@types/webidl-conversions/-/webidl-conversions-6.1.1.tgz", + "integrity": "sha512-XAahCdThVuCFDQLT7R7Pk/vqeObFNL3YqRyFZg+AqAP/W1/w3xHaIxuW7WszQqTbIBOPRcItYJIou3i/mppu3Q==" + }, + "node_modules/@types/whatwg-url": { + "version": "8.2.2", + "resolved": "https://registry.npmjs.org/@types/whatwg-url/-/whatwg-url-8.2.2.tgz", + "integrity": "sha512-FtQu10RWgn3D9U4aazdwIE2yzphmTJREDqNdODHrbrZmmMqI0vMheC/6NE/J1Yveaj8H+ela+YwWTjq5PGmuhA==", + "dependencies": { + "@types/node": "*", + "@types/webidl-conversions": "*" + } + }, + "node_modules/@types/ws": { + "version": "8.5.3", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.3.tgz", + "integrity": "sha512-6YOoWjruKj1uLf3INHH7D3qTXwFfEsg1kf3c0uDdSBJwfa/llkwIjrAGV7j7mVgGNbzTQ3HiHKKDXl6bJPD97w==", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==" + }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" + }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/body-parser": { + "version": "1.20.0", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.0.tgz", + "integrity": "sha512-DfJ+q6EPcGKZD1QWUjSpqp+Q7bDQTsQIF4zfUAtZ6qk+H/3/QRhg9CEp39ss+/T2vw0+HaidC0ecJj/DRLIaKg==", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.4", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.10.3", + "raw-body": "2.5.1", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "node_modules/bson": { + "version": "4.6.5", + "resolved": "https://registry.npmjs.org/bson/-/bson-4.6.5.tgz", + "integrity": "sha512-uqrgcjyOaZsHfz7ea8zLRCLe1u+QGUSzMZmvXqO24CDW7DWoW1qiN9folSwa7hSneTSgM2ykDIzF5kcQQ8cwNw==", + "dependencies": { + "buffer": "^5.6.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "node_modules/bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "dependencies": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/content-disposition": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/content-type": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", + "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.5.0.tgz", + "integrity": "sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==" + }, + "node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/denque": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/denque/-/denque-2.1.0.tgz", + "integrity": "sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw==", + "engines": { + "node": ">=0.10" + } + }, + "node_modules/depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/destroy": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", + "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "node_modules/discord-api-types": { + "version": "0.33.5", + "resolved": "https://registry.npmjs.org/discord-api-types/-/discord-api-types-0.33.5.tgz", + "integrity": "sha512-dvO5M52v7m7Dy96+XUnzXNsQ/0npsYpU6dL205kAtEDueswoz3aU3bh1UMoK4cQmcGtB1YRyLKqp+DXi05lzFg==" + }, + "node_modules/discord.js": { + "version": "13.9.1", + "resolved": "https://registry.npmjs.org/discord.js/-/discord.js-13.9.1.tgz", + "integrity": "sha512-vVKtSw0fT2ifEcCdI7+nfjEY3/wBfyls3L8Qo9uEhbAl1vCSXd7msskGyNIXzKqRUTz0R84UG10e8jmNxKIBLQ==", + "dependencies": { + "@discordjs/builders": "^0.16.0", + "@discordjs/collection": "^0.7.0", + "@sapphire/async-queue": "^1.3.2", + "@types/node-fetch": "^2.6.2", + "@types/ws": "^8.5.3", + "discord-api-types": "^0.33.3", + "form-data": "^4.0.0", + "node-fetch": "^2.6.7", + "ws": "^8.8.1" + }, + "engines": { + "node": ">=16.6.0", + "npm": ">=7.0.0" + } + }, + "node_modules/ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" + }, + "node_modules/encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==" + }, + "node_modules/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/express": { + "version": "4.18.1", + "resolved": "https://registry.npmjs.org/express/-/express-4.18.1.tgz", + "integrity": "sha512-zZBcOX9TfehHQhtupq57OF8lFZ3UZi08Y97dwFCkD8p9d/d2Y3M+ykKcwaMDEL+4qyUolgBDX6AblpR3fL212Q==", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.0", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.5.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.10.3", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + }, + "node_modules/finalhandler": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", + "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + }, + "node_modules/get-intrinsic": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.2.tgz", + "integrity": "sha512-Jfm3OyCxHh9DJyc28qGk+JmfkpO41A4XkneDSujN9MDXrm4oDKdHvndhZ2dN94+ERNfkYJWDclW6k2L/ZGHjXA==", + "dependencies": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dependencies": { + "function-bind": "^1.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/has-symbols": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/http-errors": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", + "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "node_modules/ip": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz", + "integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==" + }, + "node_modules/ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/lodash.uniqwith": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.uniqwith/-/lodash.uniqwith-4.5.0.tgz", + "integrity": "sha512-7lYL8bLopMoy4CTICbxygAUq6CdRJ36vFc80DucPueUee+d5NBRxz3FdT9Pes/HEx5mPoT9jwnsEJWz1N7uq7Q==" + }, + "node_modules/media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/memory-pager": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/memory-pager/-/memory-pager-1.5.0.tgz", + "integrity": "sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==", + "optional": true + }, + "node_modules/merge-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", + "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==" + }, + "node_modules/methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mongodb": { + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-4.8.0.tgz", + "integrity": "sha512-a0eVzm1e1kxwnzJV1wZXIS54KegM2y6wXTXOGTSAxr/E2YOUkl/zGBHNSI4z+6z+YQtVdzDqy1nJ4n5MxYJRnQ==", + "dependencies": { + "bson": "^4.6.5", + "denque": "^2.0.1", + "mongodb-connection-string-url": "^2.5.2", + "socks": "^2.6.2" + }, + "engines": { + "node": ">=12.9.0" + }, + "optionalDependencies": { + "saslprep": "^1.0.3" + } + }, + "node_modules/mongodb-connection-string-url": { + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/mongodb-connection-string-url/-/mongodb-connection-string-url-2.5.3.tgz", + "integrity": "sha512-f+/WsED+xF4B74l3k9V/XkTVj5/fxFH2o5ToKXd8Iyi5UhM+sO9u0Ape17Mvl/GkZaFtM0HQnzAG5OTmhKw+tQ==", + "dependencies": { + "@types/whatwg-url": "^8.2.1", + "whatwg-url": "^11.0.0" + } + }, + "node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" + }, + "node_modules/negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/node-fetch": { + "version": "2.6.7", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", + "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "node_modules/node-fetch/node_modules/tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" + }, + "node_modules/node-fetch/node_modules/webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" + }, + "node_modules/node-fetch/node_modules/whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "dependencies": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, + "node_modules/object-inspect": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.2.tgz", + "integrity": "sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/on-finished": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", + "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/path-to-regexp": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", + "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==" + }, + "node_modules/proxy-addr": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "engines": { + "node": ">=6" + } + }, + "node_modules/qs": { + "version": "6.10.3", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.10.3.tgz", + "integrity": "sha512-wr7M2E0OFRfIfJZjKGieI8lBKb7fRCH4Fv5KNPEs7gJ8jadvotdsS08PzOKR7opXhZ/Xkjtt3WF9g38drmyRqQ==", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/raw-body": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.1.tgz", + "integrity": "sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig==", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "node_modules/saslprep": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/saslprep/-/saslprep-1.0.3.tgz", + "integrity": "sha512-/MY/PEMbk2SuY5sScONwhUDsV2p77Znkb/q3nSVstq/yQzYJOH/Azh29p9oJLsl3LnQwSvZDKagDGBsBwSooag==", + "optional": true, + "dependencies": { + "sparse-bitfield": "^3.0.3" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/send": { + "version": "0.18.0", + "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", + "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/send/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + }, + "node_modules/serve-static": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", + "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" + }, + "node_modules/side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "dependencies": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/smart-buffer": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", + "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", + "engines": { + "node": ">= 6.0.0", + "npm": ">= 3.0.0" + } + }, + "node_modules/socks": { + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/socks/-/socks-2.7.0.tgz", + "integrity": "sha512-scnOe9y4VuiNUULJN72GrM26BNOjVsfPXI+j+98PkyEfsIXroa5ofyjT+FzGvn/xHs73U2JtoBYAVx9Hl4quSA==", + "dependencies": { + "ip": "^2.0.0", + "smart-buffer": "^4.2.0" + }, + "engines": { + "node": ">= 10.13.0", + "npm": ">= 3.0.0" + } + }, + "node_modules/sparse-bitfield": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/sparse-bitfield/-/sparse-bitfield-3.0.3.tgz", + "integrity": "sha512-kvzhi7vqKTfkh0PZU+2D2PIllw2ymqJKujUcyPMd9Y75Nv4nPbGJZXNhxsgdQab2BmlDct1YnfQCguEvHr7VsQ==", + "optional": true, + "dependencies": { + "memory-pager": "^1.0.2" + } + }, + "node_modules/statuses": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", + "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/stripe": { + "version": "9.15.0", + "resolved": "https://registry.npmjs.org/stripe/-/stripe-9.15.0.tgz", + "integrity": "sha512-0Irs+6mNpZKhiXS/aieweXZEcOrJtUjPU0fIzEzrRg9VF9wyXWdUELWJbkxDhuyYMMKrrjA6c2YNtccBZX6tew==", + "dependencies": { + "@types/node": ">=8.1.0", + "qs": "^6.10.3" + }, + "engines": { + "node": "^8.1 || >=10.*" + } + }, + "node_modules/toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/tr46": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-3.0.0.tgz", + "integrity": "sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA==", + "dependencies": { + "punycode": "^2.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/ts-mixer": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ts-mixer/-/ts-mixer-6.0.1.tgz", + "integrity": "sha512-hvE+ZYXuINrx6Ei6D6hz+PTim0Uf++dYbK9FFifLNwQj+RwKquhQpn868yZsCtJYiclZF1u8l6WZxxKi+vv7Rg==" + }, + "node_modules/tslib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + }, + "node_modules/type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/webidl-conversions": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz", + "integrity": "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==", + "engines": { + "node": ">=12" + } + }, + "node_modules/whatwg-url": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-11.0.0.tgz", + "integrity": "sha512-RKT8HExMpoYx4igMiVMY83lN6UeITKJlBQ+vR/8ZJ8OCdSiN3RwCq+9gH0+Xzj0+5IrM6i4j/6LuvzbZIQgEcQ==", + "dependencies": { + "tr46": "^3.0.0", + "webidl-conversions": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/ws": { + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.8.1.tgz", + "integrity": "sha512-bGy2JzvzkPowEJV++hF07hAD6niYSr0JzBNo/J29WsB57A2r7Wlc1UFcTR9IzrPvuNVO4B8LGqF8qcpsVOhJCA==", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + } + } +} diff --git a/node_modules/@discordjs/builders/CHANGELOG.md b/node_modules/@discordjs/builders/CHANGELOG.md new file mode 100644 index 0000000..97ab7e5 --- /dev/null +++ b/node_modules/@discordjs/builders/CHANGELOG.md @@ -0,0 +1,246 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +# [@discordjs/builders@0.16.0](https://github.com/discordjs/discord.js/compare/@discordjs/builders@0.15.0...@discordjs/builders@0.16.0) - (2022-07-17) + +## Bug Fixes + +- Slash command name regex (#8265) ([32f9056](https://github.com/discordjs/discord.js/commit/32f9056b15edede3bab07de96afb4b56d3a9ecca)) +- **TextInputBuilder:** Parse `custom_id`, `label`, and `style` (#8216) ([2d9dfa3](https://github.com/discordjs/discord.js/commit/2d9dfa3c6ea4bb972da2f7e088d148b798c866d9)) + +## Documentation + +- Add codecov coverage badge to readmes (#8226) ([f6db285](https://github.com/discordjs/discord.js/commit/f6db285c073898a749fe4591cbd4463d1896daf5)) + +## Features + +- **builder:** Add max min length in string option (#8214) ([96c8d21](https://github.com/discordjs/discord.js/commit/96c8d21f95eb366c46ae23505ba9054f44821b25)) +- Codecov (#8219) ([f10f4cd](https://github.com/discordjs/discord.js/commit/f10f4cdcd88ca6be7ec735ed3a415ba13da83db0)) +- **docgen:** Update typedoc ([b3346f4](https://github.com/discordjs/discord.js/commit/b3346f4b9b3d4f96443506643d4631dc1c6d7b21)) +- Website (#8043) ([127931d](https://github.com/discordjs/discord.js/commit/127931d1df7a2a5c27923c2f2151dbf3824e50cc)) +- **docgen:** Typescript support ([3279b40](https://github.com/discordjs/discord.js/commit/3279b40912e6aa61507bedb7db15a2b8668de44b)) +- Docgen package (#8029) ([8b979c0](https://github.com/discordjs/discord.js/commit/8b979c0245c42fd824d8e98745ee869f5360fc86)) + +## Refactor + +- **builder:** Remove `unsafe*Builder`s (#8074) ([a4d1862](https://github.com/discordjs/discord.js/commit/a4d18629828234f43f03d1bd4851d4b727c6903b)) +- Remove @sindresorhus/is as it's now esm only (#8133) ([c6f285b](https://github.com/discordjs/discord.js/commit/c6f285b7b089b004776fbeb444fe973a68d158d8)) +- Move all the config files to root (#8033) ([769ea0b](https://github.com/discordjs/discord.js/commit/769ea0bfe78c4f1d413c6b397c604ffe91e39c6a)) + +## Typings + +- Remove expect error (#8242) ([7e6dbaa](https://github.com/discordjs/discord.js/commit/7e6dbaaed900c07d1a04e23bbbf9cd0d1b0501c5)) +- **builder:** Remove casting (#8241) ([8198da5](https://github.com/discordjs/discord.js/commit/8198da5cd0898e06954615a2287853321e7ebbd4)) + +# [@discordjs/builders@0.15.0](https://github.com/discordjs/discord.js/compare/@discordjs/builders@0.14.0...@discordjs/builders@0.15.0) - (2022-06-06) + +## Features + +- Allow builders to accept rest params and arrays (#7874) ([ad75be9](https://github.com/discordjs/discord.js/commit/ad75be9a9cf90c8624495df99b75177e6c24022f)) +- Use vitest instead of jest for more speed ([8d8e6c0](https://github.com/discordjs/discord.js/commit/8d8e6c03decd7352a2aa180f6e5bc1a13602539b)) +- Add scripts package for locally used scripts ([f2ae1f9](https://github.com/discordjs/discord.js/commit/f2ae1f9348bfd893332a9060f71a8a5f272a1b8b)) + +# [@discordjs/builders@0.15.0](https://github.com/discordjs/discord.js/compare/@discordjs/builders@0.14.0...@discordjs/builders@0.15.0) - (2022-06-05) + +## Features + +- Allow builders to accept rest params and arrays (#7874) ([ad75be9](https://github.com/discordjs/discord.js/commit/ad75be9a9cf90c8624495df99b75177e6c24022f)) +- Use vitest instead of jest for more speed ([8d8e6c0](https://github.com/discordjs/discord.js/commit/8d8e6c03decd7352a2aa180f6e5bc1a13602539b)) +- Add scripts package for locally used scripts ([f2ae1f9](https://github.com/discordjs/discord.js/commit/f2ae1f9348bfd893332a9060f71a8a5f272a1b8b)) + +# [@discordjs/builders@0.14.0](https://github.com/discordjs/discord.js/compare/@discordjs/builders@0.13.0...@discordjs/builders@0.14.0) - (2022-06-04) + +## Bug Fixes + +- **builders:** Leftover invalid null type ([8a7cd10](https://github.com/discordjs/discord.js/commit/8a7cd10554a2a71cd2fe7f6a177b5f4f43464348)) +- **SlashCommandBuilder:** Import `Permissions` correctly (#7921) ([7ce641d](https://github.com/discordjs/discord.js/commit/7ce641d33a4af6586d5e7beffbe7d38619dcf1a2)) +- Add localizations for subcommand builders and option choices (#7862) ([c1b5e73](https://github.com/discordjs/discord.js/commit/c1b5e731daa9cbbfca03a046e47cb1221ee1ed7c)) + +## Features + +- Export types from `interactions/slashCommands/mixins` (#7942) ([68d5169](https://github.com/discordjs/discord.js/commit/68d5169f66c96f8fe5be17a1c01cdd5155607ab2)) +- **builders:** Add new command permissions v2 (#7861) ([de3f157](https://github.com/discordjs/discord.js/commit/de3f1573f07dda294cc0fbb1ca4b659eb2388a12)) +- **builders:** Improve embed errors and predicates (#7795) ([ec8d87f](https://github.com/discordjs/discord.js/commit/ec8d87f93272cc9987f9613735c0361680c4ed1e)) + +## Refactor + +- Use arrays instead of rest parameters for builders (#7759) ([29293d7](https://github.com/discordjs/discord.js/commit/29293d7bbb5ed463e52e5a5853817e5a09cf265b)) + +## Styling + +- Cleanup tests and tsup configs ([6b8ef20](https://github.com/discordjs/discord.js/commit/6b8ef20cb3af5b5cfd176dd0aa0a1a1e98551629)) + +# [@discordjs/builders@0.13.0](https://github.com/discordjs/discord.js/compare/@discordjs/builders@0.12.0...@discordjs/builders@0.13.0) - (2022-04-17) + +## Bug Fixes + +- Validate select menu options (#7566) ([b1d63d9](https://github.com/discordjs/discord.js/commit/b1d63d919a61f309ac89f27016b0f148678dac2b)) +- **SelectMenu:** Set `placeholder` max to 150 (#7538) ([dcd4797](https://github.com/discordjs/discord.js/commit/dcd479767b6ec980a373f2ea1f22754f41661c1e)) +- Only check `instanceof Component` once (#7546) ([0aa4851](https://github.com/discordjs/discord.js/commit/0aa48516a4e33497e8e8dc50da164a57cdee09d3)) +- **builders:** Allow negative min/max value of number/integer option (#7484) ([3baa340](https://github.com/discordjs/discord.js/commit/3baa340821b8ecf8a16253bc0917a1033250d7c9)) +- **components:** SetX should take rest parameters (#7461) ([3617359](https://github.com/discordjs/discord.js/commit/36173590a712f041b087b7882054805a8bd42dae)) +- Unsafe embed builder field normalization (#7418) ([b936103](https://github.com/discordjs/discord.js/commit/b936103395121cb21a8c616f669ddab1d2efb0f1)) +- Fix some typos (#7393) ([92a04f4](https://github.com/discordjs/discord.js/commit/92a04f4d98f6c6760214034cc8f5a1eaa78893c7)) +- **builders:** Make type optional in constructor (#7391) ([4abb28c](https://github.com/discordjs/discord.js/commit/4abb28c0a1256c57a60369a6b8ec9e98c265b489)) +- Don't create new instances of builders classes (#7343) ([d6b56d0](https://github.com/discordjs/discord.js/commit/d6b56d0080c4c5f8ace731f1e8bcae0c9d3fb5a5)) + +## Documentation + +- Completely fix builders example link (#7543) ([1a14c0c](https://github.com/discordjs/discord.js/commit/1a14c0ca562ea173d363a770a0437209f461fd23)) +- Add slash command builders example, fixes #7338 (#7339) ([3ae6f3c](https://github.com/discordjs/discord.js/commit/3ae6f3c313091151245d6e6b52337b459ecfc765)) + +## Features + +- Slash command localization for builders (#7683) ([40b9a1d](https://github.com/discordjs/discord.js/commit/40b9a1d67d0b508ec593e030913acd8161cd17f8)) +- Add API v10 support (#7477) ([72577c4](https://github.com/discordjs/discord.js/commit/72577c4bfd02524a27afb6ff4aebba9301a690d3)) +- Add support for module: NodeNext in TS and ESM (#7598) ([8f1986a](https://github.com/discordjs/discord.js/commit/8f1986a6aa98365e09b00e84ad5f9f354ab61f3d)) +- Add Modals and Text Inputs (#7023) ([ed92015](https://github.com/discordjs/discord.js/commit/ed920156344233241a21b0c0b99736a3a855c23c)) +- Add missing `v13` component methods (#7466) ([f7257f0](https://github.com/discordjs/discord.js/commit/f7257f07655076eabfe355cb6a53260b39ca9670)) +- **builders:** Add attachment command option type (#7203) ([ae0f35f](https://github.com/discordjs/discord.js/commit/ae0f35f51d68dfa5a7dc43d161ef9365171debdb)) +- **components:** Add unsafe message component builders (#7387) ([6b6222b](https://github.com/discordjs/discord.js/commit/6b6222bf513d1ee8cd98fba0ad313def560b864f)) +- **embed:** Add setFields (#7322) ([bcc5cda](https://github.com/discordjs/discord.js/commit/bcc5cda8a902ddb28c7e3578e0f29b4272832624)) + +## Refactor + +- Remove nickname parsing (#7736) ([78a3afc](https://github.com/discordjs/discord.js/commit/78a3afcd7fdac358e06764cc0d675e1215c785f3)) +- Replace zod with shapeshift (#7547) ([3c0bbac](https://github.com/discordjs/discord.js/commit/3c0bbac82fa9988af4a62ff00c66d149fbe6b921)) +- Remove store channels (#7634) ([aedddb8](https://github.com/discordjs/discord.js/commit/aedddb875e740e1f1bd77f06ce1b361fd3b7bc36)) +- Allow builders to accept emoji strings (#7616) ([fb9a9c2](https://github.com/discordjs/discord.js/commit/fb9a9c221121ee1c7986f9c775b77b9691a0ae15)) +- Don't return builders from API data (#7584) ([549716e](https://github.com/discordjs/discord.js/commit/549716e4fcec89ca81216a6d22aa8e623175e37a)) +- Remove obsolete builder methods (#7590) ([10607db](https://github.com/discordjs/discord.js/commit/10607dbdafe257c5cbf5b952b7eecec4919e8b4a)) +- **Embed:** Remove add field (#7522) ([8478d2f](https://github.com/discordjs/discord.js/commit/8478d2f4de9ac013733850cbbc67902f7c5abc55)) +- Make `data` public in builders (#7486) ([ba31203](https://github.com/discordjs/discord.js/commit/ba31203a0ad96e0a00f8312c397889351e4c5cfd)) +- **embed:** Remove array support in favor of rest params (#7498) ([b3fa2ec](https://github.com/discordjs/discord.js/commit/b3fa2ece402839008738ad3adce3db958445838d)) +- **components:** Default set boolean methods to true (#7502) ([b122149](https://github.com/discordjs/discord.js/commit/b12214922cea2f43afbe6b1555a74a3c8e16f798)) +- Make public builder props getters (#7422) ([e8252ed](https://github.com/discordjs/discord.js/commit/e8252ed3b981a4b7e4013f12efadd2f5d9318d3e)) +- **builders-methods:** Make methods consistent (#7395) ([f495364](https://github.com/discordjs/discord.js/commit/f4953647ff9f39127978c73bf8a62c08462802ca)) +- Remove conditional autocomplete option return types (#7396) ([0909824](https://github.com/discordjs/discord.js/commit/09098240bfb13b8afafa4ab549f06d236e0ff1c9)) +- **embed:** Mark properties as readonly (#7332) ([31768fc](https://github.com/discordjs/discord.js/commit/31768fcd69ed5b4566a340bda89ce881418e8272)) + +## Typings + +- Fix regressions (#7649) ([5748dbe](https://github.com/discordjs/discord.js/commit/5748dbe08783beb80c526de38ccd105eb0e82664)) + +# [@discordjs/builders@0.12.0](https://github.com/discordjs/discord.js/compare/@discordjs/builders@0.11.0...@discordjs/builders@0.12.0) - (2022-01-24) + +## Bug Fixes + +- **builders:** Dont export `Button` component stuff twice (#7289) ([86d9d06](https://github.com/discordjs/discord.js/commit/86d9d0674347c08d056cd054cb4ce4253195bf94)) + +## Documentation + +- **SlashCommandSubcommands:** Updating old links from Discord developer portal (#7224) ([bd7a6f2](https://github.com/discordjs/discord.js/commit/bd7a6f265212624199fb0b2ddc8ece39759c63de)) + +## Features + +- Add components to /builders (#7195) ([2bb40fd](https://github.com/discordjs/discord.js/commit/2bb40fd767cf5918e3ba422ff73082734bfa05b0)) + +## Typings + +- Make `required` a boolean (#7307) ([c10afea](https://github.com/discordjs/discord.js/commit/c10afeadc702ab98bec5e077b3b92494a9596f9c)) + +# [0.11.0](https://github.com/discordjs/builders/compare/v0.10.0...v0.11.0) (2021-12-29) + +## Bug Fixes + +- **ApplicationCommandOptions:** clean up code for builder options ([#68](https://github.com/discordjs/builders/issues/68)) ([b5d0b15](https://github.com/discordjs/builders/commit/b5d0b157b1262bd01fa011f8e0cf33adb82776e7)) + +# [0.10.0](https://github.com/discordjs/builders/compare/v0.9.0...v0.10.0) (2021-12-24) + +## Bug Fixes + +- use zod instead of ow for max/min option validation ([#66](https://github.com/discordjs/builders/issues/66)) ([beb35fb](https://github.com/discordjs/builders/commit/beb35fb1f65bd6be2321e17cc792f67e8615fd48)) + +## Features + +- add max/min option for int and number builder options ([#47](https://github.com/discordjs/builders/issues/47)) ([2e1e860](https://github.com/discordjs/builders/commit/2e1e860b46e3453398b20df63dabb6d4325e32d1)) + +# [0.9.0](https://github.com/discordjs/builders/compare/v0.8.2...v0.9.0) (2021-12-02) + +## Bug Fixes + +- replace ow with zod ([#58](https://github.com/discordjs/builders/issues/58)) ([0b6fb81](https://github.com/discordjs/builders/commit/0b6fb8161b858e42781855fb73aaa873fec58160)) + +## Features + +- **SlashCommandBuilder:** add autocomplete ([#53](https://github.com/discordjs/builders/issues/53)) ([05b07a7](https://github.com/discordjs/builders/commit/05b07a7e88848188c27d7380d9f948cba25ef778)) + +## [0.8.2](https://github.com/discordjs/builders/compare/v0.8.1...v0.8.2) (2021-10-30) + +## Bug Fixes + +- downgrade ow because of esm issues ([#55](https://github.com/discordjs/builders/issues/55)) ([3722d2c](https://github.com/discordjs/builders/commit/3722d2c1109a7a5c0abad63c1a7eb944df6e46c8)) + +## [0.8.1](https://github.com/discordjs/builders/compare/v0.8.0...v0.8.1) (2021-10-29) + +## Bug Fixes + +- documentation ([e33ec8d](https://github.com/discordjs/builders/commit/e33ec8dfd5785312f82e0afb017a3dac614fd71d)) + +# [0.7.0](https://github.com/discordjs/builders/compare/v0.6.0...v0.7.0) (2021-10-18) + +## Bug Fixes + +- properly type `toJSON` methods ([#34](https://github.com/discordjs/builders/issues/34)) ([7723ad0](https://github.com/discordjs/builders/commit/7723ad0da169386e638188de220451a97513bc25)) + +## Features + +- **ContextMenus:** add context menu command builder ([#29](https://github.com/discordjs/builders/issues/29)) ([f0641e5](https://github.com/discordjs/builders/commit/f0641e55733de8992600f3082bcf054e6f815cf7)) +- add support for channel types on channel options ([#41](https://github.com/discordjs/builders/issues/41)) ([f6c187e](https://github.com/discordjs/builders/commit/f6c187e0ad6ebe03e65186ece3e95cb1db5aeb50)) + +# [0.6.0](https://github.com/discordjs/builders/compare/v0.5.0...v0.6.0) (2021-08-24) + +## Bug Fixes + +- **SlashCommandBuilder:** allow subcommands and groups to coexist at the root level ([#26](https://github.com/discordjs/builders/issues/26)) ([0be4daf](https://github.com/discordjs/builders/commit/0be4dafdfc0b5747c880be0078c00ada913eb4fb)) + +## Features + +- create `Embed` builder ([#11](https://github.com/discordjs/builders/issues/11)) ([eb942a4](https://github.com/discordjs/builders/commit/eb942a4d1f3bcec9a4e370b6af602a713ad8f9b7)) +- **SlashCommandBuilder:** create setDefaultPermission function ([#19](https://github.com/discordjs/builders/issues/19)) ([5d53759](https://github.com/discordjs/builders/commit/5d537593937a8da330153ce4711b7d093a80330e)) +- **SlashCommands:** add number option type ([#23](https://github.com/discordjs/builders/issues/23)) ([1563991](https://github.com/discordjs/builders/commit/1563991d421bb07bf7a412c87e7613692d770f04)) + +# [0.5.0](https://github.com/discordjs/builders/compare/v0.3.0...v0.5.0) (2021-08-10) + +## Features + +- **Formatters:** add `formatEmoji` ([#20](https://github.com/discordjs/builders/issues/20)) ([c3d8bb5](https://github.com/discordjs/builders/commit/c3d8bb5363a1d46b45c0def4277da6921e2ba209)) + +# [0.4.0](https://github.com/discordjs/builders/compare/v0.3.0...v0.4.0) (2021-08-05) + +## Features + +- `sub command` => `subcommand` ([#18](https://github.com/discordjs/builders/pull/18)) ([95599c5](https://github.com/discordjs/builders/commit/95599c5b5366ebd054c4c277c52f1a44cda1209d)) + +# [0.3.0](https://github.com/discordjs/builders/compare/v0.2.0...v0.3.0) (2021-08-01) + +## Bug Fixes + +- **Shrug:** Update comment ([#14](https://github.com/discordjs/builders/issues/14)) ([6fa6c40](https://github.com/discordjs/builders/commit/6fa6c405f2ea733811677d3d1bfb1e2806d504d5)) +- shrug face rendering ([#13](https://github.com/discordjs/builders/issues/13)) ([6ad24ec](https://github.com/discordjs/builders/commit/6ad24ecd96c82b0f576e78e9e53fc7bf9c36ef5d)) + +## Features + +- **formatters:** mentions ([#9](https://github.com/discordjs/builders/issues/9)) ([f83fe99](https://github.com/discordjs/builders/commit/f83fe99b83188ed999845751ffb005c687dbd60a)) +- **Formatters:** Add a spoiler function ([#16](https://github.com/discordjs/builders/issues/16)) ([c213a6a](https://github.com/discordjs/builders/commit/c213a6abb114f65653017a4edec4bdba2162d771)) +- **SlashCommands:** add slash command builders ([#3](https://github.com/discordjs/builders/issues/3)) ([6aa3af0](https://github.com/discordjs/builders/commit/6aa3af07b0ee342fff91f080914bb12b3ab773f8)) +- shrug, tableflip and unflip strings ([#5](https://github.com/discordjs/builders/issues/5)) ([de5fa82](https://github.com/discordjs/builders/commit/de5fa823cd6f1feba5b2d0a63b2cb1761dfd1814)) + +# [0.2.0](https://github.com/discordjs/builders/compare/v0.1.1...v0.2.0) (2021-07-03) + +## Features + +- **Formatters:** added `hyperlink` and `hideLinkEmbed` ([#4](https://github.com/discordjs/builders/issues/4)) ([c532daf](https://github.com/discordjs/builders/commit/c532daf2ba2feae75bf9668f63462e96a5314cff)) + +# [0.1.1](https://github.com/discordjs/builders/compare/v0.1.0...v0.1.1) (2021-06-30) + +## Bug Fixes + +- **Deps:** added `tslib` as dependency ([#2](https://github.com/discordjs/builders/issues/2)) ([5576ff3](https://github.com/discordjs/builders/commit/5576ff3b67136b957bed0ab8a4c655d5de322813)) + +# 0.1.0 (2021-06-30) + +## Features + +- added message formatters ([#1](https://github.com/discordjs/builders/issues/1)) ([765e46d](https://github.com/discordjs/builders/commit/765e46dac96c4e49d350243e5fad34c2bc738a7c)) diff --git a/node_modules/@discordjs/builders/LICENSE b/node_modules/@discordjs/builders/LICENSE new file mode 100644 index 0000000..cbe9c65 --- /dev/null +++ b/node_modules/@discordjs/builders/LICENSE @@ -0,0 +1,191 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + Copyright 2021 Noel Buechler + Copyright 2021 Vlad Frangu + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/node_modules/@discordjs/builders/README.md b/node_modules/@discordjs/builders/README.md new file mode 100644 index 0000000..d6d8f67 --- /dev/null +++ b/node_modules/@discordjs/builders/README.md @@ -0,0 +1,53 @@ +
+
+

+ discord.js +

+
+

+ Discord server + npm version + npm downloads + Build status + Code coverage +

+
+ +## Installation + +**Node.js 16.9.0 or newer is required.** + +```sh-session +npm install @discordjs/builders +yarn add @discordjs/builders +pnpm add @discordjs/builders +``` + +## Examples + +Here are some examples for the builders and utilities you can find in this package: + +- [Slash Command Builders](https://github.com/discordjs/discord.js/blob/main/packages/builders/docs/examples/Slash%20Command%20Builders.md) + +## Links + +- [Website](https://discord.js.org/) ([source](https://github.com/discordjs/discord.js/tree/main/packages/website)) +- [Documentation](https://discord.js.org/#/docs/builders) +- [Guide](https://discordjs.guide/) ([source](https://github.com/discordjs/guide)) + See also the [Update Guide](https://discordjs.guide/additional-info/changes-in-v13.html), including updated and removed items in the library. +- [discord.js Discord server](https://discord.gg/djs) +- [Discord API Discord server](https://discord.gg/discord-api) +- [GitHub](https://github.com/discordjs/discord.js/tree/main/packages/builders) +- [npm](https://www.npmjs.com/package/@discordjs/builders) +- [Related libraries](https://discord.com/developers/docs/topics/community-resources#libraries) + +## Contributing + +Before creating an issue, please ensure that it hasn't already been reported/suggested, and double-check the +[documentation](https://discord.js.org/#/docs/builders). +See [the contribution guide](https://github.com/discordjs/discord.js/blob/main/.github/CONTRIBUTING.md) if you'd like to submit a PR. + +## Help + +If you don't understand something in the documentation, you are experiencing problems, or you just need a gentle +nudge in the right direction, please don't hesitate to join our official [discord.js Server](https://discord.gg/djs). diff --git a/node_modules/@discordjs/builders/dist/index.d.ts b/node_modules/@discordjs/builders/dist/index.d.ts new file mode 100644 index 0000000..c8b0571 --- /dev/null +++ b/node_modules/@discordjs/builders/dist/index.d.ts @@ -0,0 +1,1406 @@ +import * as _sapphire_shapeshift from '@sapphire/shapeshift'; +import { APIEmbedField, APIEmbedAuthor, APIEmbedFooter, APIEmbedImage, APIEmbed, APISelectMenuOption, APIMessageComponentEmoji, ButtonStyle, APIActionRowComponentTypes, APIActionRowComponent, APIBaseComponent, ComponentType, APIButtonComponent, APISelectMenuComponent, APITextInputComponent, TextInputStyle, APIMessageActionRowComponent, APIModalActionRowComponent, APIMessageComponent, APIModalComponent, APIModalInteractionResponseCallbackData, LocalizationMap, LocaleString, ApplicationCommandOptionType, APIApplicationCommandBasicOption, APIApplicationCommandAttachmentOption, APIApplicationCommandBooleanOption, ChannelType, APIApplicationCommandChannelOption, APIApplicationCommandOptionChoice, APIApplicationCommandIntegerOption, APIApplicationCommandMentionableOption, APIApplicationCommandNumberOption, APIApplicationCommandRoleOption, APIApplicationCommandStringOption, APIApplicationCommandUserOption, APIApplicationCommandSubcommandGroupOption, APIApplicationCommandSubcommandOption, Permissions, RESTPostAPIApplicationCommandsJSONBody, APIApplicationCommandOption, Locale, ApplicationCommandType } from 'discord-api-types/v10'; +import { URL } from 'url'; +import { Snowflake } from 'discord-api-types/globals'; + +declare const fieldNamePredicate: _sapphire_shapeshift.StringValidator; +declare const fieldValuePredicate: _sapphire_shapeshift.StringValidator; +declare const fieldInlinePredicate: _sapphire_shapeshift.UnionValidator; +declare const embedFieldPredicate: _sapphire_shapeshift.ObjectValidator<{ + name: string; + value: string; + inline: boolean | undefined; +}, _sapphire_shapeshift.UndefinedToOptional<{ + name: string; + value: string; + inline: boolean | undefined; +}>>; +declare const embedFieldsArrayPredicate: _sapphire_shapeshift.ArrayValidator<_sapphire_shapeshift.UndefinedToOptional<{ + name: string; + value: string; + inline: boolean | undefined; +}>[], _sapphire_shapeshift.UndefinedToOptional<{ + name: string; + value: string; + inline: boolean | undefined; +}>>; +declare const fieldLengthPredicate: _sapphire_shapeshift.NumberValidator; +declare function validateFieldLength(amountAdding: number, fields?: APIEmbedField[]): void; +declare const authorNamePredicate: _sapphire_shapeshift.UnionValidator; +declare const imageURLPredicate: _sapphire_shapeshift.UnionValidator; +declare const urlPredicate: _sapphire_shapeshift.UnionValidator; +declare const embedAuthorPredicate: _sapphire_shapeshift.ObjectValidator<{ + name: string | null; + iconURL: string | null | undefined; + url: string | null | undefined; +}, _sapphire_shapeshift.UndefinedToOptional<{ + name: string | null; + iconURL: string | null | undefined; + url: string | null | undefined; +}>>; +declare const RGBPredicate: _sapphire_shapeshift.NumberValidator; +declare const colorPredicate: _sapphire_shapeshift.UnionValidator; +declare const descriptionPredicate: _sapphire_shapeshift.UnionValidator; +declare const footerTextPredicate: _sapphire_shapeshift.UnionValidator; +declare const embedFooterPredicate: _sapphire_shapeshift.ObjectValidator<{ + text: string | null; + iconURL: string | null | undefined; +}, _sapphire_shapeshift.UndefinedToOptional<{ + text: string | null; + iconURL: string | null | undefined; +}>>; +declare const timestampPredicate: _sapphire_shapeshift.UnionValidator; +declare const titlePredicate: _sapphire_shapeshift.UnionValidator; + +declare const Assertions$5_fieldNamePredicate: typeof fieldNamePredicate; +declare const Assertions$5_fieldValuePredicate: typeof fieldValuePredicate; +declare const Assertions$5_fieldInlinePredicate: typeof fieldInlinePredicate; +declare const Assertions$5_embedFieldPredicate: typeof embedFieldPredicate; +declare const Assertions$5_embedFieldsArrayPredicate: typeof embedFieldsArrayPredicate; +declare const Assertions$5_fieldLengthPredicate: typeof fieldLengthPredicate; +declare const Assertions$5_validateFieldLength: typeof validateFieldLength; +declare const Assertions$5_authorNamePredicate: typeof authorNamePredicate; +declare const Assertions$5_imageURLPredicate: typeof imageURLPredicate; +declare const Assertions$5_urlPredicate: typeof urlPredicate; +declare const Assertions$5_embedAuthorPredicate: typeof embedAuthorPredicate; +declare const Assertions$5_RGBPredicate: typeof RGBPredicate; +declare const Assertions$5_colorPredicate: typeof colorPredicate; +declare const Assertions$5_descriptionPredicate: typeof descriptionPredicate; +declare const Assertions$5_footerTextPredicate: typeof footerTextPredicate; +declare const Assertions$5_embedFooterPredicate: typeof embedFooterPredicate; +declare const Assertions$5_timestampPredicate: typeof timestampPredicate; +declare const Assertions$5_titlePredicate: typeof titlePredicate; +declare namespace Assertions$5 { + export { + Assertions$5_fieldNamePredicate as fieldNamePredicate, + Assertions$5_fieldValuePredicate as fieldValuePredicate, + Assertions$5_fieldInlinePredicate as fieldInlinePredicate, + Assertions$5_embedFieldPredicate as embedFieldPredicate, + Assertions$5_embedFieldsArrayPredicate as embedFieldsArrayPredicate, + Assertions$5_fieldLengthPredicate as fieldLengthPredicate, + Assertions$5_validateFieldLength as validateFieldLength, + Assertions$5_authorNamePredicate as authorNamePredicate, + Assertions$5_imageURLPredicate as imageURLPredicate, + Assertions$5_urlPredicate as urlPredicate, + Assertions$5_embedAuthorPredicate as embedAuthorPredicate, + Assertions$5_RGBPredicate as RGBPredicate, + Assertions$5_colorPredicate as colorPredicate, + Assertions$5_descriptionPredicate as descriptionPredicate, + Assertions$5_footerTextPredicate as footerTextPredicate, + Assertions$5_embedFooterPredicate as embedFooterPredicate, + Assertions$5_timestampPredicate as timestampPredicate, + Assertions$5_titlePredicate as titlePredicate, + }; +} + +declare function normalizeArray(arr: RestOrArray): T[]; +declare type RestOrArray = T[] | [T[]]; + +declare type RGBTuple = [red: number, green: number, blue: number]; +interface IconData { + /** + * The URL of the icon + */ + iconURL?: string; + /** + * The proxy URL of the icon + */ + proxyIconURL?: string; +} +declare type EmbedAuthorData = Omit & IconData; +declare type EmbedAuthorOptions = Omit; +declare type EmbedFooterData = Omit & IconData; +declare type EmbedFooterOptions = Omit; +interface EmbedImageData extends Omit { + /** + * The proxy URL for the image + */ + proxyURL?: string; +} +/** + * Represents a embed in a message (image/video preview, rich embed, etc.) + */ +declare class EmbedBuilder { + readonly data: APIEmbed; + constructor(data?: APIEmbed); + /** + * Adds fields to the embed (max 25) + * + * @param fields The fields to add + */ + addFields(...fields: RestOrArray): this; + /** + * Removes, replaces, or inserts fields in the embed (max 25) + * + * @param index The index to start at + * @param deleteCount The number of fields to remove + * @param fields The replacing field objects + */ + spliceFields(index: number, deleteCount: number, ...fields: APIEmbedField[]): this; + /** + * Sets the embed's fields (max 25). + * @param fields The fields to set + */ + setFields(...fields: RestOrArray): this; + /** + * Sets the author of this embed + * + * @param options The options for the author + */ + setAuthor(options: EmbedAuthorOptions | null): this; + /** + * Sets the color of this embed + * + * @param color The color of the embed + */ + setColor(color: number | RGBTuple | null): this; + /** + * Sets the description of this embed + * + * @param description The description + */ + setDescription(description: string | null): this; + /** + * Sets the footer of this embed + * + * @param options The options for the footer + */ + setFooter(options: EmbedFooterOptions | null): this; + /** + * Sets the image of this embed + * + * @param url The URL of the image + */ + setImage(url: string | null): this; + /** + * Sets the thumbnail of this embed + * + * @param url The URL of the thumbnail + */ + setThumbnail(url: string | null): this; + /** + * Sets the timestamp of this embed + * + * @param timestamp The timestamp or date + */ + setTimestamp(timestamp?: number | Date | null): this; + /** + * Sets the title of this embed + * + * @param title The title + */ + setTitle(title: string | null): this; + /** + * Sets the URL of this embed + * + * @param url The URL + */ + setURL(url: string | null): this; + /** + * Transforms the embed to a plain object + */ + toJSON(): APIEmbed; +} + +/** + * Wraps the content inside a codeblock with no language + * + * @param content - The content to wrap + */ +declare function codeBlock(content: C): `\`\`\`\n${C}\`\`\``; +/** + * Wraps the content inside a codeblock with the specified language + * + * @param language - The language for the codeblock + * @param content - The content to wrap + */ +declare function codeBlock(language: L, content: C): `\`\`\`${L}\n${C}\`\`\``; +/** + * Wraps the content inside \`backticks\`, which formats it as inline code + * + * @param content - The content to wrap + */ +declare function inlineCode(content: C): `\`${C}\``; +/** + * Formats the content into italic text + * + * @param content - The content to wrap + */ +declare function italic(content: C): `_${C}_`; +/** + * Formats the content into bold text + * + * @param content - The content to wrap + */ +declare function bold(content: C): `**${C}**`; +/** + * Formats the content into underscored text + * + * @param content - The content to wrap + */ +declare function underscore(content: C): `__${C}__`; +/** + * Formats the content into strike-through text + * + * @param content - The content to wrap + */ +declare function strikethrough(content: C): `~~${C}~~`; +/** + * Formats the content into a quote. This needs to be at the start of the line for Discord to format it + * + * @param content - The content to wrap + */ +declare function quote(content: C): `> ${C}`; +/** + * Formats the content into a block quote. This needs to be at the start of the line for Discord to format it + * + * @param content - The content to wrap + */ +declare function blockQuote(content: C): `>>> ${C}`; +/** + * Wraps the URL into `<>`, which stops it from embedding + * + * @param url - The URL to wrap + */ +declare function hideLinkEmbed(url: C): `<${C}>`; +/** + * Wraps the URL into `<>`, which stops it from embedding + * + * @param url - The URL to wrap + */ +declare function hideLinkEmbed(url: URL): `<${string}>`; +/** + * Formats the content and the URL into a masked URL + * + * @param content - The content to display + * @param url - The URL the content links to + */ +declare function hyperlink(content: C, url: URL): `[${C}](${string})`; +/** + * Formats the content and the URL into a masked URL + * + * @param content - The content to display + * @param url - The URL the content links to + */ +declare function hyperlink(content: C, url: U): `[${C}](${U})`; +/** + * Formats the content and the URL into a masked URL + * + * @param content - The content to display + * @param url - The URL the content links to + * @param title - The title shown when hovering on the masked link + */ +declare function hyperlink(content: C, url: URL, title: T): `[${C}](${string} "${T}")`; +/** + * Formats the content and the URL into a masked URL + * + * @param content - The content to display + * @param url - The URL the content links to + * @param title - The title shown when hovering on the masked link + */ +declare function hyperlink(content: C, url: U, title: T): `[${C}](${U} "${T}")`; +/** + * Wraps the content inside spoiler (hidden text) + * + * @param content - The content to wrap + */ +declare function spoiler(content: C): `||${C}||`; +/** + * Formats a user ID into a user mention + * + * @param userId - The user ID to format + */ +declare function userMention(userId: C): `<@${C}>`; +/** + * Formats a channel ID into a channel mention + * + * @param channelId - The channel ID to format + */ +declare function channelMention(channelId: C): `<#${C}>`; +/** + * Formats a role ID into a role mention + * + * @param roleId - The role ID to format + */ +declare function roleMention(roleId: C): `<@&${C}>`; +/** + * Formats an emoji ID into a fully qualified emoji identifier + * + * @param emojiId - The emoji ID to format + */ +declare function formatEmoji(emojiId: C, animated?: false): `<:_:${C}>`; +/** + * Formats an emoji ID into a fully qualified emoji identifier + * + * @param emojiId - The emoji ID to format + * @param animated - Whether the emoji is animated or not. Defaults to `false` + */ +declare function formatEmoji(emojiId: C, animated?: true): ``; +/** + * Formats a date into a short date-time string + * + * @param date - The date to format, defaults to the current time + */ +declare function time(date?: Date): ``; +/** + * Formats a date given a format style + * + * @param date - The date to format + * @param style - The style to use + */ +declare function time(date: Date, style: S): ``; +/** + * Formats the given timestamp into a short date-time string + * + * @param seconds - The time to format, represents an UNIX timestamp in seconds + */ +declare function time(seconds: C): ``; +/** + * Formats the given timestamp into a short date-time string + * + * @param seconds - The time to format, represents an UNIX timestamp in seconds + * @param style - The style to use + */ +declare function time(seconds: C, style: S): ``; +/** + * The [message formatting timestamp styles](https://discord.com/developers/docs/reference#message-formatting-timestamp-styles) supported by Discord + */ +declare const TimestampStyles: { + /** + * Short time format, consisting of hours and minutes, e.g. 16:20 + */ + readonly ShortTime: "t"; + /** + * Long time format, consisting of hours, minutes, and seconds, e.g. 16:20:30 + */ + readonly LongTime: "T"; + /** + * Short date format, consisting of day, month, and year, e.g. 20/04/2021 + */ + readonly ShortDate: "d"; + /** + * Long date format, consisting of day, month, and year, e.g. 20 April 2021 + */ + readonly LongDate: "D"; + /** + * Short date-time format, consisting of short date and short time formats, e.g. 20 April 2021 16:20 + */ + readonly ShortDateTime: "f"; + /** + * Long date-time format, consisting of long date and short time formats, e.g. Tuesday, 20 April 2021 16:20 + */ + readonly LongDateTime: "F"; + /** + * Relative time format, consisting of a relative duration format, e.g. 2 months ago + */ + readonly RelativeTime: "R"; +}; +/** + * The possible values, see {@link TimestampStyles} for more information + */ +declare type TimestampStylesString = typeof TimestampStyles[keyof typeof TimestampStyles]; +/** + * An enum with all the available faces from Discord's native slash commands + */ +declare enum Faces { + /** + * ¯\\_(ツ)\\_/¯ + */ + Shrug = "\u00AF\\_(\u30C4)\\_/\u00AF", + /** + * (╯°□°)╯︵ ┻━┻ + */ + Tableflip = "(\u256F\u00B0\u25A1\u00B0\uFF09\u256F\uFE35 \u253B\u2501\u253B", + /** + * ┬─┬ ノ( ゜-゜ノ) + */ + Unflip = "\u252C\u2500\u252C \u30CE( \u309C-\u309C\u30CE)" +} + +/** + * Represents a option within a select menu component + */ +declare class SelectMenuOptionBuilder { + data: Partial; + constructor(data?: Partial); + /** + * Sets the label of this option + * + * @param label - The label to show on this option + */ + setLabel(label: string): this; + /** + * Sets the value of this option + * + * @param value - The value of this option + */ + setValue(value: string): this; + /** + * Sets the description of this option + * + * @param description - The description of this option + */ + setDescription(description: string): this; + /** + * Sets whether this option is selected by default + * + * @param isDefault - Whether this option is selected by default + */ + setDefault(isDefault?: boolean): this; + /** + * Sets the emoji to display on this option + * + * @param emoji - The emoji to display on this option + */ + setEmoji(emoji: APIMessageComponentEmoji): this; + toJSON(): APISelectMenuOption; +} + +declare const customIdValidator: _sapphire_shapeshift.StringValidator; +declare const emojiValidator: _sapphire_shapeshift.ObjectValidator<{ + id?: string | undefined; + name?: string | undefined; + animated?: boolean | undefined; +}, _sapphire_shapeshift.UndefinedToOptional<{ + id?: string | undefined; + name?: string | undefined; + animated?: boolean | undefined; +}>>; +declare const disabledValidator: _sapphire_shapeshift.BooleanValidator; +declare const buttonLabelValidator: _sapphire_shapeshift.StringValidator; +declare const buttonStyleValidator: _sapphire_shapeshift.NativeEnumValidator; +declare const placeholderValidator$1: _sapphire_shapeshift.StringValidator; +declare const minMaxValidator: _sapphire_shapeshift.NumberValidator; +declare const labelValueDescriptionValidator: _sapphire_shapeshift.StringValidator; +declare const optionValidator: _sapphire_shapeshift.UnionValidator | undefined; + default: boolean | undefined; +}>>; +declare const optionsValidator: _sapphire_shapeshift.ArrayValidator<(SelectMenuOptionBuilder | _sapphire_shapeshift.UndefinedToOptional<{ + label: string; + value: string; + description: string | undefined; + emoji: _sapphire_shapeshift.UndefinedToOptional<{ + id?: string | undefined; + name?: string | undefined; + animated?: boolean | undefined; + }> | undefined; + default: boolean | undefined; +}>)[], SelectMenuOptionBuilder | _sapphire_shapeshift.UndefinedToOptional<{ + label: string; + value: string; + description: string | undefined; + emoji: _sapphire_shapeshift.UndefinedToOptional<{ + id?: string | undefined; + name?: string | undefined; + animated?: boolean | undefined; + }> | undefined; + default: boolean | undefined; +}>>; +declare const optionsLengthValidator: _sapphire_shapeshift.NumberValidator; +declare function validateRequiredSelectMenuParameters(options: SelectMenuOptionBuilder[], customId?: string): void; +declare const defaultValidator: _sapphire_shapeshift.BooleanValidator; +declare function validateRequiredSelectMenuOptionParameters(label?: string, value?: string): void; +declare const urlValidator: _sapphire_shapeshift.StringValidator; +declare function validateRequiredButtonParameters(style?: ButtonStyle, label?: string, emoji?: APIMessageComponentEmoji, customId?: string, url?: string): void; + +declare const Assertions$4_customIdValidator: typeof customIdValidator; +declare const Assertions$4_emojiValidator: typeof emojiValidator; +declare const Assertions$4_disabledValidator: typeof disabledValidator; +declare const Assertions$4_buttonLabelValidator: typeof buttonLabelValidator; +declare const Assertions$4_buttonStyleValidator: typeof buttonStyleValidator; +declare const Assertions$4_minMaxValidator: typeof minMaxValidator; +declare const Assertions$4_labelValueDescriptionValidator: typeof labelValueDescriptionValidator; +declare const Assertions$4_optionValidator: typeof optionValidator; +declare const Assertions$4_optionsValidator: typeof optionsValidator; +declare const Assertions$4_optionsLengthValidator: typeof optionsLengthValidator; +declare const Assertions$4_validateRequiredSelectMenuParameters: typeof validateRequiredSelectMenuParameters; +declare const Assertions$4_defaultValidator: typeof defaultValidator; +declare const Assertions$4_validateRequiredSelectMenuOptionParameters: typeof validateRequiredSelectMenuOptionParameters; +declare const Assertions$4_urlValidator: typeof urlValidator; +declare const Assertions$4_validateRequiredButtonParameters: typeof validateRequiredButtonParameters; +declare namespace Assertions$4 { + export { + Assertions$4_customIdValidator as customIdValidator, + Assertions$4_emojiValidator as emojiValidator, + Assertions$4_disabledValidator as disabledValidator, + Assertions$4_buttonLabelValidator as buttonLabelValidator, + Assertions$4_buttonStyleValidator as buttonStyleValidator, + placeholderValidator$1 as placeholderValidator, + Assertions$4_minMaxValidator as minMaxValidator, + Assertions$4_labelValueDescriptionValidator as labelValueDescriptionValidator, + Assertions$4_optionValidator as optionValidator, + Assertions$4_optionsValidator as optionsValidator, + Assertions$4_optionsLengthValidator as optionsLengthValidator, + Assertions$4_validateRequiredSelectMenuParameters as validateRequiredSelectMenuParameters, + Assertions$4_defaultValidator as defaultValidator, + Assertions$4_validateRequiredSelectMenuOptionParameters as validateRequiredSelectMenuOptionParameters, + Assertions$4_urlValidator as urlValidator, + Assertions$4_validateRequiredButtonParameters as validateRequiredButtonParameters, + }; +} + +interface JSONEncodable { + /** + * Transforms this object to its JSON format + */ + toJSON: () => T; +} +/** + * Indicates if an object is encodable or not. + * @param maybeEncodable - The object to check against + */ +declare function isJSONEncodable(maybeEncodable: unknown): maybeEncodable is JSONEncodable; + +declare type AnyAPIActionRowComponent = APIActionRowComponentTypes | APIActionRowComponent; +/** + * Represents a discord component + */ +declare abstract class ComponentBuilder> = APIBaseComponent> implements JSONEncodable { + /** + * The API data associated with this component + */ + readonly data: Partial; + abstract toJSON(): AnyAPIActionRowComponent; + constructor(data: Partial); +} + +/** + * Represents a button component + */ +declare class ButtonBuilder extends ComponentBuilder { + constructor(data?: Partial); + /** + * Sets the style of this button + * + * @param style - The style of the button + */ + setStyle(style: ButtonStyle): this; + /** + * Sets the URL for this button + * + * @param url - The URL to open when this button is clicked + */ + setURL(url: string): this; + /** + * Sets the custom id for this button + * + * @param customId - The custom id to use for this button + */ + setCustomId(customId: string): this; + /** + * Sets the emoji to display on this button + * + * @param emoji - The emoji to display on this button + */ + setEmoji(emoji: APIMessageComponentEmoji): this; + /** + * Sets whether this button is disabled + * + * @param disabled - Whether to disable this button + */ + setDisabled(disabled?: boolean): this; + /** + * Sets the label for this button + * + * @param label - The label to display on this button + */ + setLabel(label: string): this; + toJSON(): APIButtonComponent; +} + +/** + * Represents a select menu component + */ +declare class SelectMenuBuilder extends ComponentBuilder { + /** + * The options within this select menu + */ + readonly options: SelectMenuOptionBuilder[]; + constructor(data?: Partial); + /** + * Sets the placeholder for this select menu + * + * @param placeholder - The placeholder to use for this select menu + */ + setPlaceholder(placeholder: string): this; + /** + * Sets the minimum values that must be selected in the select menu + * + * @param minValues - The minimum values that must be selected + */ + setMinValues(minValues: number): this; + /** + * Sets the maximum values that must be selected in the select menu + * + * @param maxValues - The maximum values that must be selected + */ + setMaxValues(maxValues: number): this; + /** + * Sets the custom id for this select menu + * + * @param customId - The custom id to use for this select menu + */ + setCustomId(customId: string): this; + /** + * Sets whether this select menu is disabled + * + * @param disabled - Whether this select menu is disabled + */ + setDisabled(disabled?: boolean): this; + /** + * Adds options to this select menu + * + * @param options - The options to add to this select menu + * @returns + */ + addOptions(...options: RestOrArray): this; + /** + * Sets the options on this select menu + * + * @param options - The options to set on this select menu + */ + setOptions(...options: RestOrArray): this; + toJSON(): APISelectMenuComponent; +} + +declare class TextInputBuilder extends ComponentBuilder { + constructor(data?: APITextInputComponent & { + type?: ComponentType.TextInput; + }); + /** + * Sets the custom id for this text input + * + * @param customId - The custom id of this text input + */ + setCustomId(customId: string): this; + /** + * Sets the label for this text input + * + * @param label - The label for this text input + */ + setLabel(label: string): this; + /** + * Sets the style for this text input + * + * @param style - The style for this text input + */ + setStyle(style: TextInputStyle): this; + /** + * Sets the minimum length of text for this text input + * + * @param minLength - The minimum length of text for this text input + */ + setMinLength(minLength: number): this; + /** + * Sets the maximum length of text for this text input + * + * @param maxLength - The maximum length of text for this text input + */ + setMaxLength(maxLength: number): this; + /** + * Sets the placeholder of this text input + * + * @param placeholder - The placeholder of this text input + */ + setPlaceholder(placeholder: string): this; + /** + * Sets the value of this text input + * + * @param value - The value for this text input + */ + setValue(value: string): this; + /** + * Sets whether this text input is required + * + * @param required - Whether this text input is required + */ + setRequired(required?: boolean): this; + toJSON(): APITextInputComponent; + equals(other: JSONEncodable | APITextInputComponent): boolean; +} + +declare type MessageComponentBuilder = MessageActionRowComponentBuilder | ActionRowBuilder; +declare type ModalComponentBuilder = ModalActionRowComponentBuilder | ActionRowBuilder; +declare type MessageActionRowComponentBuilder = ButtonBuilder | SelectMenuBuilder; +declare type ModalActionRowComponentBuilder = TextInputBuilder; +declare type AnyComponentBuilder = MessageActionRowComponentBuilder | ModalActionRowComponentBuilder; +/** + * Represents an action row component + */ +declare class ActionRowBuilder extends ComponentBuilder> { + /** + * The components within this action row + */ + readonly components: T[]; + constructor({ components, ...data }?: Partial>); + /** + * Adds components to this action row. + * + * @param components - The components to add to this action row. + */ + addComponents(...components: RestOrArray): this; + /** + * Sets the components in this action row + * + * @param components - The components to set this row to + */ + setComponents(...components: RestOrArray): this; + toJSON(): APIActionRowComponent>; +} + +interface MappedComponentTypes { + [ComponentType.ActionRow]: ActionRowBuilder; + [ComponentType.Button]: ButtonBuilder; + [ComponentType.SelectMenu]: SelectMenuBuilder; + [ComponentType.TextInput]: TextInputBuilder; +} +/** + * Factory for creating components from API data + * + * @param data - The api data to transform to a component class + */ +declare function createComponentBuilder(data: (APIMessageComponent | APIModalComponent) & { + type: T; +}): MappedComponentTypes[T]; +declare function createComponentBuilder(data: C): C; + +declare const textInputStyleValidator: _sapphire_shapeshift.NativeEnumValidator; +declare const minLengthValidator: _sapphire_shapeshift.NumberValidator; +declare const maxLengthValidator: _sapphire_shapeshift.NumberValidator; +declare const requiredValidator: _sapphire_shapeshift.BooleanValidator; +declare const valueValidator: _sapphire_shapeshift.StringValidator; +declare const placeholderValidator: _sapphire_shapeshift.StringValidator; +declare const labelValidator: _sapphire_shapeshift.StringValidator; +declare function validateRequiredParameters$3(customId?: string, style?: TextInputStyle, label?: string): void; + +declare const Assertions$3_textInputStyleValidator: typeof textInputStyleValidator; +declare const Assertions$3_minLengthValidator: typeof minLengthValidator; +declare const Assertions$3_maxLengthValidator: typeof maxLengthValidator; +declare const Assertions$3_requiredValidator: typeof requiredValidator; +declare const Assertions$3_valueValidator: typeof valueValidator; +declare const Assertions$3_placeholderValidator: typeof placeholderValidator; +declare const Assertions$3_labelValidator: typeof labelValidator; +declare namespace Assertions$3 { + export { + Assertions$3_textInputStyleValidator as textInputStyleValidator, + Assertions$3_minLengthValidator as minLengthValidator, + Assertions$3_maxLengthValidator as maxLengthValidator, + Assertions$3_requiredValidator as requiredValidator, + Assertions$3_valueValidator as valueValidator, + Assertions$3_placeholderValidator as placeholderValidator, + Assertions$3_labelValidator as labelValidator, + validateRequiredParameters$3 as validateRequiredParameters, + }; +} + +declare class ModalBuilder implements JSONEncodable { + readonly data: Partial; + readonly components: ActionRowBuilder[]; + constructor({ components, ...data }?: Partial); + /** + * Sets the title of the modal + * + * @param title - The title of the modal + */ + setTitle(title: string): this; + /** + * Sets the custom id of the modal + * + * @param customId - The custom id of this modal + */ + setCustomId(customId: string): this; + /** + * Adds components to this modal + * + * @param components - The components to add to this modal + */ + addComponents(...components: RestOrArray | APIActionRowComponent>): this; + /** + * Sets the components in this modal + * + * @param components - The components to set this modal to + */ + setComponents(...components: RestOrArray>): this; + toJSON(): APIModalInteractionResponseCallbackData; +} + +declare const titleValidator: _sapphire_shapeshift.StringValidator; +declare const componentsValidator: _sapphire_shapeshift.ArrayValidator<[ActionRowBuilder, ...ActionRowBuilder[]], ActionRowBuilder>; +declare function validateRequiredParameters$2(customId?: string, title?: string, components?: ActionRowBuilder[]): void; + +declare const Assertions$2_titleValidator: typeof titleValidator; +declare const Assertions$2_componentsValidator: typeof componentsValidator; +declare namespace Assertions$2 { + export { + Assertions$2_titleValidator as titleValidator, + Assertions$2_componentsValidator as componentsValidator, + validateRequiredParameters$2 as validateRequiredParameters, + }; +} + +declare class SharedNameAndDescription { + readonly name: string; + readonly name_localizations?: LocalizationMap; + readonly description: string; + readonly description_localizations?: LocalizationMap; + /** + * Sets the name + * + * @param name - The name + */ + setName(name: string): this; + /** + * Sets the description + * + * @param description - The description + */ + setDescription(description: string): this; + /** + * Sets a name localization + * + * @param locale - The locale to set a description for + * @param localizedName - The localized description for the given locale + */ + setNameLocalization(locale: LocaleString, localizedName: string | null): this; + /** + * Sets the name localizations + * + * @param localizedNames - The dictionary of localized descriptions to set + */ + setNameLocalizations(localizedNames: LocalizationMap | null): this; + /** + * Sets a description localization + * + * @param locale - The locale to set a description for + * @param localizedDescription - The localized description for the given locale + */ + setDescriptionLocalization(locale: LocaleString, localizedDescription: string | null): this; + /** + * Sets the description localizations + * + * @param localizedDescriptions - The dictionary of localized descriptions to set + */ + setDescriptionLocalizations(localizedDescriptions: LocalizationMap | null): this; +} + +declare abstract class ApplicationCommandOptionBase extends SharedNameAndDescription { + abstract readonly type: ApplicationCommandOptionType; + readonly required: boolean; + /** + * Marks the option as required + * + * @param required - If this option should be required + */ + setRequired(required: boolean): this; + abstract toJSON(): APIApplicationCommandBasicOption; + protected runRequiredValidations(): void; +} + +declare class SlashCommandAttachmentOption extends ApplicationCommandOptionBase { + readonly type: ApplicationCommandOptionType.Attachment; + toJSON(): APIApplicationCommandAttachmentOption; +} + +declare class SlashCommandBooleanOption extends ApplicationCommandOptionBase { + readonly type: ApplicationCommandOptionType.Boolean; + toJSON(): APIApplicationCommandBooleanOption; +} + +declare const allowedChannelTypes: readonly [ChannelType.GuildText, ChannelType.GuildVoice, ChannelType.GuildCategory, ChannelType.GuildNews, ChannelType.GuildNewsThread, ChannelType.GuildPublicThread, ChannelType.GuildPrivateThread, ChannelType.GuildStageVoice]; +declare type ApplicationCommandOptionAllowedChannelTypes = typeof allowedChannelTypes[number]; +declare class ApplicationCommandOptionChannelTypesMixin { + readonly channel_types?: ApplicationCommandOptionAllowedChannelTypes[]; + /** + * Adds channel types to this option + * + * @param channelTypes - The channel types to add + */ + addChannelTypes(...channelTypes: ApplicationCommandOptionAllowedChannelTypes[]): this; +} + +declare class SlashCommandChannelOption extends ApplicationCommandOptionBase { + readonly type: ApplicationCommandOptionType.Channel; + toJSON(): APIApplicationCommandChannelOption; +} +interface SlashCommandChannelOption extends ApplicationCommandOptionChannelTypesMixin { +} + +declare abstract class ApplicationCommandNumericOptionMinMaxValueMixin { + readonly max_value?: number; + readonly min_value?: number; + /** + * Sets the maximum number value of this option + * + * @param max - The maximum value this option can be + */ + abstract setMaxValue(max: number): this; + /** + * Sets the minimum number value of this option + * + * @param min - The minimum value this option can be + */ + abstract setMinValue(min: number): this; +} + +declare class ApplicationCommandOptionWithChoicesAndAutocompleteMixin { + readonly choices?: APIApplicationCommandOptionChoice[]; + readonly autocomplete?: boolean; + readonly type: ApplicationCommandOptionType; + /** + * Adds multiple choices for this option + * + * @param choices - The choices to add + */ + addChoices(...choices: APIApplicationCommandOptionChoice[]): this; + setChoices[]>(...choices: Input): this; + /** + * Marks the option as autocompletable + * @param autocomplete - If this option should be autocompletable + */ + setAutocomplete(autocomplete: boolean): this; +} + +declare class SlashCommandIntegerOption extends ApplicationCommandOptionBase implements ApplicationCommandNumericOptionMinMaxValueMixin { + readonly type: ApplicationCommandOptionType.Integer; + setMaxValue(max: number): this; + setMinValue(min: number): this; + toJSON(): APIApplicationCommandIntegerOption; +} +interface SlashCommandIntegerOption extends ApplicationCommandNumericOptionMinMaxValueMixin, ApplicationCommandOptionWithChoicesAndAutocompleteMixin { +} + +declare class SlashCommandMentionableOption extends ApplicationCommandOptionBase { + readonly type: ApplicationCommandOptionType.Mentionable; + toJSON(): APIApplicationCommandMentionableOption; +} + +declare class SlashCommandNumberOption extends ApplicationCommandOptionBase implements ApplicationCommandNumericOptionMinMaxValueMixin { + readonly type: ApplicationCommandOptionType.Number; + setMaxValue(max: number): this; + setMinValue(min: number): this; + toJSON(): APIApplicationCommandNumberOption; +} +interface SlashCommandNumberOption extends ApplicationCommandNumericOptionMinMaxValueMixin, ApplicationCommandOptionWithChoicesAndAutocompleteMixin { +} + +declare class SlashCommandRoleOption extends ApplicationCommandOptionBase { + readonly type: ApplicationCommandOptionType.Role; + toJSON(): APIApplicationCommandRoleOption; +} + +declare class SlashCommandStringOption extends ApplicationCommandOptionBase { + readonly type: ApplicationCommandOptionType.String; + readonly max_length?: number; + readonly min_length?: number; + /** + * Sets the maximum length of this string option. + * + * @param max - The maximum length this option can be + */ + setMaxLength(max: number): this; + /** + * Sets the minimum length of this string option. + * + * @param min - The minimum length this option can be + */ + setMinLength(min: number): this; + toJSON(): APIApplicationCommandStringOption; +} +interface SlashCommandStringOption extends ApplicationCommandOptionWithChoicesAndAutocompleteMixin { +} + +declare class SlashCommandUserOption extends ApplicationCommandOptionBase { + readonly type: ApplicationCommandOptionType.User; + toJSON(): APIApplicationCommandUserOption; +} + +declare class SharedSlashCommandOptions { + readonly options: ToAPIApplicationCommandOptions[]; + /** + * Adds a boolean option + * + * @param input - A function that returns an option builder, or an already built builder + */ + addBooleanOption(input: SlashCommandBooleanOption | ((builder: SlashCommandBooleanOption) => SlashCommandBooleanOption)): ShouldOmitSubcommandFunctions extends true ? Omit : this; + /** + * Adds a user option + * + * @param input - A function that returns an option builder, or an already built builder + */ + addUserOption(input: SlashCommandUserOption | ((builder: SlashCommandUserOption) => SlashCommandUserOption)): ShouldOmitSubcommandFunctions extends true ? Omit : this; + /** + * Adds a channel option + * + * @param input - A function that returns an option builder, or an already built builder + */ + addChannelOption(input: SlashCommandChannelOption | ((builder: SlashCommandChannelOption) => SlashCommandChannelOption)): ShouldOmitSubcommandFunctions extends true ? Omit : this; + /** + * Adds a role option + * + * @param input - A function that returns an option builder, or an already built builder + */ + addRoleOption(input: SlashCommandRoleOption | ((builder: SlashCommandRoleOption) => SlashCommandRoleOption)): ShouldOmitSubcommandFunctions extends true ? Omit : this; + /** + * Adds an attachment option + * + * @param input - A function that returns an option builder, or an already built builder + */ + addAttachmentOption(input: SlashCommandAttachmentOption | ((builder: SlashCommandAttachmentOption) => SlashCommandAttachmentOption)): ShouldOmitSubcommandFunctions extends true ? Omit : this; + /** + * Adds a mentionable option + * + * @param input - A function that returns an option builder, or an already built builder + */ + addMentionableOption(input: SlashCommandMentionableOption | ((builder: SlashCommandMentionableOption) => SlashCommandMentionableOption)): ShouldOmitSubcommandFunctions extends true ? Omit : this; + /** + * Adds a string option + * + * @param input - A function that returns an option builder, or an already built builder + */ + addStringOption(input: SlashCommandStringOption | Omit | Omit | ((builder: SlashCommandStringOption) => SlashCommandStringOption | Omit | Omit)): ShouldOmitSubcommandFunctions extends true ? Omit : this; + /** + * Adds an integer option + * + * @param input - A function that returns an option builder, or an already built builder + */ + addIntegerOption(input: SlashCommandIntegerOption | Omit | Omit | ((builder: SlashCommandIntegerOption) => SlashCommandIntegerOption | Omit | Omit)): ShouldOmitSubcommandFunctions extends true ? Omit : this; + /** + * Adds a number option + * + * @param input - A function that returns an option builder, or an already built builder + */ + addNumberOption(input: SlashCommandNumberOption | Omit | Omit | ((builder: SlashCommandNumberOption) => SlashCommandNumberOption | Omit | Omit)): ShouldOmitSubcommandFunctions extends true ? Omit : this; + private _sharedAddOptionMethod; +} + +/** + * Represents a folder for subcommands + * + * For more information, go to https://discord.com/developers/docs/interactions/application-commands#subcommands-and-subcommand-groups + */ +declare class SlashCommandSubcommandGroupBuilder implements ToAPIApplicationCommandOptions { + /** + * The name of this subcommand group + */ + readonly name: string; + /** + * The description of this subcommand group + */ + readonly description: string; + /** + * The subcommands part of this subcommand group + */ + readonly options: SlashCommandSubcommandBuilder[]; + /** + * Adds a new subcommand to this group + * + * @param input - A function that returns a subcommand builder, or an already built builder + */ + addSubcommand(input: SlashCommandSubcommandBuilder | ((subcommandGroup: SlashCommandSubcommandBuilder) => SlashCommandSubcommandBuilder)): this; + toJSON(): APIApplicationCommandSubcommandGroupOption; +} +interface SlashCommandSubcommandGroupBuilder extends SharedNameAndDescription { +} +/** + * Represents a subcommand + * + * For more information, go to https://discord.com/developers/docs/interactions/application-commands#subcommands-and-subcommand-groups + */ +declare class SlashCommandSubcommandBuilder implements ToAPIApplicationCommandOptions { + /** + * The name of this subcommand + */ + readonly name: string; + /** + * The description of this subcommand + */ + readonly description: string; + /** + * The options of this subcommand + */ + readonly options: ApplicationCommandOptionBase[]; + toJSON(): APIApplicationCommandSubcommandOption; +} +interface SlashCommandSubcommandBuilder extends SharedNameAndDescription, SharedSlashCommandOptions { +} + +declare class SlashCommandBuilder { + /** + * The name of this slash command + */ + readonly name: string; + /** + * The localized names for this command + */ + readonly name_localizations?: LocalizationMap; + /** + * The description of this slash command + */ + readonly description: string; + /** + * The localized descriptions for this command + */ + readonly description_localizations?: LocalizationMap; + /** + * The options of this slash command + */ + readonly options: ToAPIApplicationCommandOptions[]; + /** + * Whether the command is enabled by default when the app is added to a guild + * + * @deprecated This property is deprecated and will be removed in the future. + * You should use `setDefaultMemberPermissions` or `setDMPermission` instead. + */ + readonly default_permission: boolean | undefined; + /** + * Set of permissions represented as a bit set for the command + */ + readonly default_member_permissions: Permissions | null | undefined; + /** + * Indicates whether the command is available in DMs with the application, only for globally-scoped commands. + * By default, commands are visible. + */ + readonly dm_permission: boolean | undefined; + /** + * Returns the final data that should be sent to Discord. + * + * **Note:** Calling this function will validate required properties based on their conditions. + */ + toJSON(): RESTPostAPIApplicationCommandsJSONBody; + /** + * Sets whether the command is enabled by default when the application is added to a guild. + * + * **Note**: If set to `false`, you will have to later `PUT` the permissions for this command. + * + * @param value - Whether or not to enable this command by default + * + * @see https://discord.com/developers/docs/interactions/application-commands#permissions + * @deprecated Use `setDefaultMemberPermissions` or `setDMPermission` instead. + */ + setDefaultPermission(value: boolean): this; + /** + * Sets the default permissions a member should have in order to run the command. + * + * **Note:** You can set this to `'0'` to disable the command by default. + * + * @param permissions - The permissions bit field to set + * + * @see https://discord.com/developers/docs/interactions/application-commands#permissions + */ + setDefaultMemberPermissions(permissions: Permissions | bigint | number | null | undefined): this; + /** + * Sets if the command is available in DMs with the application, only for globally-scoped commands. + * By default, commands are visible. + * + * @param enabled - If the command should be enabled in DMs + * + * @see https://discord.com/developers/docs/interactions/application-commands#permissions + */ + setDMPermission(enabled: boolean | null | undefined): this; + /** + * Adds a new subcommand group to this command + * + * @param input - A function that returns a subcommand group builder, or an already built builder + */ + addSubcommandGroup(input: SlashCommandSubcommandGroupBuilder | ((subcommandGroup: SlashCommandSubcommandGroupBuilder) => SlashCommandSubcommandGroupBuilder)): SlashCommandSubcommandsOnlyBuilder; + /** + * Adds a new subcommand to this command + * + * @param input - A function that returns a subcommand builder, or an already built builder + */ + addSubcommand(input: SlashCommandSubcommandBuilder | ((subcommandGroup: SlashCommandSubcommandBuilder) => SlashCommandSubcommandBuilder)): SlashCommandSubcommandsOnlyBuilder; +} +interface SlashCommandBuilder extends SharedNameAndDescription, SharedSlashCommandOptions { +} +interface SlashCommandSubcommandsOnlyBuilder extends SharedNameAndDescription, Pick { +} +interface SlashCommandOptionsOnlyBuilder extends SharedNameAndDescription, SharedSlashCommandOptions, Pick { +} +interface ToAPIApplicationCommandOptions { + toJSON: () => APIApplicationCommandOption; +} + +declare function validateName$1(name: unknown): asserts name is string; +declare function validateDescription(description: unknown): asserts description is string; +declare function validateLocale(locale: unknown): Locale; +declare function validateMaxOptionsLength(options: unknown): asserts options is ToAPIApplicationCommandOptions[]; +declare function validateRequiredParameters$1(name: string, description: string, options: ToAPIApplicationCommandOptions[]): void; +declare function validateDefaultPermission$1(value: unknown): asserts value is boolean; +declare function validateRequired(required: unknown): asserts required is boolean; +declare function validateChoicesLength(amountAdding: number, choices?: APIApplicationCommandOptionChoice[]): void; +declare function assertReturnOfBuilder(input: unknown, ExpectedInstanceOf: new () => T): asserts input is T; +declare const localizationMapPredicate: _sapphire_shapeshift.UnionValidator<_sapphire_shapeshift.UndefinedToOptional>> | null | undefined>; +declare function validateLocalizationMap(value: unknown): asserts value is LocalizationMap; +declare function validateDMPermission$1(value: unknown): asserts value is boolean | null | undefined; +declare function validateDefaultMemberPermissions$1(permissions: unknown): string | null | undefined; + +declare const Assertions$1_validateDescription: typeof validateDescription; +declare const Assertions$1_validateLocale: typeof validateLocale; +declare const Assertions$1_validateMaxOptionsLength: typeof validateMaxOptionsLength; +declare const Assertions$1_validateRequired: typeof validateRequired; +declare const Assertions$1_validateChoicesLength: typeof validateChoicesLength; +declare const Assertions$1_assertReturnOfBuilder: typeof assertReturnOfBuilder; +declare const Assertions$1_localizationMapPredicate: typeof localizationMapPredicate; +declare const Assertions$1_validateLocalizationMap: typeof validateLocalizationMap; +declare namespace Assertions$1 { + export { + validateName$1 as validateName, + Assertions$1_validateDescription as validateDescription, + Assertions$1_validateLocale as validateLocale, + Assertions$1_validateMaxOptionsLength as validateMaxOptionsLength, + validateRequiredParameters$1 as validateRequiredParameters, + validateDefaultPermission$1 as validateDefaultPermission, + Assertions$1_validateRequired as validateRequired, + Assertions$1_validateChoicesLength as validateChoicesLength, + Assertions$1_assertReturnOfBuilder as assertReturnOfBuilder, + Assertions$1_localizationMapPredicate as localizationMapPredicate, + Assertions$1_validateLocalizationMap as validateLocalizationMap, + validateDMPermission$1 as validateDMPermission, + validateDefaultMemberPermissions$1 as validateDefaultMemberPermissions, + }; +} + +declare class ContextMenuCommandBuilder { + /** + * The name of this context menu command + */ + readonly name: string; + /** + * The localized names for this command + */ + readonly name_localizations?: LocalizationMap; + /** + * The type of this context menu command + */ + readonly type: ContextMenuCommandType; + /** + * Whether the command is enabled by default when the app is added to a guild + * + * @deprecated This property is deprecated and will be removed in the future. + * You should use `setDefaultMemberPermissions` or `setDMPermission` instead. + */ + readonly default_permission: boolean | undefined; + /** + * Set of permissions represented as a bit set for the command + */ + readonly default_member_permissions: Permissions | null | undefined; + /** + * Indicates whether the command is available in DMs with the application, only for globally-scoped commands. + * By default, commands are visible. + */ + readonly dm_permission: boolean | undefined; + /** + * Sets the name + * + * @param name - The name + */ + setName(name: string): this; + /** + * Sets the type + * + * @param type - The type + */ + setType(type: ContextMenuCommandType): this; + /** + * Sets whether the command is enabled by default when the application is added to a guild. + * + * **Note**: If set to `false`, you will have to later `PUT` the permissions for this command. + * + * @param value - Whether or not to enable this command by default + * + * @see https://discord.com/developers/docs/interactions/application-commands#permissions + * @deprecated Use `setDefaultMemberPermissions` or `setDMPermission` instead. + */ + setDefaultPermission(value: boolean): this; + /** + * Sets the default permissions a member should have in order to run the command. + * + * **Note:** You can set this to `'0'` to disable the command by default. + * + * @param permissions - The permissions bit field to set + * + * @see https://discord.com/developers/docs/interactions/application-commands#permissions + */ + setDefaultMemberPermissions(permissions: Permissions | bigint | number | null | undefined): this; + /** + * Sets if the command is available in DMs with the application, only for globally-scoped commands. + * By default, commands are visible. + * + * @param enabled - If the command should be enabled in DMs + * + * @see https://discord.com/developers/docs/interactions/application-commands#permissions + */ + setDMPermission(enabled: boolean | null | undefined): this; + /** + * Sets a name localization + * + * @param locale - The locale to set a description for + * @param localizedName - The localized description for the given locale + */ + setNameLocalization(locale: LocaleString, localizedName: string | null): this; + /** + * Sets the name localizations + * + * @param localizedNames - The dictionary of localized descriptions to set + */ + setNameLocalizations(localizedNames: LocalizationMap | null): this; + /** + * Returns the final data that should be sent to Discord. + * + * **Note:** Calling this function will validate required properties based on their conditions. + */ + toJSON(): RESTPostAPIApplicationCommandsJSONBody; +} +declare type ContextMenuCommandType = ApplicationCommandType.User | ApplicationCommandType.Message; + +declare function validateDefaultPermission(value: unknown): asserts value is boolean; +declare function validateName(name: unknown): asserts name is string; +declare function validateType(type: unknown): asserts type is ContextMenuCommandType; +declare function validateRequiredParameters(name: string, type: number): void; +declare function validateDMPermission(value: unknown): asserts value is boolean | null | undefined; +declare function validateDefaultMemberPermissions(permissions: unknown): string | null | undefined; + +declare const Assertions_validateDefaultPermission: typeof validateDefaultPermission; +declare const Assertions_validateName: typeof validateName; +declare const Assertions_validateType: typeof validateType; +declare const Assertions_validateRequiredParameters: typeof validateRequiredParameters; +declare const Assertions_validateDMPermission: typeof validateDMPermission; +declare const Assertions_validateDefaultMemberPermissions: typeof validateDefaultMemberPermissions; +declare namespace Assertions { + export { + Assertions_validateDefaultPermission as validateDefaultPermission, + Assertions_validateName as validateName, + Assertions_validateType as validateType, + Assertions_validateRequiredParameters as validateRequiredParameters, + Assertions_validateDMPermission as validateDMPermission, + Assertions_validateDefaultMemberPermissions as validateDefaultMemberPermissions, + }; +} + +interface Equatable { + /** + * Whether or not this is equal to another structure + */ + equals: (other: T) => boolean; +} +/** + * Indicates if an object is equatable or not. + * @param maybeEquatable - The object to check against + */ +declare function isEquatable(maybeEquatable: unknown): maybeEquatable is Equatable; + +declare function embedLength(data: APIEmbed): number; + +declare const enableValidators: () => boolean; +declare const disableValidators: () => boolean; +declare const isValidationEnabled: () => boolean; + +export { ActionRowBuilder, AnyAPIActionRowComponent, AnyComponentBuilder, ApplicationCommandNumericOptionMinMaxValueMixin, ApplicationCommandOptionAllowedChannelTypes, ApplicationCommandOptionBase, ApplicationCommandOptionChannelTypesMixin, ApplicationCommandOptionWithChoicesAndAutocompleteMixin, ButtonBuilder, Assertions$4 as ComponentAssertions, ComponentBuilder, Assertions as ContextMenuCommandAssertions, ContextMenuCommandBuilder, ContextMenuCommandType, Assertions$5 as EmbedAssertions, EmbedAuthorData, EmbedAuthorOptions, EmbedBuilder, EmbedFooterData, EmbedFooterOptions, EmbedImageData, Equatable, Faces, IconData, JSONEncodable, MappedComponentTypes, MessageActionRowComponentBuilder, MessageComponentBuilder, ModalActionRowComponentBuilder, Assertions$2 as ModalAssertions, ModalBuilder, ModalComponentBuilder, RGBTuple, RestOrArray, SelectMenuBuilder, SelectMenuOptionBuilder, SharedNameAndDescription, SharedSlashCommandOptions, Assertions$1 as SlashCommandAssertions, SlashCommandAttachmentOption, SlashCommandBooleanOption, SlashCommandBuilder, SlashCommandChannelOption, SlashCommandIntegerOption, SlashCommandMentionableOption, SlashCommandNumberOption, SlashCommandOptionsOnlyBuilder, SlashCommandRoleOption, SlashCommandStringOption, SlashCommandSubcommandBuilder, SlashCommandSubcommandGroupBuilder, SlashCommandSubcommandsOnlyBuilder, SlashCommandUserOption, Assertions$3 as TextInputAssertions, TextInputBuilder, TimestampStyles, TimestampStylesString, ToAPIApplicationCommandOptions, blockQuote, bold, channelMention, codeBlock, createComponentBuilder, disableValidators, embedLength, enableValidators, formatEmoji, hideLinkEmbed, hyperlink, inlineCode, isEquatable, isJSONEncodable, isValidationEnabled, italic, normalizeArray, quote, roleMention, spoiler, strikethrough, time, underscore, userMention }; diff --git a/node_modules/@discordjs/builders/dist/index.js b/node_modules/@discordjs/builders/dist/index.js new file mode 100644 index 0000000..11dc178 --- /dev/null +++ b/node_modules/@discordjs/builders/dist/index.js @@ -0,0 +1,1557 @@ +"use strict"; +"use strict"; +var __create = Object.create; +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __getProtoOf = Object.getPrototypeOf; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod)); +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); +var __decorateClass = (decorators, target, key, kind) => { + var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target; + for (var i = decorators.length - 1, decorator; i >= 0; i--) + if (decorator = decorators[i]) + result = (kind ? decorator(target, key, result) : decorator(result)) || result; + if (kind && result) + __defProp(target, key, result); + return result; +}; +var __publicField = (obj, key, value) => { + __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); + return value; +}; + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + ActionRowBuilder: () => ActionRowBuilder, + ApplicationCommandNumericOptionMinMaxValueMixin: () => ApplicationCommandNumericOptionMinMaxValueMixin, + ApplicationCommandOptionBase: () => ApplicationCommandOptionBase, + ApplicationCommandOptionChannelTypesMixin: () => ApplicationCommandOptionChannelTypesMixin, + ApplicationCommandOptionWithChoicesAndAutocompleteMixin: () => ApplicationCommandOptionWithChoicesAndAutocompleteMixin, + ButtonBuilder: () => ButtonBuilder, + ComponentAssertions: () => Assertions_exports2, + ComponentBuilder: () => ComponentBuilder, + ContextMenuCommandAssertions: () => Assertions_exports6, + ContextMenuCommandBuilder: () => ContextMenuCommandBuilder, + EmbedAssertions: () => Assertions_exports, + EmbedBuilder: () => EmbedBuilder, + Faces: () => Faces, + ModalAssertions: () => Assertions_exports4, + ModalBuilder: () => ModalBuilder, + SelectMenuBuilder: () => SelectMenuBuilder, + SelectMenuOptionBuilder: () => SelectMenuOptionBuilder, + SharedNameAndDescription: () => SharedNameAndDescription, + SharedSlashCommandOptions: () => SharedSlashCommandOptions, + SlashCommandAssertions: () => Assertions_exports5, + SlashCommandAttachmentOption: () => SlashCommandAttachmentOption, + SlashCommandBooleanOption: () => SlashCommandBooleanOption, + SlashCommandBuilder: () => SlashCommandBuilder, + SlashCommandChannelOption: () => SlashCommandChannelOption, + SlashCommandIntegerOption: () => SlashCommandIntegerOption, + SlashCommandMentionableOption: () => SlashCommandMentionableOption, + SlashCommandNumberOption: () => SlashCommandNumberOption, + SlashCommandRoleOption: () => SlashCommandRoleOption, + SlashCommandStringOption: () => SlashCommandStringOption, + SlashCommandSubcommandBuilder: () => SlashCommandSubcommandBuilder, + SlashCommandSubcommandGroupBuilder: () => SlashCommandSubcommandGroupBuilder, + SlashCommandUserOption: () => SlashCommandUserOption, + TextInputAssertions: () => Assertions_exports3, + TextInputBuilder: () => TextInputBuilder, + TimestampStyles: () => TimestampStyles, + blockQuote: () => blockQuote, + bold: () => bold, + channelMention: () => channelMention, + codeBlock: () => codeBlock, + createComponentBuilder: () => createComponentBuilder, + disableValidators: () => disableValidators, + embedLength: () => embedLength, + enableValidators: () => enableValidators, + formatEmoji: () => formatEmoji, + hideLinkEmbed: () => hideLinkEmbed, + hyperlink: () => hyperlink, + inlineCode: () => inlineCode, + isEquatable: () => isEquatable, + isJSONEncodable: () => isJSONEncodable, + isValidationEnabled: () => isValidationEnabled, + italic: () => italic, + normalizeArray: () => normalizeArray, + quote: () => quote, + roleMention: () => roleMention, + spoiler: () => spoiler, + strikethrough: () => strikethrough, + time: () => time, + underscore: () => underscore, + userMention: () => userMention +}); +module.exports = __toCommonJS(src_exports); + +// src/messages/embed/Assertions.ts +var Assertions_exports = {}; +__export(Assertions_exports, { + RGBPredicate: () => RGBPredicate, + authorNamePredicate: () => authorNamePredicate, + colorPredicate: () => colorPredicate, + descriptionPredicate: () => descriptionPredicate, + embedAuthorPredicate: () => embedAuthorPredicate, + embedFieldPredicate: () => embedFieldPredicate, + embedFieldsArrayPredicate: () => embedFieldsArrayPredicate, + embedFooterPredicate: () => embedFooterPredicate, + fieldInlinePredicate: () => fieldInlinePredicate, + fieldLengthPredicate: () => fieldLengthPredicate, + fieldNamePredicate: () => fieldNamePredicate, + fieldValuePredicate: () => fieldValuePredicate, + footerTextPredicate: () => footerTextPredicate, + imageURLPredicate: () => imageURLPredicate, + timestampPredicate: () => timestampPredicate, + titlePredicate: () => titlePredicate, + urlPredicate: () => urlPredicate, + validateFieldLength: () => validateFieldLength +}); +var import_shapeshift = require("@sapphire/shapeshift"); + +// src/util/validation.ts +var validate = true; +var enableValidators = /* @__PURE__ */ __name(() => validate = true, "enableValidators"); +var disableValidators = /* @__PURE__ */ __name(() => validate = false, "disableValidators"); +var isValidationEnabled = /* @__PURE__ */ __name(() => validate, "isValidationEnabled"); + +// src/messages/embed/Assertions.ts +var fieldNamePredicate = import_shapeshift.s.string.lengthGreaterThanOrEqual(1).lengthLessThanOrEqual(256).setValidationEnabled(isValidationEnabled); +var fieldValuePredicate = import_shapeshift.s.string.lengthGreaterThanOrEqual(1).lengthLessThanOrEqual(1024).setValidationEnabled(isValidationEnabled); +var fieldInlinePredicate = import_shapeshift.s.boolean.optional; +var embedFieldPredicate = import_shapeshift.s.object({ + name: fieldNamePredicate, + value: fieldValuePredicate, + inline: fieldInlinePredicate +}).setValidationEnabled(isValidationEnabled); +var embedFieldsArrayPredicate = embedFieldPredicate.array.setValidationEnabled(isValidationEnabled); +var fieldLengthPredicate = import_shapeshift.s.number.lessThanOrEqual(25).setValidationEnabled(isValidationEnabled); +function validateFieldLength(amountAdding, fields) { + fieldLengthPredicate.parse((fields?.length ?? 0) + amountAdding); +} +__name(validateFieldLength, "validateFieldLength"); +var authorNamePredicate = fieldNamePredicate.nullable.setValidationEnabled(isValidationEnabled); +var imageURLPredicate = import_shapeshift.s.string.url({ + allowedProtocols: ["http:", "https:", "attachment:"] +}).nullish.setValidationEnabled(isValidationEnabled); +var urlPredicate = import_shapeshift.s.string.url({ + allowedProtocols: ["http:", "https:"] +}).nullish.setValidationEnabled(isValidationEnabled); +var embedAuthorPredicate = import_shapeshift.s.object({ + name: authorNamePredicate, + iconURL: imageURLPredicate, + url: urlPredicate +}).setValidationEnabled(isValidationEnabled); +var RGBPredicate = import_shapeshift.s.number.int.greaterThanOrEqual(0).lessThanOrEqual(255).setValidationEnabled(isValidationEnabled); +var colorPredicate = import_shapeshift.s.number.int.greaterThanOrEqual(0).lessThanOrEqual(16777215).or(import_shapeshift.s.tuple([RGBPredicate, RGBPredicate, RGBPredicate])).nullable.setValidationEnabled(isValidationEnabled); +var descriptionPredicate = import_shapeshift.s.string.lengthGreaterThanOrEqual(1).lengthLessThanOrEqual(4096).nullable.setValidationEnabled(isValidationEnabled); +var footerTextPredicate = import_shapeshift.s.string.lengthGreaterThanOrEqual(1).lengthLessThanOrEqual(2048).nullable.setValidationEnabled(isValidationEnabled); +var embedFooterPredicate = import_shapeshift.s.object({ + text: footerTextPredicate, + iconURL: imageURLPredicate +}).setValidationEnabled(isValidationEnabled); +var timestampPredicate = import_shapeshift.s.union(import_shapeshift.s.number, import_shapeshift.s.date).nullable.setValidationEnabled(isValidationEnabled); +var titlePredicate = fieldNamePredicate.nullable.setValidationEnabled(isValidationEnabled); + +// src/util/normalizeArray.ts +function normalizeArray(arr) { + if (Array.isArray(arr[0])) + return arr[0]; + return arr; +} +__name(normalizeArray, "normalizeArray"); + +// src/messages/embed/Embed.ts +var EmbedBuilder = class { + constructor(data = {}) { + __publicField(this, "data"); + this.data = { ...data }; + if (data.timestamp) + this.data.timestamp = new Date(data.timestamp).toISOString(); + } + addFields(...fields) { + fields = normalizeArray(fields); + validateFieldLength(fields.length, this.data.fields); + embedFieldsArrayPredicate.parse(fields); + if (this.data.fields) + this.data.fields.push(...fields); + else + this.data.fields = fields; + return this; + } + spliceFields(index, deleteCount, ...fields) { + validateFieldLength(fields.length - deleteCount, this.data.fields); + embedFieldsArrayPredicate.parse(fields); + if (this.data.fields) + this.data.fields.splice(index, deleteCount, ...fields); + else + this.data.fields = fields; + return this; + } + setFields(...fields) { + this.spliceFields(0, this.data.fields?.length ?? 0, ...normalizeArray(fields)); + return this; + } + setAuthor(options) { + if (options === null) { + this.data.author = void 0; + return this; + } + embedAuthorPredicate.parse(options); + this.data.author = { name: options.name, url: options.url, icon_url: options.iconURL }; + return this; + } + setColor(color) { + colorPredicate.parse(color); + if (Array.isArray(color)) { + const [red, green, blue] = color; + this.data.color = (red << 16) + (green << 8) + blue; + return this; + } + this.data.color = color ?? void 0; + return this; + } + setDescription(description) { + descriptionPredicate.parse(description); + this.data.description = description ?? void 0; + return this; + } + setFooter(options) { + if (options === null) { + this.data.footer = void 0; + return this; + } + embedFooterPredicate.parse(options); + this.data.footer = { text: options.text, icon_url: options.iconURL }; + return this; + } + setImage(url) { + imageURLPredicate.parse(url); + this.data.image = url ? { url } : void 0; + return this; + } + setThumbnail(url) { + imageURLPredicate.parse(url); + this.data.thumbnail = url ? { url } : void 0; + return this; + } + setTimestamp(timestamp = Date.now()) { + timestampPredicate.parse(timestamp); + this.data.timestamp = timestamp ? new Date(timestamp).toISOString() : void 0; + return this; + } + setTitle(title) { + titlePredicate.parse(title); + this.data.title = title ?? void 0; + return this; + } + setURL(url) { + urlPredicate.parse(url); + this.data.url = url ?? void 0; + return this; + } + toJSON() { + return { ...this.data }; + } +}; +__name(EmbedBuilder, "EmbedBuilder"); + +// src/messages/formatters.ts +function codeBlock(language, content) { + return typeof content === "undefined" ? `\`\`\` +${language}\`\`\`` : `\`\`\`${language} +${content}\`\`\``; +} +__name(codeBlock, "codeBlock"); +function inlineCode(content) { + return `\`${content}\``; +} +__name(inlineCode, "inlineCode"); +function italic(content) { + return `_${content}_`; +} +__name(italic, "italic"); +function bold(content) { + return `**${content}**`; +} +__name(bold, "bold"); +function underscore(content) { + return `__${content}__`; +} +__name(underscore, "underscore"); +function strikethrough(content) { + return `~~${content}~~`; +} +__name(strikethrough, "strikethrough"); +function quote(content) { + return `> ${content}`; +} +__name(quote, "quote"); +function blockQuote(content) { + return `>>> ${content}`; +} +__name(blockQuote, "blockQuote"); +function hideLinkEmbed(url) { + return `<${url}>`; +} +__name(hideLinkEmbed, "hideLinkEmbed"); +function hyperlink(content, url, title) { + return title ? `[${content}](${url} "${title}")` : `[${content}](${url})`; +} +__name(hyperlink, "hyperlink"); +function spoiler(content) { + return `||${content}||`; +} +__name(spoiler, "spoiler"); +function userMention(userId) { + return `<@${userId}>`; +} +__name(userMention, "userMention"); +function channelMention(channelId) { + return `<#${channelId}>`; +} +__name(channelMention, "channelMention"); +function roleMention(roleId) { + return `<@&${roleId}>`; +} +__name(roleMention, "roleMention"); +function formatEmoji(emojiId, animated = false) { + return `<${animated ? "a" : ""}:_:${emojiId}>`; +} +__name(formatEmoji, "formatEmoji"); +function time(timeOrSeconds, style) { + if (typeof timeOrSeconds !== "number") { + timeOrSeconds = Math.floor((timeOrSeconds?.getTime() ?? Date.now()) / 1e3); + } + return typeof style === "string" ? `` : ``; +} +__name(time, "time"); +var TimestampStyles = { + ShortTime: "t", + LongTime: "T", + ShortDate: "d", + LongDate: "D", + ShortDateTime: "f", + LongDateTime: "F", + RelativeTime: "R" +}; +var Faces = /* @__PURE__ */ ((Faces2) => { + Faces2["Shrug"] = "\xAF\\_(\u30C4)\\_/\xAF"; + Faces2["Tableflip"] = "(\u256F\xB0\u25A1\xB0\uFF09\u256F\uFE35 \u253B\u2501\u253B"; + Faces2["Unflip"] = "\u252C\u2500\u252C \u30CE( \u309C-\u309C\u30CE)"; + return Faces2; +})(Faces || {}); + +// src/components/Assertions.ts +var Assertions_exports2 = {}; +__export(Assertions_exports2, { + buttonLabelValidator: () => buttonLabelValidator, + buttonStyleValidator: () => buttonStyleValidator, + customIdValidator: () => customIdValidator, + defaultValidator: () => defaultValidator, + disabledValidator: () => disabledValidator, + emojiValidator: () => emojiValidator, + labelValueDescriptionValidator: () => labelValueDescriptionValidator, + minMaxValidator: () => minMaxValidator, + optionValidator: () => optionValidator, + optionsLengthValidator: () => optionsLengthValidator, + optionsValidator: () => optionsValidator, + placeholderValidator: () => placeholderValidator, + urlValidator: () => urlValidator, + validateRequiredButtonParameters: () => validateRequiredButtonParameters, + validateRequiredSelectMenuOptionParameters: () => validateRequiredSelectMenuOptionParameters, + validateRequiredSelectMenuParameters: () => validateRequiredSelectMenuParameters +}); +var import_shapeshift2 = require("@sapphire/shapeshift"); +var import_v10 = require("discord-api-types/v10"); + +// src/components/selectMenu/SelectMenuOption.ts +var SelectMenuOptionBuilder = class { + constructor(data = {}) { + this.data = data; + } + setLabel(label) { + this.data.label = labelValueDescriptionValidator.parse(label); + return this; + } + setValue(value) { + this.data.value = labelValueDescriptionValidator.parse(value); + return this; + } + setDescription(description) { + this.data.description = labelValueDescriptionValidator.parse(description); + return this; + } + setDefault(isDefault = true) { + this.data.default = defaultValidator.parse(isDefault); + return this; + } + setEmoji(emoji) { + this.data.emoji = emojiValidator.parse(emoji); + return this; + } + toJSON() { + validateRequiredSelectMenuOptionParameters(this.data.label, this.data.value); + return { + ...this.data + }; + } +}; +__name(SelectMenuOptionBuilder, "SelectMenuOptionBuilder"); + +// src/components/Assertions.ts +var customIdValidator = import_shapeshift2.s.string.lengthGreaterThanOrEqual(1).lengthLessThanOrEqual(100).setValidationEnabled(isValidationEnabled); +var emojiValidator = import_shapeshift2.s.object({ + id: import_shapeshift2.s.string, + name: import_shapeshift2.s.string, + animated: import_shapeshift2.s.boolean +}).partial.strict.setValidationEnabled(isValidationEnabled); +var disabledValidator = import_shapeshift2.s.boolean; +var buttonLabelValidator = import_shapeshift2.s.string.lengthGreaterThanOrEqual(1).lengthLessThanOrEqual(80).setValidationEnabled(isValidationEnabled); +var buttonStyleValidator = import_shapeshift2.s.nativeEnum(import_v10.ButtonStyle); +var placeholderValidator = import_shapeshift2.s.string.lengthLessThanOrEqual(150).setValidationEnabled(isValidationEnabled); +var minMaxValidator = import_shapeshift2.s.number.int.greaterThanOrEqual(0).lessThanOrEqual(25).setValidationEnabled(isValidationEnabled); +var labelValueDescriptionValidator = import_shapeshift2.s.string.lengthGreaterThanOrEqual(1).lengthLessThanOrEqual(100).setValidationEnabled(isValidationEnabled); +var optionValidator = import_shapeshift2.s.union(import_shapeshift2.s.object({ + label: labelValueDescriptionValidator, + value: labelValueDescriptionValidator, + description: labelValueDescriptionValidator.optional, + emoji: emojiValidator.optional, + default: import_shapeshift2.s.boolean.optional +}), import_shapeshift2.s.instance(SelectMenuOptionBuilder)).setValidationEnabled(isValidationEnabled); +var optionsValidator = optionValidator.array.lengthGreaterThanOrEqual(0).setValidationEnabled(isValidationEnabled); +var optionsLengthValidator = import_shapeshift2.s.number.int.greaterThanOrEqual(0).lessThanOrEqual(25).setValidationEnabled(isValidationEnabled); +function validateRequiredSelectMenuParameters(options, customId) { + customIdValidator.parse(customId); + optionsValidator.parse(options); +} +__name(validateRequiredSelectMenuParameters, "validateRequiredSelectMenuParameters"); +var defaultValidator = import_shapeshift2.s.boolean; +function validateRequiredSelectMenuOptionParameters(label, value) { + labelValueDescriptionValidator.parse(label); + labelValueDescriptionValidator.parse(value); +} +__name(validateRequiredSelectMenuOptionParameters, "validateRequiredSelectMenuOptionParameters"); +var urlValidator = import_shapeshift2.s.string.url({ + allowedProtocols: ["http:", "https:", "discord:"] +}).setValidationEnabled(isValidationEnabled); +function validateRequiredButtonParameters(style, label, emoji, customId, url) { + if (url && customId) { + throw new RangeError("URL and custom id are mutually exclusive"); + } + if (!label && !emoji) { + throw new RangeError("Buttons must have a label and/or an emoji"); + } + if (style === import_v10.ButtonStyle.Link) { + if (!url) { + throw new RangeError("Link buttons must have a url"); + } + } else if (url) { + throw new RangeError("Non-link buttons cannot have a url"); + } +} +__name(validateRequiredButtonParameters, "validateRequiredButtonParameters"); + +// src/components/ActionRow.ts +var import_v107 = require("discord-api-types/v10"); + +// src/components/Component.ts +var ComponentBuilder = class { + constructor(data) { + __publicField(this, "data"); + this.data = data; + } +}; +__name(ComponentBuilder, "ComponentBuilder"); + +// src/components/Components.ts +var import_v106 = require("discord-api-types/v10"); + +// src/components/button/Button.ts +var import_v102 = require("discord-api-types/v10"); +var ButtonBuilder = class extends ComponentBuilder { + constructor(data) { + super({ type: import_v102.ComponentType.Button, ...data }); + } + setStyle(style) { + this.data.style = buttonStyleValidator.parse(style); + return this; + } + setURL(url) { + this.data.url = urlValidator.parse(url); + return this; + } + setCustomId(customId) { + this.data.custom_id = customIdValidator.parse(customId); + return this; + } + setEmoji(emoji) { + this.data.emoji = emojiValidator.parse(emoji); + return this; + } + setDisabled(disabled = true) { + this.data.disabled = disabledValidator.parse(disabled); + return this; + } + setLabel(label) { + this.data.label = buttonLabelValidator.parse(label); + return this; + } + toJSON() { + validateRequiredButtonParameters(this.data.style, this.data.label, this.data.emoji, this.data.custom_id, this.data.url); + return { + ...this.data + }; + } +}; +__name(ButtonBuilder, "ButtonBuilder"); + +// src/components/selectMenu/SelectMenu.ts +var import_v103 = require("discord-api-types/v10"); +var SelectMenuBuilder = class extends ComponentBuilder { + constructor(data) { + const { options, ...initData } = data ?? {}; + super({ type: import_v103.ComponentType.SelectMenu, ...initData }); + __publicField(this, "options"); + this.options = options?.map((o) => new SelectMenuOptionBuilder(o)) ?? []; + } + setPlaceholder(placeholder) { + this.data.placeholder = placeholderValidator.parse(placeholder); + return this; + } + setMinValues(minValues) { + this.data.min_values = minMaxValidator.parse(minValues); + return this; + } + setMaxValues(maxValues) { + this.data.max_values = minMaxValidator.parse(maxValues); + return this; + } + setCustomId(customId) { + this.data.custom_id = customIdValidator.parse(customId); + return this; + } + setDisabled(disabled = true) { + this.data.disabled = disabledValidator.parse(disabled); + return this; + } + addOptions(...options) { + options = normalizeArray(options); + optionsLengthValidator.parse(this.options.length + options.length); + this.options.push(...options.map((option) => option instanceof SelectMenuOptionBuilder ? option : new SelectMenuOptionBuilder(optionValidator.parse(option)))); + return this; + } + setOptions(...options) { + options = normalizeArray(options); + optionsLengthValidator.parse(options.length); + this.options.splice(0, this.options.length, ...options.map((option) => option instanceof SelectMenuOptionBuilder ? option : new SelectMenuOptionBuilder(optionValidator.parse(option)))); + return this; + } + toJSON() { + validateRequiredSelectMenuParameters(this.options, this.data.custom_id); + return { + ...this.data, + options: this.options.map((o) => o.toJSON()) + }; + } +}; +__name(SelectMenuBuilder, "SelectMenuBuilder"); + +// src/components/textInput/TextInput.ts +var import_v105 = require("discord-api-types/v10"); +var import_fast_deep_equal = __toESM(require("fast-deep-equal")); + +// src/components/textInput/Assertions.ts +var Assertions_exports3 = {}; +__export(Assertions_exports3, { + labelValidator: () => labelValidator, + maxLengthValidator: () => maxLengthValidator, + minLengthValidator: () => minLengthValidator, + placeholderValidator: () => placeholderValidator2, + requiredValidator: () => requiredValidator, + textInputStyleValidator: () => textInputStyleValidator, + validateRequiredParameters: () => validateRequiredParameters, + valueValidator: () => valueValidator +}); +var import_shapeshift3 = require("@sapphire/shapeshift"); +var import_v104 = require("discord-api-types/v10"); +var textInputStyleValidator = import_shapeshift3.s.nativeEnum(import_v104.TextInputStyle); +var minLengthValidator = import_shapeshift3.s.number.int.greaterThanOrEqual(0).lessThanOrEqual(4e3).setValidationEnabled(isValidationEnabled); +var maxLengthValidator = import_shapeshift3.s.number.int.greaterThanOrEqual(1).lessThanOrEqual(4e3).setValidationEnabled(isValidationEnabled); +var requiredValidator = import_shapeshift3.s.boolean; +var valueValidator = import_shapeshift3.s.string.lengthLessThanOrEqual(4e3).setValidationEnabled(isValidationEnabled); +var placeholderValidator2 = import_shapeshift3.s.string.lengthLessThanOrEqual(100).setValidationEnabled(isValidationEnabled); +var labelValidator = import_shapeshift3.s.string.lengthGreaterThanOrEqual(1).lengthLessThanOrEqual(45).setValidationEnabled(isValidationEnabled); +function validateRequiredParameters(customId, style, label) { + customIdValidator.parse(customId); + textInputStyleValidator.parse(style); + labelValidator.parse(label); +} +__name(validateRequiredParameters, "validateRequiredParameters"); + +// src/util/jsonEncodable.ts +function isJSONEncodable(maybeEncodable) { + return maybeEncodable !== null && typeof maybeEncodable === "object" && "toJSON" in maybeEncodable; +} +__name(isJSONEncodable, "isJSONEncodable"); + +// src/components/textInput/TextInput.ts +var TextInputBuilder = class extends ComponentBuilder { + constructor(data) { + super({ type: import_v105.ComponentType.TextInput, ...data }); + } + setCustomId(customId) { + this.data.custom_id = customIdValidator.parse(customId); + return this; + } + setLabel(label) { + this.data.label = labelValidator.parse(label); + return this; + } + setStyle(style) { + this.data.style = textInputStyleValidator.parse(style); + return this; + } + setMinLength(minLength) { + this.data.min_length = minLengthValidator.parse(minLength); + return this; + } + setMaxLength(maxLength) { + this.data.max_length = maxLengthValidator.parse(maxLength); + return this; + } + setPlaceholder(placeholder) { + this.data.placeholder = placeholderValidator2.parse(placeholder); + return this; + } + setValue(value) { + this.data.value = valueValidator.parse(value); + return this; + } + setRequired(required = true) { + this.data.required = requiredValidator.parse(required); + return this; + } + toJSON() { + validateRequiredParameters(this.data.custom_id, this.data.style, this.data.label); + return { + ...this.data + }; + } + equals(other) { + if (isJSONEncodable(other)) { + return (0, import_fast_deep_equal.default)(other.toJSON(), this.data); + } + return (0, import_fast_deep_equal.default)(other, this.data); + } +}; +__name(TextInputBuilder, "TextInputBuilder"); + +// src/components/Components.ts +function createComponentBuilder(data) { + if (data instanceof ComponentBuilder) { + return data; + } + switch (data.type) { + case import_v106.ComponentType.ActionRow: + return new ActionRowBuilder(data); + case import_v106.ComponentType.Button: + return new ButtonBuilder(data); + case import_v106.ComponentType.SelectMenu: + return new SelectMenuBuilder(data); + case import_v106.ComponentType.TextInput: + return new TextInputBuilder(data); + default: + throw new Error(`Cannot properly serialize component type: ${data.type}`); + } +} +__name(createComponentBuilder, "createComponentBuilder"); + +// src/components/ActionRow.ts +var ActionRowBuilder = class extends ComponentBuilder { + constructor({ components, ...data } = {}) { + super({ type: import_v107.ComponentType.ActionRow, ...data }); + __publicField(this, "components"); + this.components = components?.map((c) => createComponentBuilder(c)) ?? []; + } + addComponents(...components) { + this.components.push(...normalizeArray(components)); + return this; + } + setComponents(...components) { + this.components.splice(0, this.components.length, ...normalizeArray(components)); + return this; + } + toJSON() { + return { + ...this.data, + components: this.components.map((component) => component.toJSON()) + }; + } +}; +__name(ActionRowBuilder, "ActionRowBuilder"); + +// src/interactions/modals/Assertions.ts +var Assertions_exports4 = {}; +__export(Assertions_exports4, { + componentsValidator: () => componentsValidator, + titleValidator: () => titleValidator, + validateRequiredParameters: () => validateRequiredParameters2 +}); +var import_shapeshift4 = require("@sapphire/shapeshift"); +var titleValidator = import_shapeshift4.s.string.lengthGreaterThanOrEqual(1).lengthLessThanOrEqual(45).setValidationEnabled(isValidationEnabled); +var componentsValidator = import_shapeshift4.s.instance(ActionRowBuilder).array.lengthGreaterThanOrEqual(1).setValidationEnabled(isValidationEnabled); +function validateRequiredParameters2(customId, title, components) { + customIdValidator.parse(customId); + titleValidator.parse(title); + componentsValidator.parse(components); +} +__name(validateRequiredParameters2, "validateRequiredParameters"); + +// src/interactions/modals/Modal.ts +var ModalBuilder = class { + constructor({ components, ...data } = {}) { + __publicField(this, "data"); + __publicField(this, "components", []); + this.data = { ...data }; + this.components = components?.map((c) => createComponentBuilder(c)) ?? []; + } + setTitle(title) { + this.data.title = titleValidator.parse(title); + return this; + } + setCustomId(customId) { + this.data.custom_id = customIdValidator.parse(customId); + return this; + } + addComponents(...components) { + this.components.push(...normalizeArray(components).map((component) => component instanceof ActionRowBuilder ? component : new ActionRowBuilder(component))); + return this; + } + setComponents(...components) { + this.components.splice(0, this.components.length, ...normalizeArray(components)); + return this; + } + toJSON() { + validateRequiredParameters2(this.data.custom_id, this.data.title, this.components); + return { + ...this.data, + components: this.components.map((component) => component.toJSON()) + }; + } +}; +__name(ModalBuilder, "ModalBuilder"); + +// src/interactions/slashCommands/Assertions.ts +var Assertions_exports5 = {}; +__export(Assertions_exports5, { + assertReturnOfBuilder: () => assertReturnOfBuilder, + localizationMapPredicate: () => localizationMapPredicate, + validateChoicesLength: () => validateChoicesLength, + validateDMPermission: () => validateDMPermission, + validateDefaultMemberPermissions: () => validateDefaultMemberPermissions, + validateDefaultPermission: () => validateDefaultPermission, + validateDescription: () => validateDescription, + validateLocale: () => validateLocale, + validateLocalizationMap: () => validateLocalizationMap, + validateMaxOptionsLength: () => validateMaxOptionsLength, + validateName: () => validateName, + validateRequired: () => validateRequired, + validateRequiredParameters: () => validateRequiredParameters3 +}); +var import_shapeshift5 = require("@sapphire/shapeshift"); +var import_v108 = require("discord-api-types/v10"); +var namePredicate = import_shapeshift5.s.string.lengthGreaterThanOrEqual(1).lengthLessThanOrEqual(32).regex(/^[\p{Ll}\p{Lm}\p{Lo}\p{N}\p{sc=Devanagari}\p{sc=Thai}_-]+$/u).setValidationEnabled(isValidationEnabled); +function validateName(name) { + namePredicate.parse(name); +} +__name(validateName, "validateName"); +var descriptionPredicate2 = import_shapeshift5.s.string.lengthGreaterThanOrEqual(1).lengthLessThanOrEqual(100).setValidationEnabled(isValidationEnabled); +var localePredicate = import_shapeshift5.s.nativeEnum(import_v108.Locale); +function validateDescription(description) { + descriptionPredicate2.parse(description); +} +__name(validateDescription, "validateDescription"); +var maxArrayLengthPredicate = import_shapeshift5.s.unknown.array.lengthLessThanOrEqual(25).setValidationEnabled(isValidationEnabled); +function validateLocale(locale) { + return localePredicate.parse(locale); +} +__name(validateLocale, "validateLocale"); +function validateMaxOptionsLength(options) { + maxArrayLengthPredicate.parse(options); +} +__name(validateMaxOptionsLength, "validateMaxOptionsLength"); +function validateRequiredParameters3(name, description, options) { + validateName(name); + validateDescription(description); + validateMaxOptionsLength(options); +} +__name(validateRequiredParameters3, "validateRequiredParameters"); +var booleanPredicate = import_shapeshift5.s.boolean; +function validateDefaultPermission(value) { + booleanPredicate.parse(value); +} +__name(validateDefaultPermission, "validateDefaultPermission"); +function validateRequired(required) { + booleanPredicate.parse(required); +} +__name(validateRequired, "validateRequired"); +var choicesLengthPredicate = import_shapeshift5.s.number.lessThanOrEqual(25).setValidationEnabled(isValidationEnabled); +function validateChoicesLength(amountAdding, choices) { + choicesLengthPredicate.parse((choices?.length ?? 0) + amountAdding); +} +__name(validateChoicesLength, "validateChoicesLength"); +function assertReturnOfBuilder(input, ExpectedInstanceOf) { + import_shapeshift5.s.instance(ExpectedInstanceOf).parse(input); +} +__name(assertReturnOfBuilder, "assertReturnOfBuilder"); +var localizationMapPredicate = import_shapeshift5.s.object(Object.fromEntries(Object.values(import_v108.Locale).map((locale) => [locale, import_shapeshift5.s.string.nullish]))).strict.nullish.setValidationEnabled(isValidationEnabled); +function validateLocalizationMap(value) { + localizationMapPredicate.parse(value); +} +__name(validateLocalizationMap, "validateLocalizationMap"); +var dmPermissionPredicate = import_shapeshift5.s.boolean.nullish; +function validateDMPermission(value) { + dmPermissionPredicate.parse(value); +} +__name(validateDMPermission, "validateDMPermission"); +var memberPermissionPredicate = import_shapeshift5.s.union(import_shapeshift5.s.bigint.transform((value) => value.toString()), import_shapeshift5.s.number.safeInt.transform((value) => value.toString()), import_shapeshift5.s.string.regex(/^\d+$/)).nullish; +function validateDefaultMemberPermissions(permissions) { + return memberPermissionPredicate.parse(permissions); +} +__name(validateDefaultMemberPermissions, "validateDefaultMemberPermissions"); + +// src/interactions/slashCommands/SlashCommandBuilder.ts +var import_ts_mixer6 = require("ts-mixer"); + +// src/interactions/slashCommands/SlashCommandSubcommands.ts +var import_v1020 = require("discord-api-types/v10"); +var import_ts_mixer5 = require("ts-mixer"); + +// src/interactions/slashCommands/mixins/NameAndDescription.ts +var SharedNameAndDescription = class { + constructor() { + __publicField(this, "name"); + __publicField(this, "name_localizations"); + __publicField(this, "description"); + __publicField(this, "description_localizations"); + } + setName(name) { + validateName(name); + Reflect.set(this, "name", name); + return this; + } + setDescription(description) { + validateDescription(description); + Reflect.set(this, "description", description); + return this; + } + setNameLocalization(locale, localizedName) { + if (!this.name_localizations) { + Reflect.set(this, "name_localizations", {}); + } + const parsedLocale = validateLocale(locale); + if (localizedName === null) { + this.name_localizations[parsedLocale] = null; + return this; + } + validateName(localizedName); + this.name_localizations[parsedLocale] = localizedName; + return this; + } + setNameLocalizations(localizedNames) { + if (localizedNames === null) { + Reflect.set(this, "name_localizations", null); + return this; + } + Reflect.set(this, "name_localizations", {}); + Object.entries(localizedNames).forEach((args) => this.setNameLocalization(...args)); + return this; + } + setDescriptionLocalization(locale, localizedDescription) { + if (!this.description_localizations) { + Reflect.set(this, "description_localizations", {}); + } + const parsedLocale = validateLocale(locale); + if (localizedDescription === null) { + this.description_localizations[parsedLocale] = null; + return this; + } + validateDescription(localizedDescription); + this.description_localizations[parsedLocale] = localizedDescription; + return this; + } + setDescriptionLocalizations(localizedDescriptions) { + if (localizedDescriptions === null) { + Reflect.set(this, "description_localizations", null); + return this; + } + Reflect.set(this, "description_localizations", {}); + Object.entries(localizedDescriptions).forEach((args) => this.setDescriptionLocalization(...args)); + return this; + } +}; +__name(SharedNameAndDescription, "SharedNameAndDescription"); + +// src/interactions/slashCommands/options/attachment.ts +var import_v109 = require("discord-api-types/v10"); + +// src/interactions/slashCommands/mixins/ApplicationCommandOptionBase.ts +var ApplicationCommandOptionBase = class extends SharedNameAndDescription { + constructor() { + super(...arguments); + __publicField(this, "required", false); + } + setRequired(required) { + validateRequired(required); + Reflect.set(this, "required", required); + return this; + } + runRequiredValidations() { + validateRequiredParameters3(this.name, this.description, []); + validateLocalizationMap(this.name_localizations); + validateLocalizationMap(this.description_localizations); + validateRequired(this.required); + } +}; +__name(ApplicationCommandOptionBase, "ApplicationCommandOptionBase"); + +// src/interactions/slashCommands/options/attachment.ts +var SlashCommandAttachmentOption = class extends ApplicationCommandOptionBase { + constructor() { + super(...arguments); + __publicField(this, "type", import_v109.ApplicationCommandOptionType.Attachment); + } + toJSON() { + this.runRequiredValidations(); + return { ...this }; + } +}; +__name(SlashCommandAttachmentOption, "SlashCommandAttachmentOption"); + +// src/interactions/slashCommands/options/boolean.ts +var import_v1010 = require("discord-api-types/v10"); +var SlashCommandBooleanOption = class extends ApplicationCommandOptionBase { + constructor() { + super(...arguments); + __publicField(this, "type", import_v1010.ApplicationCommandOptionType.Boolean); + } + toJSON() { + this.runRequiredValidations(); + return { ...this }; + } +}; +__name(SlashCommandBooleanOption, "SlashCommandBooleanOption"); + +// src/interactions/slashCommands/options/channel.ts +var import_v1012 = require("discord-api-types/v10"); +var import_ts_mixer = require("ts-mixer"); + +// src/interactions/slashCommands/mixins/ApplicationCommandOptionChannelTypesMixin.ts +var import_shapeshift6 = require("@sapphire/shapeshift"); +var import_v1011 = require("discord-api-types/v10"); +var allowedChannelTypes = [ + import_v1011.ChannelType.GuildText, + import_v1011.ChannelType.GuildVoice, + import_v1011.ChannelType.GuildCategory, + import_v1011.ChannelType.GuildNews, + import_v1011.ChannelType.GuildNewsThread, + import_v1011.ChannelType.GuildPublicThread, + import_v1011.ChannelType.GuildPrivateThread, + import_v1011.ChannelType.GuildStageVoice +]; +var channelTypesPredicate = import_shapeshift6.s.array(import_shapeshift6.s.union(...allowedChannelTypes.map((type) => import_shapeshift6.s.literal(type)))); +var ApplicationCommandOptionChannelTypesMixin = class { + constructor() { + __publicField(this, "channel_types"); + } + addChannelTypes(...channelTypes) { + if (this.channel_types === void 0) { + Reflect.set(this, "channel_types", []); + } + this.channel_types.push(...channelTypesPredicate.parse(channelTypes)); + return this; + } +}; +__name(ApplicationCommandOptionChannelTypesMixin, "ApplicationCommandOptionChannelTypesMixin"); + +// src/interactions/slashCommands/options/channel.ts +var SlashCommandChannelOption = class extends ApplicationCommandOptionBase { + constructor() { + super(...arguments); + __publicField(this, "type", import_v1012.ApplicationCommandOptionType.Channel); + } + toJSON() { + this.runRequiredValidations(); + return { ...this }; + } +}; +__name(SlashCommandChannelOption, "SlashCommandChannelOption"); +SlashCommandChannelOption = __decorateClass([ + (0, import_ts_mixer.mix)(ApplicationCommandOptionChannelTypesMixin) +], SlashCommandChannelOption); + +// src/interactions/slashCommands/options/integer.ts +var import_shapeshift8 = require("@sapphire/shapeshift"); +var import_v1014 = require("discord-api-types/v10"); +var import_ts_mixer2 = require("ts-mixer"); + +// src/interactions/slashCommands/mixins/ApplicationCommandNumericOptionMinMaxValueMixin.ts +var ApplicationCommandNumericOptionMinMaxValueMixin = class { + constructor() { + __publicField(this, "max_value"); + __publicField(this, "min_value"); + } +}; +__name(ApplicationCommandNumericOptionMinMaxValueMixin, "ApplicationCommandNumericOptionMinMaxValueMixin"); + +// src/interactions/slashCommands/mixins/ApplicationCommandOptionWithChoicesAndAutocompleteMixin.ts +var import_shapeshift7 = require("@sapphire/shapeshift"); +var import_v1013 = require("discord-api-types/v10"); +var stringPredicate = import_shapeshift7.s.string.lengthGreaterThanOrEqual(1).lengthLessThanOrEqual(100); +var numberPredicate = import_shapeshift7.s.number.greaterThan(-Infinity).lessThan(Infinity); +var choicesPredicate = import_shapeshift7.s.object({ + name: stringPredicate, + name_localizations: localizationMapPredicate, + value: import_shapeshift7.s.union(stringPredicate, numberPredicate) +}).array; +var booleanPredicate2 = import_shapeshift7.s.boolean; +var ApplicationCommandOptionWithChoicesAndAutocompleteMixin = class { + constructor() { + __publicField(this, "choices"); + __publicField(this, "autocomplete"); + __publicField(this, "type"); + } + addChoices(...choices) { + if (choices.length > 0 && this.autocomplete) { + throw new RangeError("Autocomplete and choices are mutually exclusive to each other."); + } + choicesPredicate.parse(choices); + if (this.choices === void 0) { + Reflect.set(this, "choices", []); + } + validateChoicesLength(choices.length, this.choices); + for (const { name, name_localizations, value } of choices) { + if (this.type === import_v1013.ApplicationCommandOptionType.String) { + stringPredicate.parse(value); + } else { + numberPredicate.parse(value); + } + this.choices.push({ name, name_localizations, value }); + } + return this; + } + setChoices(...choices) { + if (choices.length > 0 && this.autocomplete) { + throw new RangeError("Autocomplete and choices are mutually exclusive to each other."); + } + choicesPredicate.parse(choices); + Reflect.set(this, "choices", []); + this.addChoices(...choices); + return this; + } + setAutocomplete(autocomplete) { + booleanPredicate2.parse(autocomplete); + if (autocomplete && Array.isArray(this.choices) && this.choices.length > 0) { + throw new RangeError("Autocomplete and choices are mutually exclusive to each other."); + } + Reflect.set(this, "autocomplete", autocomplete); + return this; + } +}; +__name(ApplicationCommandOptionWithChoicesAndAutocompleteMixin, "ApplicationCommandOptionWithChoicesAndAutocompleteMixin"); + +// src/interactions/slashCommands/options/integer.ts +var numberValidator = import_shapeshift8.s.number.int; +var SlashCommandIntegerOption = class extends ApplicationCommandOptionBase { + constructor() { + super(...arguments); + __publicField(this, "type", import_v1014.ApplicationCommandOptionType.Integer); + } + setMaxValue(max) { + numberValidator.parse(max); + Reflect.set(this, "max_value", max); + return this; + } + setMinValue(min) { + numberValidator.parse(min); + Reflect.set(this, "min_value", min); + return this; + } + toJSON() { + this.runRequiredValidations(); + if (this.autocomplete && Array.isArray(this.choices) && this.choices.length > 0) { + throw new RangeError("Autocomplete and choices are mutually exclusive to each other."); + } + return { ...this }; + } +}; +__name(SlashCommandIntegerOption, "SlashCommandIntegerOption"); +SlashCommandIntegerOption = __decorateClass([ + (0, import_ts_mixer2.mix)(ApplicationCommandNumericOptionMinMaxValueMixin, ApplicationCommandOptionWithChoicesAndAutocompleteMixin) +], SlashCommandIntegerOption); + +// src/interactions/slashCommands/options/mentionable.ts +var import_v1015 = require("discord-api-types/v10"); +var SlashCommandMentionableOption = class extends ApplicationCommandOptionBase { + constructor() { + super(...arguments); + __publicField(this, "type", import_v1015.ApplicationCommandOptionType.Mentionable); + } + toJSON() { + this.runRequiredValidations(); + return { ...this }; + } +}; +__name(SlashCommandMentionableOption, "SlashCommandMentionableOption"); + +// src/interactions/slashCommands/options/number.ts +var import_shapeshift9 = require("@sapphire/shapeshift"); +var import_v1016 = require("discord-api-types/v10"); +var import_ts_mixer3 = require("ts-mixer"); +var numberValidator2 = import_shapeshift9.s.number; +var SlashCommandNumberOption = class extends ApplicationCommandOptionBase { + constructor() { + super(...arguments); + __publicField(this, "type", import_v1016.ApplicationCommandOptionType.Number); + } + setMaxValue(max) { + numberValidator2.parse(max); + Reflect.set(this, "max_value", max); + return this; + } + setMinValue(min) { + numberValidator2.parse(min); + Reflect.set(this, "min_value", min); + return this; + } + toJSON() { + this.runRequiredValidations(); + if (this.autocomplete && Array.isArray(this.choices) && this.choices.length > 0) { + throw new RangeError("Autocomplete and choices are mutually exclusive to each other."); + } + return { ...this }; + } +}; +__name(SlashCommandNumberOption, "SlashCommandNumberOption"); +SlashCommandNumberOption = __decorateClass([ + (0, import_ts_mixer3.mix)(ApplicationCommandNumericOptionMinMaxValueMixin, ApplicationCommandOptionWithChoicesAndAutocompleteMixin) +], SlashCommandNumberOption); + +// src/interactions/slashCommands/options/role.ts +var import_v1017 = require("discord-api-types/v10"); +var SlashCommandRoleOption = class extends ApplicationCommandOptionBase { + constructor() { + super(...arguments); + __publicField(this, "type", import_v1017.ApplicationCommandOptionType.Role); + } + toJSON() { + this.runRequiredValidations(); + return { ...this }; + } +}; +__name(SlashCommandRoleOption, "SlashCommandRoleOption"); + +// src/interactions/slashCommands/options/string.ts +var import_shapeshift10 = require("@sapphire/shapeshift"); +var import_v1018 = require("discord-api-types/v10"); +var import_ts_mixer4 = require("ts-mixer"); +var minLengthValidator2 = import_shapeshift10.s.number.greaterThanOrEqual(0).lessThanOrEqual(6e3); +var maxLengthValidator2 = import_shapeshift10.s.number.greaterThanOrEqual(1).lessThanOrEqual(6e3); +var SlashCommandStringOption = class extends ApplicationCommandOptionBase { + constructor() { + super(...arguments); + __publicField(this, "type", import_v1018.ApplicationCommandOptionType.String); + __publicField(this, "max_length"); + __publicField(this, "min_length"); + } + setMaxLength(max) { + maxLengthValidator2.parse(max); + Reflect.set(this, "max_length", max); + return this; + } + setMinLength(min) { + minLengthValidator2.parse(min); + Reflect.set(this, "min_length", min); + return this; + } + toJSON() { + this.runRequiredValidations(); + if (this.autocomplete && Array.isArray(this.choices) && this.choices.length > 0) { + throw new RangeError("Autocomplete and choices are mutually exclusive to each other."); + } + return { ...this }; + } +}; +__name(SlashCommandStringOption, "SlashCommandStringOption"); +SlashCommandStringOption = __decorateClass([ + (0, import_ts_mixer4.mix)(ApplicationCommandOptionWithChoicesAndAutocompleteMixin) +], SlashCommandStringOption); + +// src/interactions/slashCommands/options/user.ts +var import_v1019 = require("discord-api-types/v10"); +var SlashCommandUserOption = class extends ApplicationCommandOptionBase { + constructor() { + super(...arguments); + __publicField(this, "type", import_v1019.ApplicationCommandOptionType.User); + } + toJSON() { + this.runRequiredValidations(); + return { ...this }; + } +}; +__name(SlashCommandUserOption, "SlashCommandUserOption"); + +// src/interactions/slashCommands/mixins/SharedSlashCommandOptions.ts +var SharedSlashCommandOptions = class { + constructor() { + __publicField(this, "options"); + } + addBooleanOption(input) { + return this._sharedAddOptionMethod(input, SlashCommandBooleanOption); + } + addUserOption(input) { + return this._sharedAddOptionMethod(input, SlashCommandUserOption); + } + addChannelOption(input) { + return this._sharedAddOptionMethod(input, SlashCommandChannelOption); + } + addRoleOption(input) { + return this._sharedAddOptionMethod(input, SlashCommandRoleOption); + } + addAttachmentOption(input) { + return this._sharedAddOptionMethod(input, SlashCommandAttachmentOption); + } + addMentionableOption(input) { + return this._sharedAddOptionMethod(input, SlashCommandMentionableOption); + } + addStringOption(input) { + return this._sharedAddOptionMethod(input, SlashCommandStringOption); + } + addIntegerOption(input) { + return this._sharedAddOptionMethod(input, SlashCommandIntegerOption); + } + addNumberOption(input) { + return this._sharedAddOptionMethod(input, SlashCommandNumberOption); + } + _sharedAddOptionMethod(input, Instance) { + const { options } = this; + validateMaxOptionsLength(options); + const result = typeof input === "function" ? input(new Instance()) : input; + assertReturnOfBuilder(result, Instance); + options.push(result); + return this; + } +}; +__name(SharedSlashCommandOptions, "SharedSlashCommandOptions"); + +// src/interactions/slashCommands/SlashCommandSubcommands.ts +var SlashCommandSubcommandGroupBuilder = class { + constructor() { + __publicField(this, "name"); + __publicField(this, "description"); + __publicField(this, "options", []); + } + addSubcommand(input) { + const { options } = this; + validateMaxOptionsLength(options); + const result = typeof input === "function" ? input(new SlashCommandSubcommandBuilder()) : input; + assertReturnOfBuilder(result, SlashCommandSubcommandBuilder); + options.push(result); + return this; + } + toJSON() { + validateRequiredParameters3(this.name, this.description, this.options); + return { + type: import_v1020.ApplicationCommandOptionType.SubcommandGroup, + name: this.name, + name_localizations: this.name_localizations, + description: this.description, + description_localizations: this.description_localizations, + options: this.options.map((option) => option.toJSON()) + }; + } +}; +__name(SlashCommandSubcommandGroupBuilder, "SlashCommandSubcommandGroupBuilder"); +SlashCommandSubcommandGroupBuilder = __decorateClass([ + (0, import_ts_mixer5.mix)(SharedNameAndDescription) +], SlashCommandSubcommandGroupBuilder); +var SlashCommandSubcommandBuilder = class { + constructor() { + __publicField(this, "name"); + __publicField(this, "description"); + __publicField(this, "options", []); + } + toJSON() { + validateRequiredParameters3(this.name, this.description, this.options); + return { + type: import_v1020.ApplicationCommandOptionType.Subcommand, + name: this.name, + name_localizations: this.name_localizations, + description: this.description, + description_localizations: this.description_localizations, + options: this.options.map((option) => option.toJSON()) + }; + } +}; +__name(SlashCommandSubcommandBuilder, "SlashCommandSubcommandBuilder"); +SlashCommandSubcommandBuilder = __decorateClass([ + (0, import_ts_mixer5.mix)(SharedNameAndDescription, SharedSlashCommandOptions) +], SlashCommandSubcommandBuilder); + +// src/interactions/slashCommands/SlashCommandBuilder.ts +var SlashCommandBuilder = class { + constructor() { + __publicField(this, "name"); + __publicField(this, "name_localizations"); + __publicField(this, "description"); + __publicField(this, "description_localizations"); + __publicField(this, "options", []); + __publicField(this, "default_permission"); + __publicField(this, "default_member_permissions"); + __publicField(this, "dm_permission"); + } + toJSON() { + validateRequiredParameters3(this.name, this.description, this.options); + validateLocalizationMap(this.name_localizations); + validateLocalizationMap(this.description_localizations); + return { + ...this, + options: this.options.map((option) => option.toJSON()) + }; + } + setDefaultPermission(value) { + validateDefaultPermission(value); + Reflect.set(this, "default_permission", value); + return this; + } + setDefaultMemberPermissions(permissions) { + const permissionValue = validateDefaultMemberPermissions(permissions); + Reflect.set(this, "default_member_permissions", permissionValue); + return this; + } + setDMPermission(enabled) { + validateDMPermission(enabled); + Reflect.set(this, "dm_permission", enabled); + return this; + } + addSubcommandGroup(input) { + const { options } = this; + validateMaxOptionsLength(options); + const result = typeof input === "function" ? input(new SlashCommandSubcommandGroupBuilder()) : input; + assertReturnOfBuilder(result, SlashCommandSubcommandGroupBuilder); + options.push(result); + return this; + } + addSubcommand(input) { + const { options } = this; + validateMaxOptionsLength(options); + const result = typeof input === "function" ? input(new SlashCommandSubcommandBuilder()) : input; + assertReturnOfBuilder(result, SlashCommandSubcommandBuilder); + options.push(result); + return this; + } +}; +__name(SlashCommandBuilder, "SlashCommandBuilder"); +SlashCommandBuilder = __decorateClass([ + (0, import_ts_mixer6.mix)(SharedSlashCommandOptions, SharedNameAndDescription) +], SlashCommandBuilder); + +// src/interactions/contextMenuCommands/Assertions.ts +var Assertions_exports6 = {}; +__export(Assertions_exports6, { + validateDMPermission: () => validateDMPermission2, + validateDefaultMemberPermissions: () => validateDefaultMemberPermissions2, + validateDefaultPermission: () => validateDefaultPermission2, + validateName: () => validateName2, + validateRequiredParameters: () => validateRequiredParameters4, + validateType: () => validateType +}); +var import_shapeshift11 = require("@sapphire/shapeshift"); +var import_v1021 = require("discord-api-types/v10"); +var namePredicate2 = import_shapeshift11.s.string.lengthGreaterThanOrEqual(1).lengthLessThanOrEqual(32).regex(/^( *[\p{L}\p{N}\p{sc=Devanagari}\p{sc=Thai}_-]+ *)+$/u).setValidationEnabled(isValidationEnabled); +var typePredicate = import_shapeshift11.s.union(import_shapeshift11.s.literal(import_v1021.ApplicationCommandType.User), import_shapeshift11.s.literal(import_v1021.ApplicationCommandType.Message)).setValidationEnabled(isValidationEnabled); +var booleanPredicate3 = import_shapeshift11.s.boolean; +function validateDefaultPermission2(value) { + booleanPredicate3.parse(value); +} +__name(validateDefaultPermission2, "validateDefaultPermission"); +function validateName2(name) { + namePredicate2.parse(name); +} +__name(validateName2, "validateName"); +function validateType(type) { + typePredicate.parse(type); +} +__name(validateType, "validateType"); +function validateRequiredParameters4(name, type) { + validateName2(name); + validateType(type); +} +__name(validateRequiredParameters4, "validateRequiredParameters"); +var dmPermissionPredicate2 = import_shapeshift11.s.boolean.nullish; +function validateDMPermission2(value) { + dmPermissionPredicate2.parse(value); +} +__name(validateDMPermission2, "validateDMPermission"); +var memberPermissionPredicate2 = import_shapeshift11.s.union(import_shapeshift11.s.bigint.transform((value) => value.toString()), import_shapeshift11.s.number.safeInt.transform((value) => value.toString()), import_shapeshift11.s.string.regex(/^\d+$/)).nullish; +function validateDefaultMemberPermissions2(permissions) { + return memberPermissionPredicate2.parse(permissions); +} +__name(validateDefaultMemberPermissions2, "validateDefaultMemberPermissions"); + +// src/interactions/contextMenuCommands/ContextMenuCommandBuilder.ts +var ContextMenuCommandBuilder = class { + constructor() { + __publicField(this, "name"); + __publicField(this, "name_localizations"); + __publicField(this, "type"); + __publicField(this, "default_permission"); + __publicField(this, "default_member_permissions"); + __publicField(this, "dm_permission"); + } + setName(name) { + validateName2(name); + Reflect.set(this, "name", name); + return this; + } + setType(type) { + validateType(type); + Reflect.set(this, "type", type); + return this; + } + setDefaultPermission(value) { + validateDefaultPermission2(value); + Reflect.set(this, "default_permission", value); + return this; + } + setDefaultMemberPermissions(permissions) { + const permissionValue = validateDefaultMemberPermissions2(permissions); + Reflect.set(this, "default_member_permissions", permissionValue); + return this; + } + setDMPermission(enabled) { + validateDMPermission2(enabled); + Reflect.set(this, "dm_permission", enabled); + return this; + } + setNameLocalization(locale, localizedName) { + if (!this.name_localizations) { + Reflect.set(this, "name_localizations", {}); + } + const parsedLocale = validateLocale(locale); + if (localizedName === null) { + this.name_localizations[parsedLocale] = null; + return this; + } + validateName2(localizedName); + this.name_localizations[parsedLocale] = localizedName; + return this; + } + setNameLocalizations(localizedNames) { + if (localizedNames === null) { + Reflect.set(this, "name_localizations", null); + return this; + } + Reflect.set(this, "name_localizations", {}); + Object.entries(localizedNames).forEach((args) => this.setNameLocalization(...args)); + return this; + } + toJSON() { + validateRequiredParameters4(this.name, this.type); + validateLocalizationMap(this.name_localizations); + return { ...this }; + } +}; +__name(ContextMenuCommandBuilder, "ContextMenuCommandBuilder"); + +// src/util/equatable.ts +function isEquatable(maybeEquatable) { + return maybeEquatable !== null && typeof maybeEquatable === "object" && "equals" in maybeEquatable; +} +__name(isEquatable, "isEquatable"); + +// src/util/componentUtil.ts +function embedLength(data) { + return (data.title?.length ?? 0) + (data.description?.length ?? 0) + (data.fields?.reduce((prev, curr) => prev + curr.name.length + curr.value.length, 0) ?? 0) + (data.footer?.text.length ?? 0) + (data.author?.name.length ?? 0); +} +__name(embedLength, "embedLength"); +// Annotate the CommonJS export names for ESM import in node: +0 && (module.exports = { + ActionRowBuilder, + ApplicationCommandNumericOptionMinMaxValueMixin, + ApplicationCommandOptionBase, + ApplicationCommandOptionChannelTypesMixin, + ApplicationCommandOptionWithChoicesAndAutocompleteMixin, + ButtonBuilder, + ComponentAssertions, + ComponentBuilder, + ContextMenuCommandAssertions, + ContextMenuCommandBuilder, + EmbedAssertions, + EmbedBuilder, + Faces, + ModalAssertions, + ModalBuilder, + SelectMenuBuilder, + SelectMenuOptionBuilder, + SharedNameAndDescription, + SharedSlashCommandOptions, + SlashCommandAssertions, + SlashCommandAttachmentOption, + SlashCommandBooleanOption, + SlashCommandBuilder, + SlashCommandChannelOption, + SlashCommandIntegerOption, + SlashCommandMentionableOption, + SlashCommandNumberOption, + SlashCommandRoleOption, + SlashCommandStringOption, + SlashCommandSubcommandBuilder, + SlashCommandSubcommandGroupBuilder, + SlashCommandUserOption, + TextInputAssertions, + TextInputBuilder, + TimestampStyles, + blockQuote, + bold, + channelMention, + codeBlock, + createComponentBuilder, + disableValidators, + embedLength, + enableValidators, + formatEmoji, + hideLinkEmbed, + hyperlink, + inlineCode, + isEquatable, + isJSONEncodable, + isValidationEnabled, + italic, + normalizeArray, + quote, + roleMention, + spoiler, + strikethrough, + time, + underscore, + userMention +}); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@discordjs/builders/dist/index.js.map b/node_modules/@discordjs/builders/dist/index.js.map new file mode 100644 index 0000000..e55c55b --- /dev/null +++ b/node_modules/@discordjs/builders/dist/index.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["../src/index.ts","../src/messages/embed/Assertions.ts","../src/util/validation.ts","../src/util/normalizeArray.ts","../src/messages/embed/Embed.ts","../src/messages/formatters.ts","../src/components/Assertions.ts","../src/components/selectMenu/SelectMenuOption.ts","../src/components/ActionRow.ts","../src/components/Component.ts","../src/components/Components.ts","../src/components/button/Button.ts","../src/components/selectMenu/SelectMenu.ts","../src/components/textInput/TextInput.ts","../src/components/textInput/Assertions.ts","../src/util/jsonEncodable.ts","../src/interactions/modals/Assertions.ts","../src/interactions/modals/Modal.ts","../src/interactions/slashCommands/Assertions.ts","../src/interactions/slashCommands/SlashCommandBuilder.ts","../src/interactions/slashCommands/SlashCommandSubcommands.ts","../src/interactions/slashCommands/mixins/NameAndDescription.ts","../src/interactions/slashCommands/options/attachment.ts","../src/interactions/slashCommands/mixins/ApplicationCommandOptionBase.ts","../src/interactions/slashCommands/options/boolean.ts","../src/interactions/slashCommands/options/channel.ts","../src/interactions/slashCommands/mixins/ApplicationCommandOptionChannelTypesMixin.ts","../src/interactions/slashCommands/options/integer.ts","../src/interactions/slashCommands/mixins/ApplicationCommandNumericOptionMinMaxValueMixin.ts","../src/interactions/slashCommands/mixins/ApplicationCommandOptionWithChoicesAndAutocompleteMixin.ts","../src/interactions/slashCommands/options/mentionable.ts","../src/interactions/slashCommands/options/number.ts","../src/interactions/slashCommands/options/role.ts","../src/interactions/slashCommands/options/string.ts","../src/interactions/slashCommands/options/user.ts","../src/interactions/slashCommands/mixins/SharedSlashCommandOptions.ts","../src/interactions/contextMenuCommands/Assertions.ts","../src/interactions/contextMenuCommands/ContextMenuCommandBuilder.ts","../src/util/equatable.ts","../src/util/componentUtil.ts"],"sourcesContent":["export * as EmbedAssertions from './messages/embed/Assertions';\nexport * from './messages/embed/Embed';\nexport * from './messages/formatters';\n\nexport * as ComponentAssertions from './components/Assertions';\nexport * from './components/ActionRow';\nexport * from './components/button/Button';\nexport * from './components/Component';\nexport * from './components/Components';\nexport * from './components/textInput/TextInput';\nexport * as TextInputAssertions from './components/textInput/Assertions';\nexport * from './interactions/modals/Modal';\nexport * as ModalAssertions from './interactions/modals/Assertions';\nexport * from './components/selectMenu/SelectMenu';\nexport * from './components/selectMenu/SelectMenuOption';\n\nexport * as SlashCommandAssertions from './interactions/slashCommands/Assertions';\nexport * from './interactions/slashCommands/SlashCommandBuilder';\nexport * from './interactions/slashCommands/SlashCommandSubcommands';\nexport * from './interactions/slashCommands/options/boolean';\nexport * from './interactions/slashCommands/options/channel';\nexport * from './interactions/slashCommands/options/integer';\nexport * from './interactions/slashCommands/options/mentionable';\nexport * from './interactions/slashCommands/options/number';\nexport * from './interactions/slashCommands/options/role';\nexport * from './interactions/slashCommands/options/attachment';\nexport * from './interactions/slashCommands/options/string';\nexport * from './interactions/slashCommands/options/user';\nexport * from './interactions/slashCommands/mixins/ApplicationCommandNumericOptionMinMaxValueMixin';\nexport * from './interactions/slashCommands/mixins/ApplicationCommandOptionBase';\nexport * from './interactions/slashCommands/mixins/ApplicationCommandOptionChannelTypesMixin';\nexport * from './interactions/slashCommands/mixins/ApplicationCommandOptionWithChoicesAndAutocompleteMixin';\nexport * from './interactions/slashCommands/mixins/NameAndDescription';\nexport * from './interactions/slashCommands/mixins/SharedSlashCommandOptions';\n\nexport * as ContextMenuCommandAssertions from './interactions/contextMenuCommands/Assertions';\nexport * from './interactions/contextMenuCommands/ContextMenuCommandBuilder';\n\nexport * from './util/jsonEncodable';\nexport * from './util/equatable';\nexport * from './util/componentUtil';\nexport * from './util/normalizeArray';\nexport * from './util/validation';\n","import { s } from '@sapphire/shapeshift';\nimport type { APIEmbedField } from 'discord-api-types/v10';\nimport { isValidationEnabled } from '../../util/validation';\n\nexport const fieldNamePredicate = s.string\n\t.lengthGreaterThanOrEqual(1)\n\t.lengthLessThanOrEqual(256)\n\t.setValidationEnabled(isValidationEnabled);\n\nexport const fieldValuePredicate = s.string\n\t.lengthGreaterThanOrEqual(1)\n\t.lengthLessThanOrEqual(1024)\n\t.setValidationEnabled(isValidationEnabled);\n\nexport const fieldInlinePredicate = s.boolean.optional;\n\nexport const embedFieldPredicate = s\n\t.object({\n\t\tname: fieldNamePredicate,\n\t\tvalue: fieldValuePredicate,\n\t\tinline: fieldInlinePredicate,\n\t})\n\t.setValidationEnabled(isValidationEnabled);\n\nexport const embedFieldsArrayPredicate = embedFieldPredicate.array.setValidationEnabled(isValidationEnabled);\n\nexport const fieldLengthPredicate = s.number.lessThanOrEqual(25).setValidationEnabled(isValidationEnabled);\n\nexport function validateFieldLength(amountAdding: number, fields?: APIEmbedField[]): void {\n\tfieldLengthPredicate.parse((fields?.length ?? 0) + amountAdding);\n}\n\nexport const authorNamePredicate = fieldNamePredicate.nullable.setValidationEnabled(isValidationEnabled);\n\nexport const imageURLPredicate = s.string\n\t.url({\n\t\tallowedProtocols: ['http:', 'https:', 'attachment:'],\n\t})\n\t.nullish.setValidationEnabled(isValidationEnabled);\n\nexport const urlPredicate = s.string\n\t.url({\n\t\tallowedProtocols: ['http:', 'https:'],\n\t})\n\t.nullish.setValidationEnabled(isValidationEnabled);\n\nexport const embedAuthorPredicate = s\n\t.object({\n\t\tname: authorNamePredicate,\n\t\ticonURL: imageURLPredicate,\n\t\turl: urlPredicate,\n\t})\n\t.setValidationEnabled(isValidationEnabled);\n\nexport const RGBPredicate = s.number.int\n\t.greaterThanOrEqual(0)\n\t.lessThanOrEqual(255)\n\t.setValidationEnabled(isValidationEnabled);\nexport const colorPredicate = s.number.int\n\t.greaterThanOrEqual(0)\n\t.lessThanOrEqual(0xffffff)\n\t.or(s.tuple([RGBPredicate, RGBPredicate, RGBPredicate]))\n\t.nullable.setValidationEnabled(isValidationEnabled);\n\nexport const descriptionPredicate = s.string\n\t.lengthGreaterThanOrEqual(1)\n\t.lengthLessThanOrEqual(4096)\n\t.nullable.setValidationEnabled(isValidationEnabled);\n\nexport const footerTextPredicate = s.string\n\t.lengthGreaterThanOrEqual(1)\n\t.lengthLessThanOrEqual(2048)\n\t.nullable.setValidationEnabled(isValidationEnabled);\n\nexport const embedFooterPredicate = s\n\t.object({\n\t\ttext: footerTextPredicate,\n\t\ticonURL: imageURLPredicate,\n\t})\n\t.setValidationEnabled(isValidationEnabled);\n\nexport const timestampPredicate = s.union(s.number, s.date).nullable.setValidationEnabled(isValidationEnabled);\n\nexport const titlePredicate = fieldNamePredicate.nullable.setValidationEnabled(isValidationEnabled);\n","let validate = true;\n\nexport const enableValidators = () => (validate = true);\nexport const disableValidators = () => (validate = false);\nexport const isValidationEnabled = () => validate;\n","export function normalizeArray(arr: RestOrArray): T[] {\n\tif (Array.isArray(arr[0])) return arr[0];\n\treturn arr as T[];\n}\n\nexport type RestOrArray = T[] | [T[]];\n","import type { APIEmbed, APIEmbedAuthor, APIEmbedField, APIEmbedFooter, APIEmbedImage } from 'discord-api-types/v10';\nimport {\n\tcolorPredicate,\n\tdescriptionPredicate,\n\tembedAuthorPredicate,\n\tembedFieldsArrayPredicate,\n\tembedFooterPredicate,\n\timageURLPredicate,\n\ttimestampPredicate,\n\ttitlePredicate,\n\turlPredicate,\n\tvalidateFieldLength,\n} from './Assertions';\nimport { normalizeArray, type RestOrArray } from '../../util/normalizeArray';\n\nexport type RGBTuple = [red: number, green: number, blue: number];\n\nexport interface IconData {\n\t/**\n\t * The URL of the icon\n\t */\n\ticonURL?: string;\n\t/**\n\t * The proxy URL of the icon\n\t */\n\tproxyIconURL?: string;\n}\n\nexport type EmbedAuthorData = Omit & IconData;\n\nexport type EmbedAuthorOptions = Omit;\n\nexport type EmbedFooterData = Omit & IconData;\n\nexport type EmbedFooterOptions = Omit;\n\nexport interface EmbedImageData extends Omit {\n\t/**\n\t * The proxy URL for the image\n\t */\n\tproxyURL?: string;\n}\n/**\n * Represents a embed in a message (image/video preview, rich embed, etc.)\n */\nexport class EmbedBuilder {\n\tpublic readonly data: APIEmbed;\n\n\tpublic constructor(data: APIEmbed = {}) {\n\t\tthis.data = { ...data };\n\t\tif (data.timestamp) this.data.timestamp = new Date(data.timestamp).toISOString();\n\t}\n\n\t/**\n\t * Adds fields to the embed (max 25)\n\t *\n\t * @param fields The fields to add\n\t */\n\tpublic addFields(...fields: RestOrArray): this {\n\t\tfields = normalizeArray(fields);\n\t\t// Ensure adding these fields won't exceed the 25 field limit\n\t\tvalidateFieldLength(fields.length, this.data.fields);\n\n\t\t// Data assertions\n\t\tembedFieldsArrayPredicate.parse(fields);\n\n\t\tif (this.data.fields) this.data.fields.push(...fields);\n\t\telse this.data.fields = fields;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Removes, replaces, or inserts fields in the embed (max 25)\n\t *\n\t * @param index The index to start at\n\t * @param deleteCount The number of fields to remove\n\t * @param fields The replacing field objects\n\t */\n\tpublic spliceFields(index: number, deleteCount: number, ...fields: APIEmbedField[]): this {\n\t\t// Ensure adding these fields won't exceed the 25 field limit\n\t\tvalidateFieldLength(fields.length - deleteCount, this.data.fields);\n\n\t\t// Data assertions\n\t\tembedFieldsArrayPredicate.parse(fields);\n\t\tif (this.data.fields) this.data.fields.splice(index, deleteCount, ...fields);\n\t\telse this.data.fields = fields;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the embed's fields (max 25).\n\t * @param fields The fields to set\n\t */\n\tpublic setFields(...fields: RestOrArray) {\n\t\tthis.spliceFields(0, this.data.fields?.length ?? 0, ...normalizeArray(fields));\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the author of this embed\n\t *\n\t * @param options The options for the author\n\t */\n\n\tpublic setAuthor(options: EmbedAuthorOptions | null): this {\n\t\tif (options === null) {\n\t\t\tthis.data.author = undefined;\n\t\t\treturn this;\n\t\t}\n\n\t\t// Data assertions\n\t\tembedAuthorPredicate.parse(options);\n\n\t\tthis.data.author = { name: options.name, url: options.url, icon_url: options.iconURL };\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the color of this embed\n\t *\n\t * @param color The color of the embed\n\t */\n\tpublic setColor(color: number | RGBTuple | null): this {\n\t\t// Data assertions\n\t\tcolorPredicate.parse(color);\n\n\t\tif (Array.isArray(color)) {\n\t\t\tconst [red, green, blue] = color;\n\t\t\tthis.data.color = (red << 16) + (green << 8) + blue;\n\t\t\treturn this;\n\t\t}\n\t\tthis.data.color = color ?? undefined;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the description of this embed\n\t *\n\t * @param description The description\n\t */\n\tpublic setDescription(description: string | null): this {\n\t\t// Data assertions\n\t\tdescriptionPredicate.parse(description);\n\n\t\tthis.data.description = description ?? undefined;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the footer of this embed\n\t *\n\t * @param options The options for the footer\n\t */\n\tpublic setFooter(options: EmbedFooterOptions | null): this {\n\t\tif (options === null) {\n\t\t\tthis.data.footer = undefined;\n\t\t\treturn this;\n\t\t}\n\n\t\t// Data assertions\n\t\tembedFooterPredicate.parse(options);\n\n\t\tthis.data.footer = { text: options.text, icon_url: options.iconURL };\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the image of this embed\n\t *\n\t * @param url The URL of the image\n\t */\n\tpublic setImage(url: string | null): this {\n\t\t// Data assertions\n\t\timageURLPredicate.parse(url);\n\n\t\tthis.data.image = url ? { url } : undefined;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the thumbnail of this embed\n\t *\n\t * @param url The URL of the thumbnail\n\t */\n\tpublic setThumbnail(url: string | null): this {\n\t\t// Data assertions\n\t\timageURLPredicate.parse(url);\n\n\t\tthis.data.thumbnail = url ? { url } : undefined;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the timestamp of this embed\n\t *\n\t * @param timestamp The timestamp or date\n\t */\n\tpublic setTimestamp(timestamp: number | Date | null = Date.now()): this {\n\t\t// Data assertions\n\t\ttimestampPredicate.parse(timestamp);\n\n\t\tthis.data.timestamp = timestamp ? new Date(timestamp).toISOString() : undefined;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the title of this embed\n\t *\n\t * @param title The title\n\t */\n\tpublic setTitle(title: string | null): this {\n\t\t// Data assertions\n\t\ttitlePredicate.parse(title);\n\n\t\tthis.data.title = title ?? undefined;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the URL of this embed\n\t *\n\t * @param url The URL\n\t */\n\tpublic setURL(url: string | null): this {\n\t\t// Data assertions\n\t\turlPredicate.parse(url);\n\n\t\tthis.data.url = url ?? undefined;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Transforms the embed to a plain object\n\t */\n\tpublic toJSON(): APIEmbed {\n\t\treturn { ...this.data };\n\t}\n}\n","import type { URL } from 'url';\nimport type { Snowflake } from 'discord-api-types/globals';\n\n/**\n * Wraps the content inside a codeblock with no language\n *\n * @param content - The content to wrap\n */\nexport function codeBlock(content: C): `\\`\\`\\`\\n${C}\\`\\`\\``;\n\n/**\n * Wraps the content inside a codeblock with the specified language\n *\n * @param language - The language for the codeblock\n * @param content - The content to wrap\n */\nexport function codeBlock(language: L, content: C): `\\`\\`\\`${L}\\n${C}\\`\\`\\``;\nexport function codeBlock(language: string, content?: string): string {\n\treturn typeof content === 'undefined' ? `\\`\\`\\`\\n${language}\\`\\`\\`` : `\\`\\`\\`${language}\\n${content}\\`\\`\\``;\n}\n\n/**\n * Wraps the content inside \\`backticks\\`, which formats it as inline code\n *\n * @param content - The content to wrap\n */\nexport function inlineCode(content: C): `\\`${C}\\`` {\n\treturn `\\`${content}\\``;\n}\n\n/**\n * Formats the content into italic text\n *\n * @param content - The content to wrap\n */\nexport function italic(content: C): `_${C}_` {\n\treturn `_${content}_`;\n}\n\n/**\n * Formats the content into bold text\n *\n * @param content - The content to wrap\n */\nexport function bold(content: C): `**${C}**` {\n\treturn `**${content}**`;\n}\n\n/**\n * Formats the content into underscored text\n *\n * @param content - The content to wrap\n */\nexport function underscore(content: C): `__${C}__` {\n\treturn `__${content}__`;\n}\n\n/**\n * Formats the content into strike-through text\n *\n * @param content - The content to wrap\n */\nexport function strikethrough(content: C): `~~${C}~~` {\n\treturn `~~${content}~~`;\n}\n\n/**\n * Formats the content into a quote. This needs to be at the start of the line for Discord to format it\n *\n * @param content - The content to wrap\n */\nexport function quote(content: C): `> ${C}` {\n\treturn `> ${content}`;\n}\n\n/**\n * Formats the content into a block quote. This needs to be at the start of the line for Discord to format it\n *\n * @param content - The content to wrap\n */\nexport function blockQuote(content: C): `>>> ${C}` {\n\treturn `>>> ${content}`;\n}\n\n/**\n * Wraps the URL into `<>`, which stops it from embedding\n *\n * @param url - The URL to wrap\n */\nexport function hideLinkEmbed(url: C): `<${C}>`;\n\n/**\n * Wraps the URL into `<>`, which stops it from embedding\n *\n * @param url - The URL to wrap\n */\nexport function hideLinkEmbed(url: URL): `<${string}>`;\nexport function hideLinkEmbed(url: string | URL) {\n\t// eslint-disable-next-line @typescript-eslint/restrict-template-expressions\n\treturn `<${url}>`;\n}\n\n/**\n * Formats the content and the URL into a masked URL\n *\n * @param content - The content to display\n * @param url - The URL the content links to\n */\nexport function hyperlink(content: C, url: URL): `[${C}](${string})`;\n\n/**\n * Formats the content and the URL into a masked URL\n *\n * @param content - The content to display\n * @param url - The URL the content links to\n */\nexport function hyperlink(content: C, url: U): `[${C}](${U})`;\n\n/**\n * Formats the content and the URL into a masked URL\n *\n * @param content - The content to display\n * @param url - The URL the content links to\n * @param title - The title shown when hovering on the masked link\n */\nexport function hyperlink(\n\tcontent: C,\n\turl: URL,\n\ttitle: T,\n): `[${C}](${string} \"${T}\")`;\n\n/**\n * Formats the content and the URL into a masked URL\n *\n * @param content - The content to display\n * @param url - The URL the content links to\n * @param title - The title shown when hovering on the masked link\n */\nexport function hyperlink(\n\tcontent: C,\n\turl: U,\n\ttitle: T,\n): `[${C}](${U} \"${T}\")`;\nexport function hyperlink(content: string, url: string | URL, title?: string) {\n\t// eslint-disable-next-line @typescript-eslint/restrict-template-expressions\n\treturn title ? `[${content}](${url} \"${title}\")` : `[${content}](${url})`;\n}\n\n/**\n * Wraps the content inside spoiler (hidden text)\n *\n * @param content - The content to wrap\n */\nexport function spoiler(content: C): `||${C}||` {\n\treturn `||${content}||`;\n}\n\n/**\n * Formats a user ID into a user mention\n *\n * @param userId - The user ID to format\n */\nexport function userMention(userId: C): `<@${C}>` {\n\treturn `<@${userId}>`;\n}\n\n/**\n * Formats a channel ID into a channel mention\n *\n * @param channelId - The channel ID to format\n */\nexport function channelMention(channelId: C): `<#${C}>` {\n\treturn `<#${channelId}>`;\n}\n\n/**\n * Formats a role ID into a role mention\n *\n * @param roleId - The role ID to format\n */\nexport function roleMention(roleId: C): `<@&${C}>` {\n\treturn `<@&${roleId}>`;\n}\n\n/**\n * Formats an emoji ID into a fully qualified emoji identifier\n *\n * @param emojiId - The emoji ID to format\n */\nexport function formatEmoji(emojiId: C, animated?: false): `<:_:${C}>`;\n\n/**\n * Formats an emoji ID into a fully qualified emoji identifier\n *\n * @param emojiId - The emoji ID to format\n * @param animated - Whether the emoji is animated or not. Defaults to `false`\n */\nexport function formatEmoji(emojiId: C, animated?: true): ``;\n\n/**\n * Formats an emoji ID into a fully qualified emoji identifier\n *\n * @param emojiId - The emoji ID to format\n * @param animated - Whether the emoji is animated or not. Defaults to `false`\n */\nexport function formatEmoji(emojiId: C, animated = false): `` | `<:_:${C}>` {\n\treturn `<${animated ? 'a' : ''}:_:${emojiId}>`;\n}\n\n/**\n * Formats a date into a short date-time string\n *\n * @param date - The date to format, defaults to the current time\n */\nexport function time(date?: Date): ``;\n\n/**\n * Formats a date given a format style\n *\n * @param date - The date to format\n * @param style - The style to use\n */\nexport function time(date: Date, style: S): ``;\n\n/**\n * Formats the given timestamp into a short date-time string\n *\n * @param seconds - The time to format, represents an UNIX timestamp in seconds\n */\nexport function time(seconds: C): ``;\n\n/**\n * Formats the given timestamp into a short date-time string\n *\n * @param seconds - The time to format, represents an UNIX timestamp in seconds\n * @param style - The style to use\n */\nexport function time(seconds: C, style: S): ``;\nexport function time(timeOrSeconds?: number | Date, style?: TimestampStylesString): string {\n\tif (typeof timeOrSeconds !== 'number') {\n\t\ttimeOrSeconds = Math.floor((timeOrSeconds?.getTime() ?? Date.now()) / 1000);\n\t}\n\n\treturn typeof style === 'string' ? `` : ``;\n}\n\n/**\n * The [message formatting timestamp styles](https://discord.com/developers/docs/reference#message-formatting-timestamp-styles) supported by Discord\n */\nexport const TimestampStyles = {\n\t/**\n\t * Short time format, consisting of hours and minutes, e.g. 16:20\n\t */\n\tShortTime: 't',\n\n\t/**\n\t * Long time format, consisting of hours, minutes, and seconds, e.g. 16:20:30\n\t */\n\tLongTime: 'T',\n\n\t/**\n\t * Short date format, consisting of day, month, and year, e.g. 20/04/2021\n\t */\n\tShortDate: 'd',\n\n\t/**\n\t * Long date format, consisting of day, month, and year, e.g. 20 April 2021\n\t */\n\tLongDate: 'D',\n\n\t/**\n\t * Short date-time format, consisting of short date and short time formats, e.g. 20 April 2021 16:20\n\t */\n\tShortDateTime: 'f',\n\n\t/**\n\t * Long date-time format, consisting of long date and short time formats, e.g. Tuesday, 20 April 2021 16:20\n\t */\n\tLongDateTime: 'F',\n\n\t/**\n\t * Relative time format, consisting of a relative duration format, e.g. 2 months ago\n\t */\n\tRelativeTime: 'R',\n} as const;\n\n/**\n * The possible values, see {@link TimestampStyles} for more information\n */\nexport type TimestampStylesString = typeof TimestampStyles[keyof typeof TimestampStyles];\n\n/**\n * An enum with all the available faces from Discord's native slash commands\n */\nexport enum Faces {\n\t/**\n\t * ¯\\\\_(ツ)\\\\_/¯\n\t */\n\tShrug = '¯\\\\_(ツ)\\\\_/¯',\n\n\t/**\n\t * (╯°□°)╯︵ ┻━┻\n\t */\n\tTableflip = '(╯°□°)╯︵ ┻━┻',\n\n\t/**\n\t * ┬─┬ ノ( ゜-゜ノ)\n\t */\n\tUnflip = '┬─┬ ノ( ゜-゜ノ)',\n}\n","import { s } from '@sapphire/shapeshift';\nimport { APIMessageComponentEmoji, ButtonStyle } from 'discord-api-types/v10';\nimport { SelectMenuOptionBuilder } from './selectMenu/SelectMenuOption';\nimport { isValidationEnabled } from '../util/validation';\n\nexport const customIdValidator = s.string\n\t.lengthGreaterThanOrEqual(1)\n\t.lengthLessThanOrEqual(100)\n\t.setValidationEnabled(isValidationEnabled);\n\nexport const emojiValidator = s\n\t.object({\n\t\tid: s.string,\n\t\tname: s.string,\n\t\tanimated: s.boolean,\n\t})\n\t.partial.strict.setValidationEnabled(isValidationEnabled);\n\nexport const disabledValidator = s.boolean;\n\nexport const buttonLabelValidator = s.string\n\t.lengthGreaterThanOrEqual(1)\n\t.lengthLessThanOrEqual(80)\n\t.setValidationEnabled(isValidationEnabled);\n\nexport const buttonStyleValidator = s.nativeEnum(ButtonStyle);\n\nexport const placeholderValidator = s.string.lengthLessThanOrEqual(150).setValidationEnabled(isValidationEnabled);\nexport const minMaxValidator = s.number.int\n\t.greaterThanOrEqual(0)\n\t.lessThanOrEqual(25)\n\t.setValidationEnabled(isValidationEnabled);\n\nexport const labelValueDescriptionValidator = s.string\n\t.lengthGreaterThanOrEqual(1)\n\t.lengthLessThanOrEqual(100)\n\t.setValidationEnabled(isValidationEnabled);\nexport const optionValidator = s\n\t.union(\n\t\ts.object({\n\t\t\tlabel: labelValueDescriptionValidator,\n\t\t\tvalue: labelValueDescriptionValidator,\n\t\t\tdescription: labelValueDescriptionValidator.optional,\n\t\t\temoji: emojiValidator.optional,\n\t\t\tdefault: s.boolean.optional,\n\t\t}),\n\t\ts.instance(SelectMenuOptionBuilder),\n\t)\n\t.setValidationEnabled(isValidationEnabled);\n\nexport const optionsValidator = optionValidator.array\n\t.lengthGreaterThanOrEqual(0)\n\t.setValidationEnabled(isValidationEnabled);\nexport const optionsLengthValidator = s.number.int\n\t.greaterThanOrEqual(0)\n\t.lessThanOrEqual(25)\n\t.setValidationEnabled(isValidationEnabled);\n\nexport function validateRequiredSelectMenuParameters(options: SelectMenuOptionBuilder[], customId?: string) {\n\tcustomIdValidator.parse(customId);\n\toptionsValidator.parse(options);\n}\n\nexport const defaultValidator = s.boolean;\n\nexport function validateRequiredSelectMenuOptionParameters(label?: string, value?: string) {\n\tlabelValueDescriptionValidator.parse(label);\n\tlabelValueDescriptionValidator.parse(value);\n}\n\nexport const urlValidator = s.string\n\t.url({\n\t\tallowedProtocols: ['http:', 'https:', 'discord:'],\n\t})\n\t.setValidationEnabled(isValidationEnabled);\n\nexport function validateRequiredButtonParameters(\n\tstyle?: ButtonStyle,\n\tlabel?: string,\n\temoji?: APIMessageComponentEmoji,\n\tcustomId?: string,\n\turl?: string,\n) {\n\tif (url && customId) {\n\t\tthrow new RangeError('URL and custom id are mutually exclusive');\n\t}\n\n\tif (!label && !emoji) {\n\t\tthrow new RangeError('Buttons must have a label and/or an emoji');\n\t}\n\n\tif (style === ButtonStyle.Link) {\n\t\tif (!url) {\n\t\t\tthrow new RangeError('Link buttons must have a url');\n\t\t}\n\t} else if (url) {\n\t\tthrow new RangeError('Non-link buttons cannot have a url');\n\t}\n}\n","import type { APIMessageComponentEmoji, APISelectMenuOption } from 'discord-api-types/v10';\n\nimport {\n\tdefaultValidator,\n\temojiValidator,\n\tlabelValueDescriptionValidator,\n\tvalidateRequiredSelectMenuOptionParameters,\n} from '../Assertions';\n\n/**\n * Represents a option within a select menu component\n */\nexport class SelectMenuOptionBuilder {\n\tpublic constructor(public data: Partial = {}) {}\n\n\t/**\n\t * Sets the label of this option\n\t *\n\t * @param label - The label to show on this option\n\t */\n\tpublic setLabel(label: string) {\n\t\tthis.data.label = labelValueDescriptionValidator.parse(label);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the value of this option\n\t *\n\t * @param value - The value of this option\n\t */\n\tpublic setValue(value: string) {\n\t\tthis.data.value = labelValueDescriptionValidator.parse(value);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the description of this option\n\t *\n\t * @param description - The description of this option\n\t */\n\tpublic setDescription(description: string) {\n\t\tthis.data.description = labelValueDescriptionValidator.parse(description);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets whether this option is selected by default\n\t *\n\t * @param isDefault - Whether this option is selected by default\n\t */\n\tpublic setDefault(isDefault = true) {\n\t\tthis.data.default = defaultValidator.parse(isDefault);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the emoji to display on this option\n\t *\n\t * @param emoji - The emoji to display on this option\n\t */\n\tpublic setEmoji(emoji: APIMessageComponentEmoji) {\n\t\tthis.data.emoji = emojiValidator.parse(emoji);\n\t\treturn this;\n\t}\n\n\tpublic toJSON(): APISelectMenuOption {\n\t\tvalidateRequiredSelectMenuOptionParameters(this.data.label, this.data.value);\n\t\t// eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n\t\treturn {\n\t\t\t...this.data,\n\t\t} as APISelectMenuOption;\n\t}\n}\n","import {\n\ttype APIActionRowComponent,\n\tComponentType,\n\tAPIMessageActionRowComponent,\n\tAPIModalActionRowComponent,\n\tAPIActionRowComponentTypes,\n} from 'discord-api-types/v10';\nimport { ComponentBuilder } from './Component';\nimport { createComponentBuilder } from './Components';\nimport type { ButtonBuilder } from './button/Button';\nimport type { SelectMenuBuilder } from './selectMenu/SelectMenu';\nimport type { TextInputBuilder } from './textInput/TextInput';\nimport { normalizeArray, type RestOrArray } from '../util/normalizeArray';\n\nexport type MessageComponentBuilder =\n\t| MessageActionRowComponentBuilder\n\t| ActionRowBuilder;\nexport type ModalComponentBuilder = ModalActionRowComponentBuilder | ActionRowBuilder;\nexport type MessageActionRowComponentBuilder = ButtonBuilder | SelectMenuBuilder;\nexport type ModalActionRowComponentBuilder = TextInputBuilder;\nexport type AnyComponentBuilder = MessageActionRowComponentBuilder | ModalActionRowComponentBuilder;\n\n/**\n * Represents an action row component\n */\nexport class ActionRowBuilder extends ComponentBuilder<\n\tAPIActionRowComponent\n> {\n\t/**\n\t * The components within this action row\n\t */\n\tpublic readonly components: T[];\n\n\tpublic constructor({ components, ...data }: Partial> = {}) {\n\t\tsuper({ type: ComponentType.ActionRow, ...data });\n\t\tthis.components = (components?.map((c) => createComponentBuilder(c)) ?? []) as T[];\n\t}\n\n\t/**\n\t * Adds components to this action row.\n\t *\n\t * @param components - The components to add to this action row.\n\t */\n\tpublic addComponents(...components: RestOrArray) {\n\t\tthis.components.push(...normalizeArray(components));\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the components in this action row\n\t *\n\t * @param components - The components to set this row to\n\t */\n\tpublic setComponents(...components: RestOrArray) {\n\t\tthis.components.splice(0, this.components.length, ...normalizeArray(components));\n\t\treturn this;\n\t}\n\n\tpublic toJSON(): APIActionRowComponent> {\n\t\t// eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n\t\treturn {\n\t\t\t...this.data,\n\t\t\tcomponents: this.components.map((component) => component.toJSON()),\n\t\t} as APIActionRowComponent>;\n\t}\n}\n","import type {\n\tAPIActionRowComponent,\n\tAPIActionRowComponentTypes,\n\tAPIBaseComponent,\n\tComponentType,\n} from 'discord-api-types/v10';\nimport type { JSONEncodable } from '../util/jsonEncodable';\n\nexport type AnyAPIActionRowComponent = APIActionRowComponentTypes | APIActionRowComponent;\n\n/**\n * Represents a discord component\n */\nexport abstract class ComponentBuilder<\n\tDataType extends Partial> = APIBaseComponent,\n> implements JSONEncodable\n{\n\t/**\n\t * The API data associated with this component\n\t */\n\tpublic readonly data: Partial;\n\n\tpublic abstract toJSON(): AnyAPIActionRowComponent;\n\n\tpublic constructor(data: Partial) {\n\t\tthis.data = data;\n\t}\n}\n","import { APIMessageComponent, APIModalComponent, ComponentType } from 'discord-api-types/v10';\nimport {\n\tActionRowBuilder,\n\ttype AnyComponentBuilder,\n\ttype MessageComponentBuilder,\n\ttype ModalComponentBuilder,\n} from './ActionRow';\nimport { ComponentBuilder } from './Component';\nimport { ButtonBuilder } from './button/Button';\nimport { SelectMenuBuilder } from './selectMenu/SelectMenu';\nimport { TextInputBuilder } from './textInput/TextInput';\n\nexport interface MappedComponentTypes {\n\t[ComponentType.ActionRow]: ActionRowBuilder;\n\t[ComponentType.Button]: ButtonBuilder;\n\t[ComponentType.SelectMenu]: SelectMenuBuilder;\n\t[ComponentType.TextInput]: TextInputBuilder;\n}\n\n/**\n * Factory for creating components from API data\n *\n * @param data - The api data to transform to a component class\n */\nexport function createComponentBuilder(\n\tdata: (APIMessageComponent | APIModalComponent) & { type: T },\n): MappedComponentTypes[T];\nexport function createComponentBuilder(data: C): C;\nexport function createComponentBuilder(\n\tdata: APIMessageComponent | APIModalComponent | MessageComponentBuilder,\n): ComponentBuilder {\n\tif (data instanceof ComponentBuilder) {\n\t\treturn data;\n\t}\n\n\tswitch (data.type) {\n\t\tcase ComponentType.ActionRow:\n\t\t\treturn new ActionRowBuilder(data);\n\t\tcase ComponentType.Button:\n\t\t\treturn new ButtonBuilder(data);\n\t\tcase ComponentType.SelectMenu:\n\t\t\treturn new SelectMenuBuilder(data);\n\t\tcase ComponentType.TextInput:\n\t\t\treturn new TextInputBuilder(data);\n\t\tdefault:\n\t\t\t// @ts-expect-error\n\t\t\t// eslint-disable-next-line @typescript-eslint/restrict-template-expressions\n\t\t\tthrow new Error(`Cannot properly serialize component type: ${data.type}`);\n\t}\n}\n","import {\n\tComponentType,\n\tButtonStyle,\n\ttype APIMessageComponentEmoji,\n\ttype APIButtonComponent,\n\ttype APIButtonComponentWithURL,\n\ttype APIButtonComponentWithCustomId,\n} from 'discord-api-types/v10';\nimport {\n\tbuttonLabelValidator,\n\tbuttonStyleValidator,\n\tcustomIdValidator,\n\tdisabledValidator,\n\temojiValidator,\n\turlValidator,\n\tvalidateRequiredButtonParameters,\n} from '../Assertions';\nimport { ComponentBuilder } from '../Component';\n\n/**\n * Represents a button component\n */\nexport class ButtonBuilder extends ComponentBuilder {\n\tpublic constructor(data?: Partial) {\n\t\tsuper({ type: ComponentType.Button, ...data });\n\t}\n\n\t/**\n\t * Sets the style of this button\n\t *\n\t * @param style - The style of the button\n\t */\n\tpublic setStyle(style: ButtonStyle) {\n\t\tthis.data.style = buttonStyleValidator.parse(style);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the URL for this button\n\t *\n\t * @param url - The URL to open when this button is clicked\n\t */\n\tpublic setURL(url: string) {\n\t\t(this.data as APIButtonComponentWithURL).url = urlValidator.parse(url);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the custom id for this button\n\t *\n\t * @param customId - The custom id to use for this button\n\t */\n\tpublic setCustomId(customId: string) {\n\t\t(this.data as APIButtonComponentWithCustomId).custom_id = customIdValidator.parse(customId);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the emoji to display on this button\n\t *\n\t * @param emoji - The emoji to display on this button\n\t */\n\tpublic setEmoji(emoji: APIMessageComponentEmoji) {\n\t\tthis.data.emoji = emojiValidator.parse(emoji);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets whether this button is disabled\n\t *\n\t * @param disabled - Whether to disable this button\n\t */\n\tpublic setDisabled(disabled = true) {\n\t\tthis.data.disabled = disabledValidator.parse(disabled);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the label for this button\n\t *\n\t * @param label - The label to display on this button\n\t */\n\tpublic setLabel(label: string) {\n\t\tthis.data.label = buttonLabelValidator.parse(label);\n\t\treturn this;\n\t}\n\n\tpublic toJSON(): APIButtonComponent {\n\t\tvalidateRequiredButtonParameters(\n\t\t\tthis.data.style,\n\t\t\tthis.data.label,\n\t\t\tthis.data.emoji,\n\t\t\t(this.data as APIButtonComponentWithCustomId).custom_id,\n\t\t\t(this.data as APIButtonComponentWithURL).url,\n\t\t);\n\t\t// eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n\t\treturn {\n\t\t\t...this.data,\n\t\t} as APIButtonComponent;\n\t}\n}\n","import { APISelectMenuOption, ComponentType, type APISelectMenuComponent } from 'discord-api-types/v10';\nimport { SelectMenuOptionBuilder } from './SelectMenuOption';\nimport { normalizeArray, type RestOrArray } from '../../util/normalizeArray';\nimport {\n\tcustomIdValidator,\n\tdisabledValidator,\n\tminMaxValidator,\n\toptionsLengthValidator,\n\toptionValidator,\n\tplaceholderValidator,\n\tvalidateRequiredSelectMenuParameters,\n} from '../Assertions';\nimport { ComponentBuilder } from '../Component';\n\n/**\n * Represents a select menu component\n */\nexport class SelectMenuBuilder extends ComponentBuilder {\n\t/**\n\t * The options within this select menu\n\t */\n\tpublic readonly options: SelectMenuOptionBuilder[];\n\n\tpublic constructor(data?: Partial) {\n\t\tconst { options, ...initData } = data ?? {};\n\t\tsuper({ type: ComponentType.SelectMenu, ...initData });\n\t\tthis.options = options?.map((o) => new SelectMenuOptionBuilder(o)) ?? [];\n\t}\n\n\t/**\n\t * Sets the placeholder for this select menu\n\t *\n\t * @param placeholder - The placeholder to use for this select menu\n\t */\n\tpublic setPlaceholder(placeholder: string) {\n\t\tthis.data.placeholder = placeholderValidator.parse(placeholder);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the minimum values that must be selected in the select menu\n\t *\n\t * @param minValues - The minimum values that must be selected\n\t */\n\tpublic setMinValues(minValues: number) {\n\t\tthis.data.min_values = minMaxValidator.parse(minValues);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the maximum values that must be selected in the select menu\n\t *\n\t * @param maxValues - The maximum values that must be selected\n\t */\n\tpublic setMaxValues(maxValues: number) {\n\t\tthis.data.max_values = minMaxValidator.parse(maxValues);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the custom id for this select menu\n\t *\n\t * @param customId - The custom id to use for this select menu\n\t */\n\tpublic setCustomId(customId: string) {\n\t\tthis.data.custom_id = customIdValidator.parse(customId);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets whether this select menu is disabled\n\t *\n\t * @param disabled - Whether this select menu is disabled\n\t */\n\tpublic setDisabled(disabled = true) {\n\t\tthis.data.disabled = disabledValidator.parse(disabled);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Adds options to this select menu\n\t *\n\t * @param options - The options to add to this select menu\n\t * @returns\n\t */\n\tpublic addOptions(...options: RestOrArray) {\n\t\toptions = normalizeArray(options);\n\t\toptionsLengthValidator.parse(this.options.length + options.length);\n\t\tthis.options.push(\n\t\t\t...options.map((option) =>\n\t\t\t\toption instanceof SelectMenuOptionBuilder\n\t\t\t\t\t? option\n\t\t\t\t\t: new SelectMenuOptionBuilder(optionValidator.parse(option)),\n\t\t\t),\n\t\t);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the options on this select menu\n\t *\n\t * @param options - The options to set on this select menu\n\t */\n\tpublic setOptions(...options: RestOrArray) {\n\t\toptions = normalizeArray(options);\n\t\toptionsLengthValidator.parse(options.length);\n\t\tthis.options.splice(\n\t\t\t0,\n\t\t\tthis.options.length,\n\t\t\t...options.map((option) =>\n\t\t\t\toption instanceof SelectMenuOptionBuilder\n\t\t\t\t\t? option\n\t\t\t\t\t: new SelectMenuOptionBuilder(optionValidator.parse(option)),\n\t\t\t),\n\t\t);\n\t\treturn this;\n\t}\n\n\tpublic toJSON(): APISelectMenuComponent {\n\t\tvalidateRequiredSelectMenuParameters(this.options, this.data.custom_id);\n\t\t// eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n\t\treturn {\n\t\t\t...this.data,\n\t\t\toptions: this.options.map((o) => o.toJSON()),\n\t\t} as APISelectMenuComponent;\n\t}\n}\n","import { ComponentType, type TextInputStyle, type APITextInputComponent } from 'discord-api-types/v10';\nimport isEqual from 'fast-deep-equal';\nimport {\n\tmaxLengthValidator,\n\tminLengthValidator,\n\tplaceholderValidator,\n\trequiredValidator,\n\tvalueValidator,\n\tvalidateRequiredParameters,\n\tlabelValidator,\n\ttextInputStyleValidator,\n} from './Assertions';\nimport { isJSONEncodable, type JSONEncodable } from '../../util/jsonEncodable';\nimport { customIdValidator } from '../Assertions';\nimport { ComponentBuilder } from '../Component';\n\nexport class TextInputBuilder extends ComponentBuilder {\n\tpublic constructor(data?: APITextInputComponent & { type?: ComponentType.TextInput }) {\n\t\tsuper({ type: ComponentType.TextInput, ...data });\n\t}\n\n\t/**\n\t * Sets the custom id for this text input\n\t *\n\t * @param customId - The custom id of this text input\n\t */\n\tpublic setCustomId(customId: string) {\n\t\tthis.data.custom_id = customIdValidator.parse(customId);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the label for this text input\n\t *\n\t * @param label - The label for this text input\n\t */\n\tpublic setLabel(label: string) {\n\t\tthis.data.label = labelValidator.parse(label);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the style for this text input\n\t *\n\t * @param style - The style for this text input\n\t */\n\tpublic setStyle(style: TextInputStyle) {\n\t\tthis.data.style = textInputStyleValidator.parse(style);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the minimum length of text for this text input\n\t *\n\t * @param minLength - The minimum length of text for this text input\n\t */\n\tpublic setMinLength(minLength: number) {\n\t\tthis.data.min_length = minLengthValidator.parse(minLength);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the maximum length of text for this text input\n\t *\n\t * @param maxLength - The maximum length of text for this text input\n\t */\n\tpublic setMaxLength(maxLength: number) {\n\t\tthis.data.max_length = maxLengthValidator.parse(maxLength);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the placeholder of this text input\n\t *\n\t * @param placeholder - The placeholder of this text input\n\t */\n\tpublic setPlaceholder(placeholder: string) {\n\t\tthis.data.placeholder = placeholderValidator.parse(placeholder);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the value of this text input\n\t *\n\t * @param value - The value for this text input\n\t */\n\tpublic setValue(value: string) {\n\t\tthis.data.value = valueValidator.parse(value);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets whether this text input is required\n\t *\n\t * @param required - Whether this text input is required\n\t */\n\tpublic setRequired(required = true) {\n\t\tthis.data.required = requiredValidator.parse(required);\n\t\treturn this;\n\t}\n\n\tpublic toJSON(): APITextInputComponent {\n\t\tvalidateRequiredParameters(this.data.custom_id, this.data.style, this.data.label);\n\t\t// eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n\t\treturn {\n\t\t\t...this.data,\n\t\t} as APITextInputComponent;\n\t}\n\n\tpublic equals(other: JSONEncodable | APITextInputComponent): boolean {\n\t\tif (isJSONEncodable(other)) {\n\t\t\treturn isEqual(other.toJSON(), this.data);\n\t\t}\n\n\t\treturn isEqual(other, this.data);\n\t}\n}\n","import { s } from '@sapphire/shapeshift';\nimport { TextInputStyle } from 'discord-api-types/v10';\nimport { isValidationEnabled } from '../../util/validation';\nimport { customIdValidator } from '../Assertions';\n\nexport const textInputStyleValidator = s.nativeEnum(TextInputStyle);\nexport const minLengthValidator = s.number.int\n\t.greaterThanOrEqual(0)\n\t.lessThanOrEqual(4000)\n\t.setValidationEnabled(isValidationEnabled);\nexport const maxLengthValidator = s.number.int\n\t.greaterThanOrEqual(1)\n\t.lessThanOrEqual(4000)\n\t.setValidationEnabled(isValidationEnabled);\nexport const requiredValidator = s.boolean;\nexport const valueValidator = s.string.lengthLessThanOrEqual(4000).setValidationEnabled(isValidationEnabled);\nexport const placeholderValidator = s.string.lengthLessThanOrEqual(100).setValidationEnabled(isValidationEnabled);\nexport const labelValidator = s.string\n\t.lengthGreaterThanOrEqual(1)\n\t.lengthLessThanOrEqual(45)\n\t.setValidationEnabled(isValidationEnabled);\n\nexport function validateRequiredParameters(customId?: string, style?: TextInputStyle, label?: string) {\n\tcustomIdValidator.parse(customId);\n\ttextInputStyleValidator.parse(style);\n\tlabelValidator.parse(label);\n}\n","export interface JSONEncodable {\n\t/**\n\t * Transforms this object to its JSON format\n\t */\n\ttoJSON: () => T;\n}\n\n/**\n * Indicates if an object is encodable or not.\n * @param maybeEncodable - The object to check against\n */\nexport function isJSONEncodable(maybeEncodable: unknown): maybeEncodable is JSONEncodable {\n\treturn maybeEncodable !== null && typeof maybeEncodable === 'object' && 'toJSON' in maybeEncodable;\n}\n","import { s } from '@sapphire/shapeshift';\nimport { ActionRowBuilder, type ModalActionRowComponentBuilder } from '../../components/ActionRow';\nimport { customIdValidator } from '../../components/Assertions';\nimport { isValidationEnabled } from '../../util/validation';\n\nexport const titleValidator = s.string\n\t.lengthGreaterThanOrEqual(1)\n\t.lengthLessThanOrEqual(45)\n\t.setValidationEnabled(isValidationEnabled);\nexport const componentsValidator = s\n\t.instance(ActionRowBuilder)\n\t.array.lengthGreaterThanOrEqual(1)\n\t.setValidationEnabled(isValidationEnabled);\n\nexport function validateRequiredParameters(\n\tcustomId?: string,\n\ttitle?: string,\n\tcomponents?: ActionRowBuilder[],\n) {\n\tcustomIdValidator.parse(customId);\n\ttitleValidator.parse(title);\n\tcomponentsValidator.parse(components);\n}\n","import type {\n\tAPIActionRowComponent,\n\tAPIModalActionRowComponent,\n\tAPIModalInteractionResponseCallbackData,\n} from 'discord-api-types/v10';\nimport { titleValidator, validateRequiredParameters } from './Assertions';\nimport { ActionRowBuilder, type ModalActionRowComponentBuilder } from '../../components/ActionRow';\nimport { customIdValidator } from '../../components/Assertions';\nimport { createComponentBuilder } from '../../components/Components';\nimport type { JSONEncodable } from '../../util/jsonEncodable';\nimport { normalizeArray, type RestOrArray } from '../../util/normalizeArray';\n\nexport class ModalBuilder implements JSONEncodable {\n\tpublic readonly data: Partial;\n\tpublic readonly components: ActionRowBuilder[] = [];\n\n\tpublic constructor({ components, ...data }: Partial = {}) {\n\t\tthis.data = { ...data };\n\t\tthis.components = (components?.map((c) => createComponentBuilder(c)) ??\n\t\t\t[]) as ActionRowBuilder[];\n\t}\n\n\t/**\n\t * Sets the title of the modal\n\t *\n\t * @param title - The title of the modal\n\t */\n\tpublic setTitle(title: string) {\n\t\tthis.data.title = titleValidator.parse(title);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the custom id of the modal\n\t *\n\t * @param customId - The custom id of this modal\n\t */\n\tpublic setCustomId(customId: string) {\n\t\tthis.data.custom_id = customIdValidator.parse(customId);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Adds components to this modal\n\t *\n\t * @param components - The components to add to this modal\n\t */\n\tpublic addComponents(\n\t\t...components: RestOrArray<\n\t\t\tActionRowBuilder | APIActionRowComponent\n\t\t>\n\t) {\n\t\tthis.components.push(\n\t\t\t...normalizeArray(components).map((component) =>\n\t\t\t\tcomponent instanceof ActionRowBuilder\n\t\t\t\t\t? component\n\t\t\t\t\t: new ActionRowBuilder(component),\n\t\t\t),\n\t\t);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the components in this modal\n\t *\n\t * @param components - The components to set this modal to\n\t */\n\tpublic setComponents(...components: RestOrArray>) {\n\t\tthis.components.splice(0, this.components.length, ...normalizeArray(components));\n\t\treturn this;\n\t}\n\n\tpublic toJSON(): APIModalInteractionResponseCallbackData {\n\t\tvalidateRequiredParameters(this.data.custom_id, this.data.title, this.components);\n\t\t// eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n\t\treturn {\n\t\t\t...this.data,\n\t\t\tcomponents: this.components.map((component) => component.toJSON()),\n\t\t} as APIModalInteractionResponseCallbackData;\n\t}\n}\n","import { s } from '@sapphire/shapeshift';\nimport { type APIApplicationCommandOptionChoice, Locale, LocalizationMap } from 'discord-api-types/v10';\nimport type { ToAPIApplicationCommandOptions } from './SlashCommandBuilder';\nimport type { SlashCommandSubcommandBuilder, SlashCommandSubcommandGroupBuilder } from './SlashCommandSubcommands';\nimport type { ApplicationCommandOptionBase } from './mixins/ApplicationCommandOptionBase';\nimport { isValidationEnabled } from '../../util/validation';\n\nconst namePredicate = s.string\n\t.lengthGreaterThanOrEqual(1)\n\t.lengthLessThanOrEqual(32)\n\t.regex(/^[\\p{Ll}\\p{Lm}\\p{Lo}\\p{N}\\p{sc=Devanagari}\\p{sc=Thai}_-]+$/u)\n\t.setValidationEnabled(isValidationEnabled);\n\nexport function validateName(name: unknown): asserts name is string {\n\tnamePredicate.parse(name);\n}\n\nconst descriptionPredicate = s.string\n\t.lengthGreaterThanOrEqual(1)\n\t.lengthLessThanOrEqual(100)\n\t.setValidationEnabled(isValidationEnabled);\nconst localePredicate = s.nativeEnum(Locale);\n\nexport function validateDescription(description: unknown): asserts description is string {\n\tdescriptionPredicate.parse(description);\n}\n\nconst maxArrayLengthPredicate = s.unknown.array.lengthLessThanOrEqual(25).setValidationEnabled(isValidationEnabled);\nexport function validateLocale(locale: unknown) {\n\treturn localePredicate.parse(locale);\n}\n\nexport function validateMaxOptionsLength(options: unknown): asserts options is ToAPIApplicationCommandOptions[] {\n\tmaxArrayLengthPredicate.parse(options);\n}\n\nexport function validateRequiredParameters(\n\tname: string,\n\tdescription: string,\n\toptions: ToAPIApplicationCommandOptions[],\n) {\n\t// Assert name matches all conditions\n\tvalidateName(name);\n\n\t// Assert description conditions\n\tvalidateDescription(description);\n\n\t// Assert options conditions\n\tvalidateMaxOptionsLength(options);\n}\n\nconst booleanPredicate = s.boolean;\n\nexport function validateDefaultPermission(value: unknown): asserts value is boolean {\n\tbooleanPredicate.parse(value);\n}\n\nexport function validateRequired(required: unknown): asserts required is boolean {\n\tbooleanPredicate.parse(required);\n}\n\nconst choicesLengthPredicate = s.number.lessThanOrEqual(25).setValidationEnabled(isValidationEnabled);\n\nexport function validateChoicesLength(amountAdding: number, choices?: APIApplicationCommandOptionChoice[]): void {\n\tchoicesLengthPredicate.parse((choices?.length ?? 0) + amountAdding);\n}\n\nexport function assertReturnOfBuilder<\n\tT extends ApplicationCommandOptionBase | SlashCommandSubcommandBuilder | SlashCommandSubcommandGroupBuilder,\n>(input: unknown, ExpectedInstanceOf: new () => T): asserts input is T {\n\ts.instance(ExpectedInstanceOf).parse(input);\n}\n\nexport const localizationMapPredicate = s\n\t.object(Object.fromEntries(Object.values(Locale).map((locale) => [locale, s.string.nullish])))\n\t.strict.nullish.setValidationEnabled(isValidationEnabled);\n\nexport function validateLocalizationMap(value: unknown): asserts value is LocalizationMap {\n\tlocalizationMapPredicate.parse(value);\n}\n\nconst dmPermissionPredicate = s.boolean.nullish;\n\nexport function validateDMPermission(value: unknown): asserts value is boolean | null | undefined {\n\tdmPermissionPredicate.parse(value);\n}\n\nconst memberPermissionPredicate = s.union(\n\ts.bigint.transform((value) => value.toString()),\n\ts.number.safeInt.transform((value) => value.toString()),\n\ts.string.regex(/^\\d+$/),\n).nullish;\n\nexport function validateDefaultMemberPermissions(permissions: unknown) {\n\treturn memberPermissionPredicate.parse(permissions);\n}\n","import type {\n\tAPIApplicationCommandOption,\n\tLocalizationMap,\n\tPermissions,\n\tRESTPostAPIApplicationCommandsJSONBody,\n} from 'discord-api-types/v10';\nimport { mix } from 'ts-mixer';\nimport {\n\tassertReturnOfBuilder,\n\tvalidateDefaultMemberPermissions,\n\tvalidateDefaultPermission,\n\tvalidateLocalizationMap,\n\tvalidateDMPermission,\n\tvalidateMaxOptionsLength,\n\tvalidateRequiredParameters,\n} from './Assertions';\nimport { SlashCommandSubcommandBuilder, SlashCommandSubcommandGroupBuilder } from './SlashCommandSubcommands';\nimport { SharedNameAndDescription } from './mixins/NameAndDescription';\nimport { SharedSlashCommandOptions } from './mixins/SharedSlashCommandOptions';\n\n@mix(SharedSlashCommandOptions, SharedNameAndDescription)\nexport class SlashCommandBuilder {\n\t/**\n\t * The name of this slash command\n\t */\n\tpublic readonly name: string = undefined!;\n\n\t/**\n\t * The localized names for this command\n\t */\n\tpublic readonly name_localizations?: LocalizationMap;\n\n\t/**\n\t * The description of this slash command\n\t */\n\tpublic readonly description: string = undefined!;\n\n\t/**\n\t * The localized descriptions for this command\n\t */\n\tpublic readonly description_localizations?: LocalizationMap;\n\n\t/**\n\t * The options of this slash command\n\t */\n\tpublic readonly options: ToAPIApplicationCommandOptions[] = [];\n\n\t/**\n\t * Whether the command is enabled by default when the app is added to a guild\n\t *\n\t * @deprecated This property is deprecated and will be removed in the future.\n\t * You should use `setDefaultMemberPermissions` or `setDMPermission` instead.\n\t */\n\tpublic readonly default_permission: boolean | undefined = undefined;\n\n\t/**\n\t * Set of permissions represented as a bit set for the command\n\t */\n\tpublic readonly default_member_permissions: Permissions | null | undefined = undefined;\n\n\t/**\n\t * Indicates whether the command is available in DMs with the application, only for globally-scoped commands.\n\t * By default, commands are visible.\n\t */\n\tpublic readonly dm_permission: boolean | undefined = undefined;\n\n\t/**\n\t * Returns the final data that should be sent to Discord.\n\t *\n\t * **Note:** Calling this function will validate required properties based on their conditions.\n\t */\n\tpublic toJSON(): RESTPostAPIApplicationCommandsJSONBody {\n\t\tvalidateRequiredParameters(this.name, this.description, this.options);\n\n\t\tvalidateLocalizationMap(this.name_localizations);\n\t\tvalidateLocalizationMap(this.description_localizations);\n\n\t\treturn {\n\t\t\t...this,\n\t\t\toptions: this.options.map((option) => option.toJSON()),\n\t\t};\n\t}\n\n\t/**\n\t * Sets whether the command is enabled by default when the application is added to a guild.\n\t *\n\t * **Note**: If set to `false`, you will have to later `PUT` the permissions for this command.\n\t *\n\t * @param value - Whether or not to enable this command by default\n\t *\n\t * @see https://discord.com/developers/docs/interactions/application-commands#permissions\n\t * @deprecated Use `setDefaultMemberPermissions` or `setDMPermission` instead.\n\t */\n\tpublic setDefaultPermission(value: boolean) {\n\t\t// Assert the value matches the conditions\n\t\tvalidateDefaultPermission(value);\n\n\t\tReflect.set(this, 'default_permission', value);\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the default permissions a member should have in order to run the command.\n\t *\n\t * **Note:** You can set this to `'0'` to disable the command by default.\n\t *\n\t * @param permissions - The permissions bit field to set\n\t *\n\t * @see https://discord.com/developers/docs/interactions/application-commands#permissions\n\t */\n\tpublic setDefaultMemberPermissions(permissions: Permissions | bigint | number | null | undefined) {\n\t\t// Assert the value and parse it\n\t\tconst permissionValue = validateDefaultMemberPermissions(permissions);\n\n\t\tReflect.set(this, 'default_member_permissions', permissionValue);\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets if the command is available in DMs with the application, only for globally-scoped commands.\n\t * By default, commands are visible.\n\t *\n\t * @param enabled - If the command should be enabled in DMs\n\t *\n\t * @see https://discord.com/developers/docs/interactions/application-commands#permissions\n\t */\n\tpublic setDMPermission(enabled: boolean | null | undefined) {\n\t\t// Assert the value matches the conditions\n\t\tvalidateDMPermission(enabled);\n\n\t\tReflect.set(this, 'dm_permission', enabled);\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Adds a new subcommand group to this command\n\t *\n\t * @param input - A function that returns a subcommand group builder, or an already built builder\n\t */\n\tpublic addSubcommandGroup(\n\t\tinput:\n\t\t\t| SlashCommandSubcommandGroupBuilder\n\t\t\t| ((subcommandGroup: SlashCommandSubcommandGroupBuilder) => SlashCommandSubcommandGroupBuilder),\n\t): SlashCommandSubcommandsOnlyBuilder {\n\t\tconst { options } = this;\n\n\t\t// First, assert options conditions - we cannot have more than 25 options\n\t\tvalidateMaxOptionsLength(options);\n\n\t\t// Get the final result\n\t\tconst result = typeof input === 'function' ? input(new SlashCommandSubcommandGroupBuilder()) : input;\n\n\t\tassertReturnOfBuilder(result, SlashCommandSubcommandGroupBuilder);\n\n\t\t// Push it\n\t\toptions.push(result);\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Adds a new subcommand to this command\n\t *\n\t * @param input - A function that returns a subcommand builder, or an already built builder\n\t */\n\tpublic addSubcommand(\n\t\tinput:\n\t\t\t| SlashCommandSubcommandBuilder\n\t\t\t| ((subcommandGroup: SlashCommandSubcommandBuilder) => SlashCommandSubcommandBuilder),\n\t): SlashCommandSubcommandsOnlyBuilder {\n\t\tconst { options } = this;\n\n\t\t// First, assert options conditions - we cannot have more than 25 options\n\t\tvalidateMaxOptionsLength(options);\n\n\t\t// Get the final result\n\t\tconst result = typeof input === 'function' ? input(new SlashCommandSubcommandBuilder()) : input;\n\n\t\tassertReturnOfBuilder(result, SlashCommandSubcommandBuilder);\n\n\t\t// Push it\n\t\toptions.push(result);\n\n\t\treturn this;\n\t}\n}\n\nexport interface SlashCommandBuilder extends SharedNameAndDescription, SharedSlashCommandOptions {}\n\nexport interface SlashCommandSubcommandsOnlyBuilder\n\textends SharedNameAndDescription,\n\t\tPick {}\n\nexport interface SlashCommandOptionsOnlyBuilder\n\textends SharedNameAndDescription,\n\t\tSharedSlashCommandOptions,\n\t\tPick {}\n\nexport interface ToAPIApplicationCommandOptions {\n\ttoJSON: () => APIApplicationCommandOption;\n}\n","import {\n\tAPIApplicationCommandSubcommandGroupOption,\n\tAPIApplicationCommandSubcommandOption,\n\tApplicationCommandOptionType,\n} from 'discord-api-types/v10';\nimport { mix } from 'ts-mixer';\nimport { assertReturnOfBuilder, validateMaxOptionsLength, validateRequiredParameters } from './Assertions';\nimport type { ToAPIApplicationCommandOptions } from './SlashCommandBuilder';\nimport type { ApplicationCommandOptionBase } from './mixins/ApplicationCommandOptionBase';\nimport { SharedNameAndDescription } from './mixins/NameAndDescription';\nimport { SharedSlashCommandOptions } from './mixins/SharedSlashCommandOptions';\n\n/**\n * Represents a folder for subcommands\n *\n * For more information, go to https://discord.com/developers/docs/interactions/application-commands#subcommands-and-subcommand-groups\n */\n@mix(SharedNameAndDescription)\nexport class SlashCommandSubcommandGroupBuilder implements ToAPIApplicationCommandOptions {\n\t/**\n\t * The name of this subcommand group\n\t */\n\tpublic readonly name: string = undefined!;\n\n\t/**\n\t * The description of this subcommand group\n\t */\n\tpublic readonly description: string = undefined!;\n\n\t/**\n\t * The subcommands part of this subcommand group\n\t */\n\tpublic readonly options: SlashCommandSubcommandBuilder[] = [];\n\n\t/**\n\t * Adds a new subcommand to this group\n\t *\n\t * @param input - A function that returns a subcommand builder, or an already built builder\n\t */\n\tpublic addSubcommand(\n\t\tinput:\n\t\t\t| SlashCommandSubcommandBuilder\n\t\t\t| ((subcommandGroup: SlashCommandSubcommandBuilder) => SlashCommandSubcommandBuilder),\n\t) {\n\t\tconst { options } = this;\n\n\t\t// First, assert options conditions - we cannot have more than 25 options\n\t\tvalidateMaxOptionsLength(options);\n\n\t\t// Get the final result\n\t\t// eslint-disable-next-line @typescript-eslint/no-use-before-define\n\t\tconst result = typeof input === 'function' ? input(new SlashCommandSubcommandBuilder()) : input;\n\n\t\t// eslint-disable-next-line @typescript-eslint/no-use-before-define\n\t\tassertReturnOfBuilder(result, SlashCommandSubcommandBuilder);\n\n\t\t// Push it\n\t\toptions.push(result);\n\n\t\treturn this;\n\t}\n\n\tpublic toJSON(): APIApplicationCommandSubcommandGroupOption {\n\t\tvalidateRequiredParameters(this.name, this.description, this.options);\n\n\t\treturn {\n\t\t\ttype: ApplicationCommandOptionType.SubcommandGroup,\n\t\t\tname: this.name,\n\t\t\tname_localizations: this.name_localizations,\n\t\t\tdescription: this.description,\n\t\t\tdescription_localizations: this.description_localizations,\n\t\t\toptions: this.options.map((option) => option.toJSON()),\n\t\t};\n\t}\n}\n\nexport interface SlashCommandSubcommandGroupBuilder extends SharedNameAndDescription {}\n\n/**\n * Represents a subcommand\n *\n * For more information, go to https://discord.com/developers/docs/interactions/application-commands#subcommands-and-subcommand-groups\n */\n@mix(SharedNameAndDescription, SharedSlashCommandOptions)\nexport class SlashCommandSubcommandBuilder implements ToAPIApplicationCommandOptions {\n\t/**\n\t * The name of this subcommand\n\t */\n\tpublic readonly name: string = undefined!;\n\n\t/**\n\t * The description of this subcommand\n\t */\n\tpublic readonly description: string = undefined!;\n\n\t/**\n\t * The options of this subcommand\n\t */\n\tpublic readonly options: ApplicationCommandOptionBase[] = [];\n\n\tpublic toJSON(): APIApplicationCommandSubcommandOption {\n\t\tvalidateRequiredParameters(this.name, this.description, this.options);\n\n\t\treturn {\n\t\t\ttype: ApplicationCommandOptionType.Subcommand,\n\t\t\tname: this.name,\n\t\t\tname_localizations: this.name_localizations,\n\t\t\tdescription: this.description,\n\t\t\tdescription_localizations: this.description_localizations,\n\t\t\toptions: this.options.map((option) => option.toJSON()),\n\t\t};\n\t}\n}\n\nexport interface SlashCommandSubcommandBuilder extends SharedNameAndDescription, SharedSlashCommandOptions {}\n","import type { LocaleString, LocalizationMap } from 'discord-api-types/v10';\nimport { validateDescription, validateLocale, validateName } from '../Assertions';\n\nexport class SharedNameAndDescription {\n\tpublic readonly name!: string;\n\tpublic readonly name_localizations?: LocalizationMap;\n\tpublic readonly description!: string;\n\tpublic readonly description_localizations?: LocalizationMap;\n\n\t/**\n\t * Sets the name\n\t *\n\t * @param name - The name\n\t */\n\tpublic setName(name: string): this {\n\t\t// Assert the name matches the conditions\n\t\tvalidateName(name);\n\n\t\tReflect.set(this, 'name', name);\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the description\n\t *\n\t * @param description - The description\n\t */\n\tpublic setDescription(description: string) {\n\t\t// Assert the description matches the conditions\n\t\tvalidateDescription(description);\n\n\t\tReflect.set(this, 'description', description);\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets a name localization\n\t *\n\t * @param locale - The locale to set a description for\n\t * @param localizedName - The localized description for the given locale\n\t */\n\tpublic setNameLocalization(locale: LocaleString, localizedName: string | null) {\n\t\tif (!this.name_localizations) {\n\t\t\tReflect.set(this, 'name_localizations', {});\n\t\t}\n\n\t\tconst parsedLocale = validateLocale(locale);\n\n\t\tif (localizedName === null) {\n\t\t\tthis.name_localizations![parsedLocale] = null;\n\t\t\treturn this;\n\t\t}\n\n\t\tvalidateName(localizedName);\n\n\t\tthis.name_localizations![parsedLocale] = localizedName;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the name localizations\n\t *\n\t * @param localizedNames - The dictionary of localized descriptions to set\n\t */\n\tpublic setNameLocalizations(localizedNames: LocalizationMap | null) {\n\t\tif (localizedNames === null) {\n\t\t\tReflect.set(this, 'name_localizations', null);\n\t\t\treturn this;\n\t\t}\n\n\t\tReflect.set(this, 'name_localizations', {});\n\n\t\tObject.entries(localizedNames).forEach((args) =>\n\t\t\tthis.setNameLocalization(...(args as [LocaleString, string | null])),\n\t\t);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets a description localization\n\t *\n\t * @param locale - The locale to set a description for\n\t * @param localizedDescription - The localized description for the given locale\n\t */\n\tpublic setDescriptionLocalization(locale: LocaleString, localizedDescription: string | null) {\n\t\tif (!this.description_localizations) {\n\t\t\tReflect.set(this, 'description_localizations', {});\n\t\t}\n\n\t\tconst parsedLocale = validateLocale(locale);\n\n\t\tif (localizedDescription === null) {\n\t\t\tthis.description_localizations![parsedLocale] = null;\n\t\t\treturn this;\n\t\t}\n\n\t\tvalidateDescription(localizedDescription);\n\n\t\tthis.description_localizations![parsedLocale] = localizedDescription;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the description localizations\n\t *\n\t * @param localizedDescriptions - The dictionary of localized descriptions to set\n\t */\n\tpublic setDescriptionLocalizations(localizedDescriptions: LocalizationMap | null) {\n\t\tif (localizedDescriptions === null) {\n\t\t\tReflect.set(this, 'description_localizations', null);\n\t\t\treturn this;\n\t\t}\n\n\t\tReflect.set(this, 'description_localizations', {});\n\t\tObject.entries(localizedDescriptions).forEach((args) =>\n\t\t\tthis.setDescriptionLocalization(...(args as [LocaleString, string | null])),\n\t\t);\n\t\treturn this;\n\t}\n}\n","import { APIApplicationCommandAttachmentOption, ApplicationCommandOptionType } from 'discord-api-types/v10';\nimport { ApplicationCommandOptionBase } from '../mixins/ApplicationCommandOptionBase';\n\nexport class SlashCommandAttachmentOption extends ApplicationCommandOptionBase {\n\tpublic override readonly type = ApplicationCommandOptionType.Attachment as const;\n\n\tpublic toJSON(): APIApplicationCommandAttachmentOption {\n\t\tthis.runRequiredValidations();\n\n\t\treturn { ...this };\n\t}\n}\n","import type { APIApplicationCommandBasicOption, ApplicationCommandOptionType } from 'discord-api-types/v10';\nimport { SharedNameAndDescription } from './NameAndDescription';\nimport { validateRequiredParameters, validateRequired, validateLocalizationMap } from '../Assertions';\n\nexport abstract class ApplicationCommandOptionBase extends SharedNameAndDescription {\n\tpublic abstract readonly type: ApplicationCommandOptionType;\n\n\tpublic readonly required: boolean = false;\n\n\t/**\n\t * Marks the option as required\n\t *\n\t * @param required - If this option should be required\n\t */\n\tpublic setRequired(required: boolean) {\n\t\t// Assert that you actually passed a boolean\n\t\tvalidateRequired(required);\n\n\t\tReflect.set(this, 'required', required);\n\n\t\treturn this;\n\t}\n\n\tpublic abstract toJSON(): APIApplicationCommandBasicOption;\n\n\tprotected runRequiredValidations() {\n\t\tvalidateRequiredParameters(this.name, this.description, []);\n\n\t\t// Validate localizations\n\t\tvalidateLocalizationMap(this.name_localizations);\n\t\tvalidateLocalizationMap(this.description_localizations);\n\n\t\t// Assert that you actually passed a boolean\n\t\tvalidateRequired(this.required);\n\t}\n}\n","import { APIApplicationCommandBooleanOption, ApplicationCommandOptionType } from 'discord-api-types/v10';\nimport { ApplicationCommandOptionBase } from '../mixins/ApplicationCommandOptionBase';\n\nexport class SlashCommandBooleanOption extends ApplicationCommandOptionBase {\n\tpublic readonly type = ApplicationCommandOptionType.Boolean as const;\n\n\tpublic toJSON(): APIApplicationCommandBooleanOption {\n\t\tthis.runRequiredValidations();\n\n\t\treturn { ...this };\n\t}\n}\n","import { APIApplicationCommandChannelOption, ApplicationCommandOptionType } from 'discord-api-types/v10';\nimport { mix } from 'ts-mixer';\nimport { ApplicationCommandOptionBase } from '../mixins/ApplicationCommandOptionBase';\nimport { ApplicationCommandOptionChannelTypesMixin } from '../mixins/ApplicationCommandOptionChannelTypesMixin';\n\n@mix(ApplicationCommandOptionChannelTypesMixin)\nexport class SlashCommandChannelOption extends ApplicationCommandOptionBase {\n\tpublic override readonly type = ApplicationCommandOptionType.Channel as const;\n\n\tpublic toJSON(): APIApplicationCommandChannelOption {\n\t\tthis.runRequiredValidations();\n\n\t\treturn { ...this };\n\t}\n}\n\nexport interface SlashCommandChannelOption extends ApplicationCommandOptionChannelTypesMixin {}\n","import { s } from '@sapphire/shapeshift';\nimport { ChannelType } from 'discord-api-types/v10';\n\n// Only allow valid channel types to be used. (This can't be dynamic because const enums are erased at runtime)\nconst allowedChannelTypes = [\n\tChannelType.GuildText,\n\tChannelType.GuildVoice,\n\tChannelType.GuildCategory,\n\tChannelType.GuildNews,\n\tChannelType.GuildNewsThread,\n\tChannelType.GuildPublicThread,\n\tChannelType.GuildPrivateThread,\n\tChannelType.GuildStageVoice,\n] as const;\n\nexport type ApplicationCommandOptionAllowedChannelTypes = typeof allowedChannelTypes[number];\n\nconst channelTypesPredicate = s.array(s.union(...allowedChannelTypes.map((type) => s.literal(type))));\n\nexport class ApplicationCommandOptionChannelTypesMixin {\n\tpublic readonly channel_types?: ApplicationCommandOptionAllowedChannelTypes[];\n\n\t/**\n\t * Adds channel types to this option\n\t *\n\t * @param channelTypes - The channel types to add\n\t */\n\tpublic addChannelTypes(...channelTypes: ApplicationCommandOptionAllowedChannelTypes[]) {\n\t\tif (this.channel_types === undefined) {\n\t\t\tReflect.set(this, 'channel_types', []);\n\t\t}\n\n\t\tthis.channel_types!.push(...channelTypesPredicate.parse(channelTypes));\n\n\t\treturn this;\n\t}\n}\n","import { s } from '@sapphire/shapeshift';\nimport { APIApplicationCommandIntegerOption, ApplicationCommandOptionType } from 'discord-api-types/v10';\nimport { mix } from 'ts-mixer';\nimport { ApplicationCommandNumericOptionMinMaxValueMixin } from '../mixins/ApplicationCommandNumericOptionMinMaxValueMixin';\nimport { ApplicationCommandOptionBase } from '../mixins/ApplicationCommandOptionBase';\nimport { ApplicationCommandOptionWithChoicesAndAutocompleteMixin } from '../mixins/ApplicationCommandOptionWithChoicesAndAutocompleteMixin';\n\nconst numberValidator = s.number.int;\n\n@mix(ApplicationCommandNumericOptionMinMaxValueMixin, ApplicationCommandOptionWithChoicesAndAutocompleteMixin)\nexport class SlashCommandIntegerOption\n\textends ApplicationCommandOptionBase\n\timplements ApplicationCommandNumericOptionMinMaxValueMixin\n{\n\tpublic readonly type = ApplicationCommandOptionType.Integer as const;\n\n\tpublic setMaxValue(max: number): this {\n\t\tnumberValidator.parse(max);\n\n\t\tReflect.set(this, 'max_value', max);\n\n\t\treturn this;\n\t}\n\n\tpublic setMinValue(min: number): this {\n\t\tnumberValidator.parse(min);\n\n\t\tReflect.set(this, 'min_value', min);\n\n\t\treturn this;\n\t}\n\n\tpublic toJSON(): APIApplicationCommandIntegerOption {\n\t\tthis.runRequiredValidations();\n\n\t\tif (this.autocomplete && Array.isArray(this.choices) && this.choices.length > 0) {\n\t\t\tthrow new RangeError('Autocomplete and choices are mutually exclusive to each other.');\n\t\t}\n\n\t\treturn { ...this };\n\t}\n}\n\nexport interface SlashCommandIntegerOption\n\textends ApplicationCommandNumericOptionMinMaxValueMixin,\n\t\tApplicationCommandOptionWithChoicesAndAutocompleteMixin {}\n","export abstract class ApplicationCommandNumericOptionMinMaxValueMixin {\n\tpublic readonly max_value?: number;\n\tpublic readonly min_value?: number;\n\n\t/**\n\t * Sets the maximum number value of this option\n\t *\n\t * @param max - The maximum value this option can be\n\t */\n\tpublic abstract setMaxValue(max: number): this;\n\n\t/**\n\t * Sets the minimum number value of this option\n\t *\n\t * @param min - The minimum value this option can be\n\t */\n\tpublic abstract setMinValue(min: number): this;\n}\n","import { s } from '@sapphire/shapeshift';\nimport { APIApplicationCommandOptionChoice, ApplicationCommandOptionType } from 'discord-api-types/v10';\nimport { localizationMapPredicate, validateChoicesLength } from '../Assertions';\n\nconst stringPredicate = s.string.lengthGreaterThanOrEqual(1).lengthLessThanOrEqual(100);\nconst numberPredicate = s.number.greaterThan(-Infinity).lessThan(Infinity);\nconst choicesPredicate = s.object({\n\tname: stringPredicate,\n\tname_localizations: localizationMapPredicate,\n\tvalue: s.union(stringPredicate, numberPredicate),\n}).array;\nconst booleanPredicate = s.boolean;\n\nexport class ApplicationCommandOptionWithChoicesAndAutocompleteMixin {\n\tpublic readonly choices?: APIApplicationCommandOptionChoice[];\n\tpublic readonly autocomplete?: boolean;\n\n\t// Since this is present and this is a mixin, this is needed\n\tpublic readonly type!: ApplicationCommandOptionType;\n\n\t/**\n\t * Adds multiple choices for this option\n\t *\n\t * @param choices - The choices to add\n\t */\n\tpublic addChoices(...choices: APIApplicationCommandOptionChoice[]): this {\n\t\tif (choices.length > 0 && this.autocomplete) {\n\t\t\tthrow new RangeError('Autocomplete and choices are mutually exclusive to each other.');\n\t\t}\n\n\t\tchoicesPredicate.parse(choices);\n\n\t\tif (this.choices === undefined) {\n\t\t\tReflect.set(this, 'choices', []);\n\t\t}\n\n\t\tvalidateChoicesLength(choices.length, this.choices);\n\n\t\tfor (const { name, name_localizations, value } of choices) {\n\t\t\t// Validate the value\n\t\t\tif (this.type === ApplicationCommandOptionType.String) {\n\t\t\t\tstringPredicate.parse(value);\n\t\t\t} else {\n\t\t\t\tnumberPredicate.parse(value);\n\t\t\t}\n\n\t\t\tthis.choices!.push({ name, name_localizations, value });\n\t\t}\n\n\t\treturn this;\n\t}\n\n\tpublic setChoices[]>(...choices: Input): this {\n\t\tif (choices.length > 0 && this.autocomplete) {\n\t\t\tthrow new RangeError('Autocomplete and choices are mutually exclusive to each other.');\n\t\t}\n\n\t\tchoicesPredicate.parse(choices);\n\n\t\tReflect.set(this, 'choices', []);\n\t\tthis.addChoices(...choices);\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Marks the option as autocompletable\n\t * @param autocomplete - If this option should be autocompletable\n\t */\n\tpublic setAutocomplete(autocomplete: boolean): this {\n\t\t// Assert that you actually passed a boolean\n\t\tbooleanPredicate.parse(autocomplete);\n\n\t\tif (autocomplete && Array.isArray(this.choices) && this.choices.length > 0) {\n\t\t\tthrow new RangeError('Autocomplete and choices are mutually exclusive to each other.');\n\t\t}\n\n\t\tReflect.set(this, 'autocomplete', autocomplete);\n\n\t\treturn this;\n\t}\n}\n","import { APIApplicationCommandMentionableOption, ApplicationCommandOptionType } from 'discord-api-types/v10';\nimport { ApplicationCommandOptionBase } from '../mixins/ApplicationCommandOptionBase';\n\nexport class SlashCommandMentionableOption extends ApplicationCommandOptionBase {\n\tpublic readonly type = ApplicationCommandOptionType.Mentionable as const;\n\n\tpublic toJSON(): APIApplicationCommandMentionableOption {\n\t\tthis.runRequiredValidations();\n\n\t\treturn { ...this };\n\t}\n}\n","import { s } from '@sapphire/shapeshift';\nimport { APIApplicationCommandNumberOption, ApplicationCommandOptionType } from 'discord-api-types/v10';\nimport { mix } from 'ts-mixer';\nimport { ApplicationCommandNumericOptionMinMaxValueMixin } from '../mixins/ApplicationCommandNumericOptionMinMaxValueMixin';\nimport { ApplicationCommandOptionBase } from '../mixins/ApplicationCommandOptionBase';\nimport { ApplicationCommandOptionWithChoicesAndAutocompleteMixin } from '../mixins/ApplicationCommandOptionWithChoicesAndAutocompleteMixin';\n\nconst numberValidator = s.number;\n\n@mix(ApplicationCommandNumericOptionMinMaxValueMixin, ApplicationCommandOptionWithChoicesAndAutocompleteMixin)\nexport class SlashCommandNumberOption\n\textends ApplicationCommandOptionBase\n\timplements ApplicationCommandNumericOptionMinMaxValueMixin\n{\n\tpublic readonly type = ApplicationCommandOptionType.Number as const;\n\n\tpublic setMaxValue(max: number): this {\n\t\tnumberValidator.parse(max);\n\n\t\tReflect.set(this, 'max_value', max);\n\n\t\treturn this;\n\t}\n\n\tpublic setMinValue(min: number): this {\n\t\tnumberValidator.parse(min);\n\n\t\tReflect.set(this, 'min_value', min);\n\n\t\treturn this;\n\t}\n\n\tpublic toJSON(): APIApplicationCommandNumberOption {\n\t\tthis.runRequiredValidations();\n\n\t\tif (this.autocomplete && Array.isArray(this.choices) && this.choices.length > 0) {\n\t\t\tthrow new RangeError('Autocomplete and choices are mutually exclusive to each other.');\n\t\t}\n\n\t\treturn { ...this };\n\t}\n}\n\nexport interface SlashCommandNumberOption\n\textends ApplicationCommandNumericOptionMinMaxValueMixin,\n\t\tApplicationCommandOptionWithChoicesAndAutocompleteMixin {}\n","import { APIApplicationCommandRoleOption, ApplicationCommandOptionType } from 'discord-api-types/v10';\nimport { ApplicationCommandOptionBase } from '../mixins/ApplicationCommandOptionBase';\n\nexport class SlashCommandRoleOption extends ApplicationCommandOptionBase {\n\tpublic override readonly type = ApplicationCommandOptionType.Role as const;\n\n\tpublic toJSON(): APIApplicationCommandRoleOption {\n\t\tthis.runRequiredValidations();\n\n\t\treturn { ...this };\n\t}\n}\n","import { s } from '@sapphire/shapeshift';\nimport { APIApplicationCommandStringOption, ApplicationCommandOptionType } from 'discord-api-types/v10';\nimport { mix } from 'ts-mixer';\nimport { ApplicationCommandOptionBase } from '../mixins/ApplicationCommandOptionBase';\nimport { ApplicationCommandOptionWithChoicesAndAutocompleteMixin } from '../mixins/ApplicationCommandOptionWithChoicesAndAutocompleteMixin';\n\nconst minLengthValidator = s.number.greaterThanOrEqual(0).lessThanOrEqual(6000);\nconst maxLengthValidator = s.number.greaterThanOrEqual(1).lessThanOrEqual(6000);\n\n@mix(ApplicationCommandOptionWithChoicesAndAutocompleteMixin)\nexport class SlashCommandStringOption extends ApplicationCommandOptionBase {\n\tpublic readonly type = ApplicationCommandOptionType.String as const;\n\tpublic readonly max_length?: number;\n\tpublic readonly min_length?: number;\n\n\t/**\n\t * Sets the maximum length of this string option.\n\t *\n\t * @param max - The maximum length this option can be\n\t */\n\tpublic setMaxLength(max: number): this {\n\t\tmaxLengthValidator.parse(max);\n\n\t\tReflect.set(this, 'max_length', max);\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the minimum length of this string option.\n\t *\n\t * @param min - The minimum length this option can be\n\t */\n\tpublic setMinLength(min: number): this {\n\t\tminLengthValidator.parse(min);\n\n\t\tReflect.set(this, 'min_length', min);\n\n\t\treturn this;\n\t}\n\n\tpublic toJSON(): APIApplicationCommandStringOption {\n\t\tthis.runRequiredValidations();\n\n\t\tif (this.autocomplete && Array.isArray(this.choices) && this.choices.length > 0) {\n\t\t\tthrow new RangeError('Autocomplete and choices are mutually exclusive to each other.');\n\t\t}\n\n\t\treturn { ...this };\n\t}\n}\n\nexport interface SlashCommandStringOption extends ApplicationCommandOptionWithChoicesAndAutocompleteMixin {}\n","import { APIApplicationCommandUserOption, ApplicationCommandOptionType } from 'discord-api-types/v10';\nimport { ApplicationCommandOptionBase } from '../mixins/ApplicationCommandOptionBase';\n\nexport class SlashCommandUserOption extends ApplicationCommandOptionBase {\n\tpublic readonly type = ApplicationCommandOptionType.User as const;\n\n\tpublic toJSON(): APIApplicationCommandUserOption {\n\t\tthis.runRequiredValidations();\n\n\t\treturn { ...this };\n\t}\n}\n","import type { ApplicationCommandOptionBase } from './ApplicationCommandOptionBase';\nimport { assertReturnOfBuilder, validateMaxOptionsLength } from '../Assertions';\nimport type { ToAPIApplicationCommandOptions } from '../SlashCommandBuilder';\nimport { SlashCommandAttachmentOption } from '../options/attachment';\nimport { SlashCommandBooleanOption } from '../options/boolean';\nimport { SlashCommandChannelOption } from '../options/channel';\nimport { SlashCommandIntegerOption } from '../options/integer';\nimport { SlashCommandMentionableOption } from '../options/mentionable';\nimport { SlashCommandNumberOption } from '../options/number';\nimport { SlashCommandRoleOption } from '../options/role';\nimport { SlashCommandStringOption } from '../options/string';\nimport { SlashCommandUserOption } from '../options/user';\n\nexport class SharedSlashCommandOptions {\n\tpublic readonly options!: ToAPIApplicationCommandOptions[];\n\n\t/**\n\t * Adds a boolean option\n\t *\n\t * @param input - A function that returns an option builder, or an already built builder\n\t */\n\tpublic addBooleanOption(\n\t\tinput: SlashCommandBooleanOption | ((builder: SlashCommandBooleanOption) => SlashCommandBooleanOption),\n\t) {\n\t\treturn this._sharedAddOptionMethod(input, SlashCommandBooleanOption);\n\t}\n\n\t/**\n\t * Adds a user option\n\t *\n\t * @param input - A function that returns an option builder, or an already built builder\n\t */\n\tpublic addUserOption(input: SlashCommandUserOption | ((builder: SlashCommandUserOption) => SlashCommandUserOption)) {\n\t\treturn this._sharedAddOptionMethod(input, SlashCommandUserOption);\n\t}\n\n\t/**\n\t * Adds a channel option\n\t *\n\t * @param input - A function that returns an option builder, or an already built builder\n\t */\n\tpublic addChannelOption(\n\t\tinput: SlashCommandChannelOption | ((builder: SlashCommandChannelOption) => SlashCommandChannelOption),\n\t) {\n\t\treturn this._sharedAddOptionMethod(input, SlashCommandChannelOption);\n\t}\n\n\t/**\n\t * Adds a role option\n\t *\n\t * @param input - A function that returns an option builder, or an already built builder\n\t */\n\tpublic addRoleOption(input: SlashCommandRoleOption | ((builder: SlashCommandRoleOption) => SlashCommandRoleOption)) {\n\t\treturn this._sharedAddOptionMethod(input, SlashCommandRoleOption);\n\t}\n\n\t/**\n\t * Adds an attachment option\n\t *\n\t * @param input - A function that returns an option builder, or an already built builder\n\t */\n\tpublic addAttachmentOption(\n\t\tinput: SlashCommandAttachmentOption | ((builder: SlashCommandAttachmentOption) => SlashCommandAttachmentOption),\n\t) {\n\t\treturn this._sharedAddOptionMethod(input, SlashCommandAttachmentOption);\n\t}\n\n\t/**\n\t * Adds a mentionable option\n\t *\n\t * @param input - A function that returns an option builder, or an already built builder\n\t */\n\tpublic addMentionableOption(\n\t\tinput: SlashCommandMentionableOption | ((builder: SlashCommandMentionableOption) => SlashCommandMentionableOption),\n\t) {\n\t\treturn this._sharedAddOptionMethod(input, SlashCommandMentionableOption);\n\t}\n\n\t/**\n\t * Adds a string option\n\t *\n\t * @param input - A function that returns an option builder, or an already built builder\n\t */\n\tpublic addStringOption(\n\t\tinput:\n\t\t\t| SlashCommandStringOption\n\t\t\t| Omit\n\t\t\t| Omit\n\t\t\t| ((\n\t\t\t\t\tbuilder: SlashCommandStringOption,\n\t\t\t ) =>\n\t\t\t\t\t| SlashCommandStringOption\n\t\t\t\t\t| Omit\n\t\t\t\t\t| Omit),\n\t) {\n\t\treturn this._sharedAddOptionMethod(input, SlashCommandStringOption);\n\t}\n\n\t/**\n\t * Adds an integer option\n\t *\n\t * @param input - A function that returns an option builder, or an already built builder\n\t */\n\tpublic addIntegerOption(\n\t\tinput:\n\t\t\t| SlashCommandIntegerOption\n\t\t\t| Omit\n\t\t\t| Omit\n\t\t\t| ((\n\t\t\t\t\tbuilder: SlashCommandIntegerOption,\n\t\t\t ) =>\n\t\t\t\t\t| SlashCommandIntegerOption\n\t\t\t\t\t| Omit\n\t\t\t\t\t| Omit),\n\t) {\n\t\treturn this._sharedAddOptionMethod(input, SlashCommandIntegerOption);\n\t}\n\n\t/**\n\t * Adds a number option\n\t *\n\t * @param input - A function that returns an option builder, or an already built builder\n\t */\n\tpublic addNumberOption(\n\t\tinput:\n\t\t\t| SlashCommandNumberOption\n\t\t\t| Omit\n\t\t\t| Omit\n\t\t\t| ((\n\t\t\t\t\tbuilder: SlashCommandNumberOption,\n\t\t\t ) =>\n\t\t\t\t\t| SlashCommandNumberOption\n\t\t\t\t\t| Omit\n\t\t\t\t\t| Omit),\n\t) {\n\t\treturn this._sharedAddOptionMethod(input, SlashCommandNumberOption);\n\t}\n\n\tprivate _sharedAddOptionMethod(\n\t\tinput:\n\t\t\t| T\n\t\t\t| Omit\n\t\t\t| Omit\n\t\t\t| ((builder: T) => T | Omit | Omit),\n\t\tInstance: new () => T,\n\t): ShouldOmitSubcommandFunctions extends true ? Omit : this {\n\t\tconst { options } = this;\n\n\t\t// First, assert options conditions - we cannot have more than 25 options\n\t\tvalidateMaxOptionsLength(options);\n\n\t\t// Get the final result\n\t\tconst result = typeof input === 'function' ? input(new Instance()) : input;\n\n\t\tassertReturnOfBuilder(result, Instance);\n\n\t\t// Push it\n\t\toptions.push(result);\n\n\t\treturn this;\n\t}\n}\n","import { s } from '@sapphire/shapeshift';\nimport { ApplicationCommandType } from 'discord-api-types/v10';\nimport type { ContextMenuCommandType } from './ContextMenuCommandBuilder';\nimport { isValidationEnabled } from '../../util/validation';\n\nconst namePredicate = s.string\n\t.lengthGreaterThanOrEqual(1)\n\t.lengthLessThanOrEqual(32)\n\t.regex(/^( *[\\p{L}\\p{N}\\p{sc=Devanagari}\\p{sc=Thai}_-]+ *)+$/u)\n\t.setValidationEnabled(isValidationEnabled);\nconst typePredicate = s\n\t.union(s.literal(ApplicationCommandType.User), s.literal(ApplicationCommandType.Message))\n\t.setValidationEnabled(isValidationEnabled);\nconst booleanPredicate = s.boolean;\n\nexport function validateDefaultPermission(value: unknown): asserts value is boolean {\n\tbooleanPredicate.parse(value);\n}\n\nexport function validateName(name: unknown): asserts name is string {\n\tnamePredicate.parse(name);\n}\n\nexport function validateType(type: unknown): asserts type is ContextMenuCommandType {\n\ttypePredicate.parse(type);\n}\n\nexport function validateRequiredParameters(name: string, type: number) {\n\t// Assert name matches all conditions\n\tvalidateName(name);\n\n\t// Assert type is valid\n\tvalidateType(type);\n}\n\nconst dmPermissionPredicate = s.boolean.nullish;\n\nexport function validateDMPermission(value: unknown): asserts value is boolean | null | undefined {\n\tdmPermissionPredicate.parse(value);\n}\n\nconst memberPermissionPredicate = s.union(\n\ts.bigint.transform((value) => value.toString()),\n\ts.number.safeInt.transform((value) => value.toString()),\n\ts.string.regex(/^\\d+$/),\n).nullish;\n\nexport function validateDefaultMemberPermissions(permissions: unknown) {\n\treturn memberPermissionPredicate.parse(permissions);\n}\n","import type {\n\tApplicationCommandType,\n\tLocaleString,\n\tLocalizationMap,\n\tPermissions,\n\tRESTPostAPIApplicationCommandsJSONBody,\n} from 'discord-api-types/v10';\nimport {\n\tvalidateRequiredParameters,\n\tvalidateName,\n\tvalidateType,\n\tvalidateDefaultPermission,\n\tvalidateDefaultMemberPermissions,\n\tvalidateDMPermission,\n} from './Assertions';\nimport { validateLocale, validateLocalizationMap } from '../slashCommands/Assertions';\n\nexport class ContextMenuCommandBuilder {\n\t/**\n\t * The name of this context menu command\n\t */\n\tpublic readonly name: string = undefined!;\n\n\t/**\n\t * The localized names for this command\n\t */\n\tpublic readonly name_localizations?: LocalizationMap;\n\n\t/**\n\t * The type of this context menu command\n\t */\n\tpublic readonly type: ContextMenuCommandType = undefined!;\n\n\t/**\n\t * Whether the command is enabled by default when the app is added to a guild\n\t *\n\t * @deprecated This property is deprecated and will be removed in the future.\n\t * You should use `setDefaultMemberPermissions` or `setDMPermission` instead.\n\t */\n\tpublic readonly default_permission: boolean | undefined = undefined;\n\n\t/**\n\t * Set of permissions represented as a bit set for the command\n\t */\n\tpublic readonly default_member_permissions: Permissions | null | undefined = undefined;\n\n\t/**\n\t * Indicates whether the command is available in DMs with the application, only for globally-scoped commands.\n\t * By default, commands are visible.\n\t */\n\tpublic readonly dm_permission: boolean | undefined = undefined;\n\n\t/**\n\t * Sets the name\n\t *\n\t * @param name - The name\n\t */\n\tpublic setName(name: string) {\n\t\t// Assert the name matches the conditions\n\t\tvalidateName(name);\n\n\t\tReflect.set(this, 'name', name);\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the type\n\t *\n\t * @param type - The type\n\t */\n\tpublic setType(type: ContextMenuCommandType) {\n\t\t// Assert the type is valid\n\t\tvalidateType(type);\n\n\t\tReflect.set(this, 'type', type);\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets whether the command is enabled by default when the application is added to a guild.\n\t *\n\t * **Note**: If set to `false`, you will have to later `PUT` the permissions for this command.\n\t *\n\t * @param value - Whether or not to enable this command by default\n\t *\n\t * @see https://discord.com/developers/docs/interactions/application-commands#permissions\n\t * @deprecated Use `setDefaultMemberPermissions` or `setDMPermission` instead.\n\t */\n\tpublic setDefaultPermission(value: boolean) {\n\t\t// Assert the value matches the conditions\n\t\tvalidateDefaultPermission(value);\n\n\t\tReflect.set(this, 'default_permission', value);\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the default permissions a member should have in order to run the command.\n\t *\n\t * **Note:** You can set this to `'0'` to disable the command by default.\n\t *\n\t * @param permissions - The permissions bit field to set\n\t *\n\t * @see https://discord.com/developers/docs/interactions/application-commands#permissions\n\t */\n\tpublic setDefaultMemberPermissions(permissions: Permissions | bigint | number | null | undefined) {\n\t\t// Assert the value and parse it\n\t\tconst permissionValue = validateDefaultMemberPermissions(permissions);\n\n\t\tReflect.set(this, 'default_member_permissions', permissionValue);\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets if the command is available in DMs with the application, only for globally-scoped commands.\n\t * By default, commands are visible.\n\t *\n\t * @param enabled - If the command should be enabled in DMs\n\t *\n\t * @see https://discord.com/developers/docs/interactions/application-commands#permissions\n\t */\n\tpublic setDMPermission(enabled: boolean | null | undefined) {\n\t\t// Assert the value matches the conditions\n\t\tvalidateDMPermission(enabled);\n\n\t\tReflect.set(this, 'dm_permission', enabled);\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets a name localization\n\t *\n\t * @param locale - The locale to set a description for\n\t * @param localizedName - The localized description for the given locale\n\t */\n\tpublic setNameLocalization(locale: LocaleString, localizedName: string | null) {\n\t\tif (!this.name_localizations) {\n\t\t\tReflect.set(this, 'name_localizations', {});\n\t\t}\n\n\t\tconst parsedLocale = validateLocale(locale);\n\n\t\tif (localizedName === null) {\n\t\t\tthis.name_localizations![parsedLocale] = null;\n\t\t\treturn this;\n\t\t}\n\n\t\tvalidateName(localizedName);\n\n\t\tthis.name_localizations![parsedLocale] = localizedName;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the name localizations\n\t *\n\t * @param localizedNames - The dictionary of localized descriptions to set\n\t */\n\tpublic setNameLocalizations(localizedNames: LocalizationMap | null) {\n\t\tif (localizedNames === null) {\n\t\t\tReflect.set(this, 'name_localizations', null);\n\t\t\treturn this;\n\t\t}\n\n\t\tReflect.set(this, 'name_localizations', {});\n\n\t\tObject.entries(localizedNames).forEach((args) =>\n\t\t\tthis.setNameLocalization(...(args as [LocaleString, string | null])),\n\t\t);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Returns the final data that should be sent to Discord.\n\t *\n\t * **Note:** Calling this function will validate required properties based on their conditions.\n\t */\n\tpublic toJSON(): RESTPostAPIApplicationCommandsJSONBody {\n\t\tvalidateRequiredParameters(this.name, this.type);\n\n\t\tvalidateLocalizationMap(this.name_localizations);\n\n\t\treturn { ...this };\n\t}\n}\n\nexport type ContextMenuCommandType = ApplicationCommandType.User | ApplicationCommandType.Message;\n","export interface Equatable {\n\t/**\n\t * Whether or not this is equal to another structure\n\t */\n\tequals: (other: T) => boolean;\n}\n\n/**\n * Indicates if an object is equatable or not.\n * @param maybeEquatable - The object to check against\n */\nexport function isEquatable(maybeEquatable: unknown): maybeEquatable is Equatable {\n\treturn maybeEquatable !== null && typeof maybeEquatable === 'object' && 'equals' in maybeEquatable;\n}\n","import type { APIEmbed } from 'discord-api-types/v10';\n\nexport function embedLength(data: APIEmbed) {\n\treturn (\n\t\t(data.title?.length ?? 0) +\n\t\t(data.description?.length ?? 0) +\n\t\t(data.fields?.reduce((prev, curr) => prev + curr.name.length + curr.value.length, 0) ?? 0) +\n\t\t(data.footer?.text.length ?? 0) +\n\t\t(data.author?.name.length ?? 0)\n\t);\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;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IAC3C;AAEA,UAAM,eAAe,eAAe,MAAM;AAE1C,QAAI,kBAAkB,MAAM;AAC3B,WAAK,mBAAoB,gBAAgB;AACzC,aAAO;AAAA,IACR;AAEA,kBAAa,aAAa;AAE1B,SAAK,mBAAoB,gBAAgB;AACzC,WAAO;AAAA,EACR;AAAA,EAOA,AAAO,qBAAqB,gBAAwC;AACnE,QAAI,mBAAmB,MAAM;AAC5B,cAAQ,IAAI,MAAM,sBAAsB,IAAI;AAC5C,aAAO;AAAA,IACR;AAEA,YAAQ,IAAI,MAAM,sBAAsB,CAAC,CAAC;AAE1C,WAAO,QAAQ,cAAc,EAAE,QAAQ,CAAC,SACvC,KAAK,oBAAoB,GAAI,IAAsC,CACpE;AACA,WAAO;AAAA,EACR;AAAA,EAOA,AAAO,SAAiD;AACvD,gCAA2B,KAAK,MAAM,KAAK,IAAI;AAE/C,4BAAwB,KAAK,kBAAkB;AAE/C,WAAO,EAAE,GAAG,KAAK;AAAA,EAClB;AACD;AA5Ka;;;ACNN,qBAAqB,gBAA+D;AAC1F,SAAO,mBAAmB,QAAQ,OAAO,mBAAmB,YAAY,YAAY;AACrF;AAFgB;;;ACTT,qBAAqB,MAAgB;AAC3C,SACE,MAAK,OAAO,UAAU,KACtB,MAAK,aAAa,UAAU,KAC5B,MAAK,QAAQ,OAAO,CAAC,MAAM,SAAS,OAAO,KAAK,KAAK,SAAS,KAAK,MAAM,QAAQ,CAAC,KAAK,KACvF,MAAK,QAAQ,KAAK,UAAU,KAC5B,MAAK,QAAQ,KAAK,UAAU;AAE/B;AARgB;","names":[]} \ No newline at end of file diff --git a/node_modules/@discordjs/builders/dist/index.mjs b/node_modules/@discordjs/builders/dist/index.mjs new file mode 100644 index 0000000..bce0a1b --- /dev/null +++ b/node_modules/@discordjs/builders/dist/index.mjs @@ -0,0 +1,1482 @@ +"use strict"; +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __decorateClass = (decorators, target, key, kind) => { + var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target; + for (var i = decorators.length - 1, decorator; i >= 0; i--) + if (decorator = decorators[i]) + result = (kind ? decorator(target, key, result) : decorator(result)) || result; + if (kind && result) + __defProp(target, key, result); + return result; +}; +var __publicField = (obj, key, value) => { + __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value); + return value; +}; + +// src/messages/embed/Assertions.ts +var Assertions_exports = {}; +__export(Assertions_exports, { + RGBPredicate: () => RGBPredicate, + authorNamePredicate: () => authorNamePredicate, + colorPredicate: () => colorPredicate, + descriptionPredicate: () => descriptionPredicate, + embedAuthorPredicate: () => embedAuthorPredicate, + embedFieldPredicate: () => embedFieldPredicate, + embedFieldsArrayPredicate: () => embedFieldsArrayPredicate, + embedFooterPredicate: () => embedFooterPredicate, + fieldInlinePredicate: () => fieldInlinePredicate, + fieldLengthPredicate: () => fieldLengthPredicate, + fieldNamePredicate: () => fieldNamePredicate, + fieldValuePredicate: () => fieldValuePredicate, + footerTextPredicate: () => footerTextPredicate, + imageURLPredicate: () => imageURLPredicate, + timestampPredicate: () => timestampPredicate, + titlePredicate: () => titlePredicate, + urlPredicate: () => urlPredicate, + validateFieldLength: () => validateFieldLength +}); +import { s } from "@sapphire/shapeshift"; + +// src/util/validation.ts +var validate = true; +var enableValidators = /* @__PURE__ */ __name(() => validate = true, "enableValidators"); +var disableValidators = /* @__PURE__ */ __name(() => validate = false, "disableValidators"); +var isValidationEnabled = /* @__PURE__ */ __name(() => validate, "isValidationEnabled"); + +// src/messages/embed/Assertions.ts +var fieldNamePredicate = s.string.lengthGreaterThanOrEqual(1).lengthLessThanOrEqual(256).setValidationEnabled(isValidationEnabled); +var fieldValuePredicate = s.string.lengthGreaterThanOrEqual(1).lengthLessThanOrEqual(1024).setValidationEnabled(isValidationEnabled); +var fieldInlinePredicate = s.boolean.optional; +var embedFieldPredicate = s.object({ + name: fieldNamePredicate, + value: fieldValuePredicate, + inline: fieldInlinePredicate +}).setValidationEnabled(isValidationEnabled); +var embedFieldsArrayPredicate = embedFieldPredicate.array.setValidationEnabled(isValidationEnabled); +var fieldLengthPredicate = s.number.lessThanOrEqual(25).setValidationEnabled(isValidationEnabled); +function validateFieldLength(amountAdding, fields) { + fieldLengthPredicate.parse((fields?.length ?? 0) + amountAdding); +} +__name(validateFieldLength, "validateFieldLength"); +var authorNamePredicate = fieldNamePredicate.nullable.setValidationEnabled(isValidationEnabled); +var imageURLPredicate = s.string.url({ + allowedProtocols: ["http:", "https:", "attachment:"] +}).nullish.setValidationEnabled(isValidationEnabled); +var urlPredicate = s.string.url({ + allowedProtocols: ["http:", "https:"] +}).nullish.setValidationEnabled(isValidationEnabled); +var embedAuthorPredicate = s.object({ + name: authorNamePredicate, + iconURL: imageURLPredicate, + url: urlPredicate +}).setValidationEnabled(isValidationEnabled); +var RGBPredicate = s.number.int.greaterThanOrEqual(0).lessThanOrEqual(255).setValidationEnabled(isValidationEnabled); +var colorPredicate = s.number.int.greaterThanOrEqual(0).lessThanOrEqual(16777215).or(s.tuple([RGBPredicate, RGBPredicate, RGBPredicate])).nullable.setValidationEnabled(isValidationEnabled); +var descriptionPredicate = s.string.lengthGreaterThanOrEqual(1).lengthLessThanOrEqual(4096).nullable.setValidationEnabled(isValidationEnabled); +var footerTextPredicate = s.string.lengthGreaterThanOrEqual(1).lengthLessThanOrEqual(2048).nullable.setValidationEnabled(isValidationEnabled); +var embedFooterPredicate = s.object({ + text: footerTextPredicate, + iconURL: imageURLPredicate +}).setValidationEnabled(isValidationEnabled); +var timestampPredicate = s.union(s.number, s.date).nullable.setValidationEnabled(isValidationEnabled); +var titlePredicate = fieldNamePredicate.nullable.setValidationEnabled(isValidationEnabled); + +// src/util/normalizeArray.ts +function normalizeArray(arr) { + if (Array.isArray(arr[0])) + return arr[0]; + return arr; +} +__name(normalizeArray, "normalizeArray"); + +// src/messages/embed/Embed.ts +var EmbedBuilder = class { + constructor(data = {}) { + __publicField(this, "data"); + this.data = { ...data }; + if (data.timestamp) + this.data.timestamp = new Date(data.timestamp).toISOString(); + } + addFields(...fields) { + fields = normalizeArray(fields); + validateFieldLength(fields.length, this.data.fields); + embedFieldsArrayPredicate.parse(fields); + if (this.data.fields) + this.data.fields.push(...fields); + else + this.data.fields = fields; + return this; + } + spliceFields(index, deleteCount, ...fields) { + validateFieldLength(fields.length - deleteCount, this.data.fields); + embedFieldsArrayPredicate.parse(fields); + if (this.data.fields) + this.data.fields.splice(index, deleteCount, ...fields); + else + this.data.fields = fields; + return this; + } + setFields(...fields) { + this.spliceFields(0, this.data.fields?.length ?? 0, ...normalizeArray(fields)); + return this; + } + setAuthor(options) { + if (options === null) { + this.data.author = void 0; + return this; + } + embedAuthorPredicate.parse(options); + this.data.author = { name: options.name, url: options.url, icon_url: options.iconURL }; + return this; + } + setColor(color) { + colorPredicate.parse(color); + if (Array.isArray(color)) { + const [red, green, blue] = color; + this.data.color = (red << 16) + (green << 8) + blue; + return this; + } + this.data.color = color ?? void 0; + return this; + } + setDescription(description) { + descriptionPredicate.parse(description); + this.data.description = description ?? void 0; + return this; + } + setFooter(options) { + if (options === null) { + this.data.footer = void 0; + return this; + } + embedFooterPredicate.parse(options); + this.data.footer = { text: options.text, icon_url: options.iconURL }; + return this; + } + setImage(url) { + imageURLPredicate.parse(url); + this.data.image = url ? { url } : void 0; + return this; + } + setThumbnail(url) { + imageURLPredicate.parse(url); + this.data.thumbnail = url ? { url } : void 0; + return this; + } + setTimestamp(timestamp = Date.now()) { + timestampPredicate.parse(timestamp); + this.data.timestamp = timestamp ? new Date(timestamp).toISOString() : void 0; + return this; + } + setTitle(title) { + titlePredicate.parse(title); + this.data.title = title ?? void 0; + return this; + } + setURL(url) { + urlPredicate.parse(url); + this.data.url = url ?? void 0; + return this; + } + toJSON() { + return { ...this.data }; + } +}; +__name(EmbedBuilder, "EmbedBuilder"); + +// src/messages/formatters.ts +function codeBlock(language, content) { + return typeof content === "undefined" ? `\`\`\` +${language}\`\`\`` : `\`\`\`${language} +${content}\`\`\``; +} +__name(codeBlock, "codeBlock"); +function inlineCode(content) { + return `\`${content}\``; +} +__name(inlineCode, "inlineCode"); +function italic(content) { + return `_${content}_`; +} +__name(italic, "italic"); +function bold(content) { + return `**${content}**`; +} +__name(bold, "bold"); +function underscore(content) { + return `__${content}__`; +} +__name(underscore, "underscore"); +function strikethrough(content) { + return `~~${content}~~`; +} +__name(strikethrough, "strikethrough"); +function quote(content) { + return `> ${content}`; +} +__name(quote, "quote"); +function blockQuote(content) { + return `>>> ${content}`; +} +__name(blockQuote, "blockQuote"); +function hideLinkEmbed(url) { + return `<${url}>`; +} +__name(hideLinkEmbed, "hideLinkEmbed"); +function hyperlink(content, url, title) { + return title ? `[${content}](${url} "${title}")` : `[${content}](${url})`; +} +__name(hyperlink, "hyperlink"); +function spoiler(content) { + return `||${content}||`; +} +__name(spoiler, "spoiler"); +function userMention(userId) { + return `<@${userId}>`; +} +__name(userMention, "userMention"); +function channelMention(channelId) { + return `<#${channelId}>`; +} +__name(channelMention, "channelMention"); +function roleMention(roleId) { + return `<@&${roleId}>`; +} +__name(roleMention, "roleMention"); +function formatEmoji(emojiId, animated = false) { + return `<${animated ? "a" : ""}:_:${emojiId}>`; +} +__name(formatEmoji, "formatEmoji"); +function time(timeOrSeconds, style) { + if (typeof timeOrSeconds !== "number") { + timeOrSeconds = Math.floor((timeOrSeconds?.getTime() ?? Date.now()) / 1e3); + } + return typeof style === "string" ? `` : ``; +} +__name(time, "time"); +var TimestampStyles = { + ShortTime: "t", + LongTime: "T", + ShortDate: "d", + LongDate: "D", + ShortDateTime: "f", + LongDateTime: "F", + RelativeTime: "R" +}; +var Faces = /* @__PURE__ */ ((Faces2) => { + Faces2["Shrug"] = "\xAF\\_(\u30C4)\\_/\xAF"; + Faces2["Tableflip"] = "(\u256F\xB0\u25A1\xB0\uFF09\u256F\uFE35 \u253B\u2501\u253B"; + Faces2["Unflip"] = "\u252C\u2500\u252C \u30CE( \u309C-\u309C\u30CE)"; + return Faces2; +})(Faces || {}); + +// src/components/Assertions.ts +var Assertions_exports2 = {}; +__export(Assertions_exports2, { + buttonLabelValidator: () => buttonLabelValidator, + buttonStyleValidator: () => buttonStyleValidator, + customIdValidator: () => customIdValidator, + defaultValidator: () => defaultValidator, + disabledValidator: () => disabledValidator, + emojiValidator: () => emojiValidator, + labelValueDescriptionValidator: () => labelValueDescriptionValidator, + minMaxValidator: () => minMaxValidator, + optionValidator: () => optionValidator, + optionsLengthValidator: () => optionsLengthValidator, + optionsValidator: () => optionsValidator, + placeholderValidator: () => placeholderValidator, + urlValidator: () => urlValidator, + validateRequiredButtonParameters: () => validateRequiredButtonParameters, + validateRequiredSelectMenuOptionParameters: () => validateRequiredSelectMenuOptionParameters, + validateRequiredSelectMenuParameters: () => validateRequiredSelectMenuParameters +}); +import { s as s2 } from "@sapphire/shapeshift"; +import { ButtonStyle } from "discord-api-types/v10"; + +// src/components/selectMenu/SelectMenuOption.ts +var SelectMenuOptionBuilder = class { + constructor(data = {}) { + this.data = data; + } + setLabel(label) { + this.data.label = labelValueDescriptionValidator.parse(label); + return this; + } + setValue(value) { + this.data.value = labelValueDescriptionValidator.parse(value); + return this; + } + setDescription(description) { + this.data.description = labelValueDescriptionValidator.parse(description); + return this; + } + setDefault(isDefault = true) { + this.data.default = defaultValidator.parse(isDefault); + return this; + } + setEmoji(emoji) { + this.data.emoji = emojiValidator.parse(emoji); + return this; + } + toJSON() { + validateRequiredSelectMenuOptionParameters(this.data.label, this.data.value); + return { + ...this.data + }; + } +}; +__name(SelectMenuOptionBuilder, "SelectMenuOptionBuilder"); + +// src/components/Assertions.ts +var customIdValidator = s2.string.lengthGreaterThanOrEqual(1).lengthLessThanOrEqual(100).setValidationEnabled(isValidationEnabled); +var emojiValidator = s2.object({ + id: s2.string, + name: s2.string, + animated: s2.boolean +}).partial.strict.setValidationEnabled(isValidationEnabled); +var disabledValidator = s2.boolean; +var buttonLabelValidator = s2.string.lengthGreaterThanOrEqual(1).lengthLessThanOrEqual(80).setValidationEnabled(isValidationEnabled); +var buttonStyleValidator = s2.nativeEnum(ButtonStyle); +var placeholderValidator = s2.string.lengthLessThanOrEqual(150).setValidationEnabled(isValidationEnabled); +var minMaxValidator = s2.number.int.greaterThanOrEqual(0).lessThanOrEqual(25).setValidationEnabled(isValidationEnabled); +var labelValueDescriptionValidator = s2.string.lengthGreaterThanOrEqual(1).lengthLessThanOrEqual(100).setValidationEnabled(isValidationEnabled); +var optionValidator = s2.union(s2.object({ + label: labelValueDescriptionValidator, + value: labelValueDescriptionValidator, + description: labelValueDescriptionValidator.optional, + emoji: emojiValidator.optional, + default: s2.boolean.optional +}), s2.instance(SelectMenuOptionBuilder)).setValidationEnabled(isValidationEnabled); +var optionsValidator = optionValidator.array.lengthGreaterThanOrEqual(0).setValidationEnabled(isValidationEnabled); +var optionsLengthValidator = s2.number.int.greaterThanOrEqual(0).lessThanOrEqual(25).setValidationEnabled(isValidationEnabled); +function validateRequiredSelectMenuParameters(options, customId) { + customIdValidator.parse(customId); + optionsValidator.parse(options); +} +__name(validateRequiredSelectMenuParameters, "validateRequiredSelectMenuParameters"); +var defaultValidator = s2.boolean; +function validateRequiredSelectMenuOptionParameters(label, value) { + labelValueDescriptionValidator.parse(label); + labelValueDescriptionValidator.parse(value); +} +__name(validateRequiredSelectMenuOptionParameters, "validateRequiredSelectMenuOptionParameters"); +var urlValidator = s2.string.url({ + allowedProtocols: ["http:", "https:", "discord:"] +}).setValidationEnabled(isValidationEnabled); +function validateRequiredButtonParameters(style, label, emoji, customId, url) { + if (url && customId) { + throw new RangeError("URL and custom id are mutually exclusive"); + } + if (!label && !emoji) { + throw new RangeError("Buttons must have a label and/or an emoji"); + } + if (style === ButtonStyle.Link) { + if (!url) { + throw new RangeError("Link buttons must have a url"); + } + } else if (url) { + throw new RangeError("Non-link buttons cannot have a url"); + } +} +__name(validateRequiredButtonParameters, "validateRequiredButtonParameters"); + +// src/components/ActionRow.ts +import { + ComponentType as ComponentType5 +} from "discord-api-types/v10"; + +// src/components/Component.ts +var ComponentBuilder = class { + constructor(data) { + __publicField(this, "data"); + this.data = data; + } +}; +__name(ComponentBuilder, "ComponentBuilder"); + +// src/components/Components.ts +import { ComponentType as ComponentType4 } from "discord-api-types/v10"; + +// src/components/button/Button.ts +import { + ComponentType +} from "discord-api-types/v10"; +var ButtonBuilder = class extends ComponentBuilder { + constructor(data) { + super({ type: ComponentType.Button, ...data }); + } + setStyle(style) { + this.data.style = buttonStyleValidator.parse(style); + return this; + } + setURL(url) { + this.data.url = urlValidator.parse(url); + return this; + } + setCustomId(customId) { + this.data.custom_id = customIdValidator.parse(customId); + return this; + } + setEmoji(emoji) { + this.data.emoji = emojiValidator.parse(emoji); + return this; + } + setDisabled(disabled = true) { + this.data.disabled = disabledValidator.parse(disabled); + return this; + } + setLabel(label) { + this.data.label = buttonLabelValidator.parse(label); + return this; + } + toJSON() { + validateRequiredButtonParameters(this.data.style, this.data.label, this.data.emoji, this.data.custom_id, this.data.url); + return { + ...this.data + }; + } +}; +__name(ButtonBuilder, "ButtonBuilder"); + +// src/components/selectMenu/SelectMenu.ts +import { ComponentType as ComponentType2 } from "discord-api-types/v10"; +var SelectMenuBuilder = class extends ComponentBuilder { + constructor(data) { + const { options, ...initData } = data ?? {}; + super({ type: ComponentType2.SelectMenu, ...initData }); + __publicField(this, "options"); + this.options = options?.map((o) => new SelectMenuOptionBuilder(o)) ?? []; + } + setPlaceholder(placeholder) { + this.data.placeholder = placeholderValidator.parse(placeholder); + return this; + } + setMinValues(minValues) { + this.data.min_values = minMaxValidator.parse(minValues); + return this; + } + setMaxValues(maxValues) { + this.data.max_values = minMaxValidator.parse(maxValues); + return this; + } + setCustomId(customId) { + this.data.custom_id = customIdValidator.parse(customId); + return this; + } + setDisabled(disabled = true) { + this.data.disabled = disabledValidator.parse(disabled); + return this; + } + addOptions(...options) { + options = normalizeArray(options); + optionsLengthValidator.parse(this.options.length + options.length); + this.options.push(...options.map((option) => option instanceof SelectMenuOptionBuilder ? option : new SelectMenuOptionBuilder(optionValidator.parse(option)))); + return this; + } + setOptions(...options) { + options = normalizeArray(options); + optionsLengthValidator.parse(options.length); + this.options.splice(0, this.options.length, ...options.map((option) => option instanceof SelectMenuOptionBuilder ? option : new SelectMenuOptionBuilder(optionValidator.parse(option)))); + return this; + } + toJSON() { + validateRequiredSelectMenuParameters(this.options, this.data.custom_id); + return { + ...this.data, + options: this.options.map((o) => o.toJSON()) + }; + } +}; +__name(SelectMenuBuilder, "SelectMenuBuilder"); + +// src/components/textInput/TextInput.ts +import { ComponentType as ComponentType3 } from "discord-api-types/v10"; +import isEqual from "fast-deep-equal"; + +// src/components/textInput/Assertions.ts +var Assertions_exports3 = {}; +__export(Assertions_exports3, { + labelValidator: () => labelValidator, + maxLengthValidator: () => maxLengthValidator, + minLengthValidator: () => minLengthValidator, + placeholderValidator: () => placeholderValidator2, + requiredValidator: () => requiredValidator, + textInputStyleValidator: () => textInputStyleValidator, + validateRequiredParameters: () => validateRequiredParameters, + valueValidator: () => valueValidator +}); +import { s as s3 } from "@sapphire/shapeshift"; +import { TextInputStyle } from "discord-api-types/v10"; +var textInputStyleValidator = s3.nativeEnum(TextInputStyle); +var minLengthValidator = s3.number.int.greaterThanOrEqual(0).lessThanOrEqual(4e3).setValidationEnabled(isValidationEnabled); +var maxLengthValidator = s3.number.int.greaterThanOrEqual(1).lessThanOrEqual(4e3).setValidationEnabled(isValidationEnabled); +var requiredValidator = s3.boolean; +var valueValidator = s3.string.lengthLessThanOrEqual(4e3).setValidationEnabled(isValidationEnabled); +var placeholderValidator2 = s3.string.lengthLessThanOrEqual(100).setValidationEnabled(isValidationEnabled); +var labelValidator = s3.string.lengthGreaterThanOrEqual(1).lengthLessThanOrEqual(45).setValidationEnabled(isValidationEnabled); +function validateRequiredParameters(customId, style, label) { + customIdValidator.parse(customId); + textInputStyleValidator.parse(style); + labelValidator.parse(label); +} +__name(validateRequiredParameters, "validateRequiredParameters"); + +// src/util/jsonEncodable.ts +function isJSONEncodable(maybeEncodable) { + return maybeEncodable !== null && typeof maybeEncodable === "object" && "toJSON" in maybeEncodable; +} +__name(isJSONEncodable, "isJSONEncodable"); + +// src/components/textInput/TextInput.ts +var TextInputBuilder = class extends ComponentBuilder { + constructor(data) { + super({ type: ComponentType3.TextInput, ...data }); + } + setCustomId(customId) { + this.data.custom_id = customIdValidator.parse(customId); + return this; + } + setLabel(label) { + this.data.label = labelValidator.parse(label); + return this; + } + setStyle(style) { + this.data.style = textInputStyleValidator.parse(style); + return this; + } + setMinLength(minLength) { + this.data.min_length = minLengthValidator.parse(minLength); + return this; + } + setMaxLength(maxLength) { + this.data.max_length = maxLengthValidator.parse(maxLength); + return this; + } + setPlaceholder(placeholder) { + this.data.placeholder = placeholderValidator2.parse(placeholder); + return this; + } + setValue(value) { + this.data.value = valueValidator.parse(value); + return this; + } + setRequired(required = true) { + this.data.required = requiredValidator.parse(required); + return this; + } + toJSON() { + validateRequiredParameters(this.data.custom_id, this.data.style, this.data.label); + return { + ...this.data + }; + } + equals(other) { + if (isJSONEncodable(other)) { + return isEqual(other.toJSON(), this.data); + } + return isEqual(other, this.data); + } +}; +__name(TextInputBuilder, "TextInputBuilder"); + +// src/components/Components.ts +function createComponentBuilder(data) { + if (data instanceof ComponentBuilder) { + return data; + } + switch (data.type) { + case ComponentType4.ActionRow: + return new ActionRowBuilder(data); + case ComponentType4.Button: + return new ButtonBuilder(data); + case ComponentType4.SelectMenu: + return new SelectMenuBuilder(data); + case ComponentType4.TextInput: + return new TextInputBuilder(data); + default: + throw new Error(`Cannot properly serialize component type: ${data.type}`); + } +} +__name(createComponentBuilder, "createComponentBuilder"); + +// src/components/ActionRow.ts +var ActionRowBuilder = class extends ComponentBuilder { + constructor({ components, ...data } = {}) { + super({ type: ComponentType5.ActionRow, ...data }); + __publicField(this, "components"); + this.components = components?.map((c) => createComponentBuilder(c)) ?? []; + } + addComponents(...components) { + this.components.push(...normalizeArray(components)); + return this; + } + setComponents(...components) { + this.components.splice(0, this.components.length, ...normalizeArray(components)); + return this; + } + toJSON() { + return { + ...this.data, + components: this.components.map((component) => component.toJSON()) + }; + } +}; +__name(ActionRowBuilder, "ActionRowBuilder"); + +// src/interactions/modals/Assertions.ts +var Assertions_exports4 = {}; +__export(Assertions_exports4, { + componentsValidator: () => componentsValidator, + titleValidator: () => titleValidator, + validateRequiredParameters: () => validateRequiredParameters2 +}); +import { s as s4 } from "@sapphire/shapeshift"; +var titleValidator = s4.string.lengthGreaterThanOrEqual(1).lengthLessThanOrEqual(45).setValidationEnabled(isValidationEnabled); +var componentsValidator = s4.instance(ActionRowBuilder).array.lengthGreaterThanOrEqual(1).setValidationEnabled(isValidationEnabled); +function validateRequiredParameters2(customId, title, components) { + customIdValidator.parse(customId); + titleValidator.parse(title); + componentsValidator.parse(components); +} +__name(validateRequiredParameters2, "validateRequiredParameters"); + +// src/interactions/modals/Modal.ts +var ModalBuilder = class { + constructor({ components, ...data } = {}) { + __publicField(this, "data"); + __publicField(this, "components", []); + this.data = { ...data }; + this.components = components?.map((c) => createComponentBuilder(c)) ?? []; + } + setTitle(title) { + this.data.title = titleValidator.parse(title); + return this; + } + setCustomId(customId) { + this.data.custom_id = customIdValidator.parse(customId); + return this; + } + addComponents(...components) { + this.components.push(...normalizeArray(components).map((component) => component instanceof ActionRowBuilder ? component : new ActionRowBuilder(component))); + return this; + } + setComponents(...components) { + this.components.splice(0, this.components.length, ...normalizeArray(components)); + return this; + } + toJSON() { + validateRequiredParameters2(this.data.custom_id, this.data.title, this.components); + return { + ...this.data, + components: this.components.map((component) => component.toJSON()) + }; + } +}; +__name(ModalBuilder, "ModalBuilder"); + +// src/interactions/slashCommands/Assertions.ts +var Assertions_exports5 = {}; +__export(Assertions_exports5, { + assertReturnOfBuilder: () => assertReturnOfBuilder, + localizationMapPredicate: () => localizationMapPredicate, + validateChoicesLength: () => validateChoicesLength, + validateDMPermission: () => validateDMPermission, + validateDefaultMemberPermissions: () => validateDefaultMemberPermissions, + validateDefaultPermission: () => validateDefaultPermission, + validateDescription: () => validateDescription, + validateLocale: () => validateLocale, + validateLocalizationMap: () => validateLocalizationMap, + validateMaxOptionsLength: () => validateMaxOptionsLength, + validateName: () => validateName, + validateRequired: () => validateRequired, + validateRequiredParameters: () => validateRequiredParameters3 +}); +import { s as s5 } from "@sapphire/shapeshift"; +import { Locale } from "discord-api-types/v10"; +var namePredicate = s5.string.lengthGreaterThanOrEqual(1).lengthLessThanOrEqual(32).regex(/^[\p{Ll}\p{Lm}\p{Lo}\p{N}\p{sc=Devanagari}\p{sc=Thai}_-]+$/u).setValidationEnabled(isValidationEnabled); +function validateName(name) { + namePredicate.parse(name); +} +__name(validateName, "validateName"); +var descriptionPredicate2 = s5.string.lengthGreaterThanOrEqual(1).lengthLessThanOrEqual(100).setValidationEnabled(isValidationEnabled); +var localePredicate = s5.nativeEnum(Locale); +function validateDescription(description) { + descriptionPredicate2.parse(description); +} +__name(validateDescription, "validateDescription"); +var maxArrayLengthPredicate = s5.unknown.array.lengthLessThanOrEqual(25).setValidationEnabled(isValidationEnabled); +function validateLocale(locale) { + return localePredicate.parse(locale); +} +__name(validateLocale, "validateLocale"); +function validateMaxOptionsLength(options) { + maxArrayLengthPredicate.parse(options); +} +__name(validateMaxOptionsLength, "validateMaxOptionsLength"); +function validateRequiredParameters3(name, description, options) { + validateName(name); + validateDescription(description); + validateMaxOptionsLength(options); +} +__name(validateRequiredParameters3, "validateRequiredParameters"); +var booleanPredicate = s5.boolean; +function validateDefaultPermission(value) { + booleanPredicate.parse(value); +} +__name(validateDefaultPermission, "validateDefaultPermission"); +function validateRequired(required) { + booleanPredicate.parse(required); +} +__name(validateRequired, "validateRequired"); +var choicesLengthPredicate = s5.number.lessThanOrEqual(25).setValidationEnabled(isValidationEnabled); +function validateChoicesLength(amountAdding, choices) { + choicesLengthPredicate.parse((choices?.length ?? 0) + amountAdding); +} +__name(validateChoicesLength, "validateChoicesLength"); +function assertReturnOfBuilder(input, ExpectedInstanceOf) { + s5.instance(ExpectedInstanceOf).parse(input); +} +__name(assertReturnOfBuilder, "assertReturnOfBuilder"); +var localizationMapPredicate = s5.object(Object.fromEntries(Object.values(Locale).map((locale) => [locale, s5.string.nullish]))).strict.nullish.setValidationEnabled(isValidationEnabled); +function validateLocalizationMap(value) { + localizationMapPredicate.parse(value); +} +__name(validateLocalizationMap, "validateLocalizationMap"); +var dmPermissionPredicate = s5.boolean.nullish; +function validateDMPermission(value) { + dmPermissionPredicate.parse(value); +} +__name(validateDMPermission, "validateDMPermission"); +var memberPermissionPredicate = s5.union(s5.bigint.transform((value) => value.toString()), s5.number.safeInt.transform((value) => value.toString()), s5.string.regex(/^\d+$/)).nullish; +function validateDefaultMemberPermissions(permissions) { + return memberPermissionPredicate.parse(permissions); +} +__name(validateDefaultMemberPermissions, "validateDefaultMemberPermissions"); + +// src/interactions/slashCommands/SlashCommandBuilder.ts +import { mix as mix6 } from "ts-mixer"; + +// src/interactions/slashCommands/SlashCommandSubcommands.ts +import { + ApplicationCommandOptionType as ApplicationCommandOptionType11 +} from "discord-api-types/v10"; +import { mix as mix5 } from "ts-mixer"; + +// src/interactions/slashCommands/mixins/NameAndDescription.ts +var SharedNameAndDescription = class { + constructor() { + __publicField(this, "name"); + __publicField(this, "name_localizations"); + __publicField(this, "description"); + __publicField(this, "description_localizations"); + } + setName(name) { + validateName(name); + Reflect.set(this, "name", name); + return this; + } + setDescription(description) { + validateDescription(description); + Reflect.set(this, "description", description); + return this; + } + setNameLocalization(locale, localizedName) { + if (!this.name_localizations) { + Reflect.set(this, "name_localizations", {}); + } + const parsedLocale = validateLocale(locale); + if (localizedName === null) { + this.name_localizations[parsedLocale] = null; + return this; + } + validateName(localizedName); + this.name_localizations[parsedLocale] = localizedName; + return this; + } + setNameLocalizations(localizedNames) { + if (localizedNames === null) { + Reflect.set(this, "name_localizations", null); + return this; + } + Reflect.set(this, "name_localizations", {}); + Object.entries(localizedNames).forEach((args) => this.setNameLocalization(...args)); + return this; + } + setDescriptionLocalization(locale, localizedDescription) { + if (!this.description_localizations) { + Reflect.set(this, "description_localizations", {}); + } + const parsedLocale = validateLocale(locale); + if (localizedDescription === null) { + this.description_localizations[parsedLocale] = null; + return this; + } + validateDescription(localizedDescription); + this.description_localizations[parsedLocale] = localizedDescription; + return this; + } + setDescriptionLocalizations(localizedDescriptions) { + if (localizedDescriptions === null) { + Reflect.set(this, "description_localizations", null); + return this; + } + Reflect.set(this, "description_localizations", {}); + Object.entries(localizedDescriptions).forEach((args) => this.setDescriptionLocalization(...args)); + return this; + } +}; +__name(SharedNameAndDescription, "SharedNameAndDescription"); + +// src/interactions/slashCommands/options/attachment.ts +import { ApplicationCommandOptionType } from "discord-api-types/v10"; + +// src/interactions/slashCommands/mixins/ApplicationCommandOptionBase.ts +var ApplicationCommandOptionBase = class extends SharedNameAndDescription { + constructor() { + super(...arguments); + __publicField(this, "required", false); + } + setRequired(required) { + validateRequired(required); + Reflect.set(this, "required", required); + return this; + } + runRequiredValidations() { + validateRequiredParameters3(this.name, this.description, []); + validateLocalizationMap(this.name_localizations); + validateLocalizationMap(this.description_localizations); + validateRequired(this.required); + } +}; +__name(ApplicationCommandOptionBase, "ApplicationCommandOptionBase"); + +// src/interactions/slashCommands/options/attachment.ts +var SlashCommandAttachmentOption = class extends ApplicationCommandOptionBase { + constructor() { + super(...arguments); + __publicField(this, "type", ApplicationCommandOptionType.Attachment); + } + toJSON() { + this.runRequiredValidations(); + return { ...this }; + } +}; +__name(SlashCommandAttachmentOption, "SlashCommandAttachmentOption"); + +// src/interactions/slashCommands/options/boolean.ts +import { ApplicationCommandOptionType as ApplicationCommandOptionType2 } from "discord-api-types/v10"; +var SlashCommandBooleanOption = class extends ApplicationCommandOptionBase { + constructor() { + super(...arguments); + __publicField(this, "type", ApplicationCommandOptionType2.Boolean); + } + toJSON() { + this.runRequiredValidations(); + return { ...this }; + } +}; +__name(SlashCommandBooleanOption, "SlashCommandBooleanOption"); + +// src/interactions/slashCommands/options/channel.ts +import { ApplicationCommandOptionType as ApplicationCommandOptionType3 } from "discord-api-types/v10"; +import { mix } from "ts-mixer"; + +// src/interactions/slashCommands/mixins/ApplicationCommandOptionChannelTypesMixin.ts +import { s as s6 } from "@sapphire/shapeshift"; +import { ChannelType } from "discord-api-types/v10"; +var allowedChannelTypes = [ + ChannelType.GuildText, + ChannelType.GuildVoice, + ChannelType.GuildCategory, + ChannelType.GuildNews, + ChannelType.GuildNewsThread, + ChannelType.GuildPublicThread, + ChannelType.GuildPrivateThread, + ChannelType.GuildStageVoice +]; +var channelTypesPredicate = s6.array(s6.union(...allowedChannelTypes.map((type) => s6.literal(type)))); +var ApplicationCommandOptionChannelTypesMixin = class { + constructor() { + __publicField(this, "channel_types"); + } + addChannelTypes(...channelTypes) { + if (this.channel_types === void 0) { + Reflect.set(this, "channel_types", []); + } + this.channel_types.push(...channelTypesPredicate.parse(channelTypes)); + return this; + } +}; +__name(ApplicationCommandOptionChannelTypesMixin, "ApplicationCommandOptionChannelTypesMixin"); + +// src/interactions/slashCommands/options/channel.ts +var SlashCommandChannelOption = class extends ApplicationCommandOptionBase { + constructor() { + super(...arguments); + __publicField(this, "type", ApplicationCommandOptionType3.Channel); + } + toJSON() { + this.runRequiredValidations(); + return { ...this }; + } +}; +__name(SlashCommandChannelOption, "SlashCommandChannelOption"); +SlashCommandChannelOption = __decorateClass([ + mix(ApplicationCommandOptionChannelTypesMixin) +], SlashCommandChannelOption); + +// src/interactions/slashCommands/options/integer.ts +import { s as s8 } from "@sapphire/shapeshift"; +import { ApplicationCommandOptionType as ApplicationCommandOptionType5 } from "discord-api-types/v10"; +import { mix as mix2 } from "ts-mixer"; + +// src/interactions/slashCommands/mixins/ApplicationCommandNumericOptionMinMaxValueMixin.ts +var ApplicationCommandNumericOptionMinMaxValueMixin = class { + constructor() { + __publicField(this, "max_value"); + __publicField(this, "min_value"); + } +}; +__name(ApplicationCommandNumericOptionMinMaxValueMixin, "ApplicationCommandNumericOptionMinMaxValueMixin"); + +// src/interactions/slashCommands/mixins/ApplicationCommandOptionWithChoicesAndAutocompleteMixin.ts +import { s as s7 } from "@sapphire/shapeshift"; +import { ApplicationCommandOptionType as ApplicationCommandOptionType4 } from "discord-api-types/v10"; +var stringPredicate = s7.string.lengthGreaterThanOrEqual(1).lengthLessThanOrEqual(100); +var numberPredicate = s7.number.greaterThan(-Infinity).lessThan(Infinity); +var choicesPredicate = s7.object({ + name: stringPredicate, + name_localizations: localizationMapPredicate, + value: s7.union(stringPredicate, numberPredicate) +}).array; +var booleanPredicate2 = s7.boolean; +var ApplicationCommandOptionWithChoicesAndAutocompleteMixin = class { + constructor() { + __publicField(this, "choices"); + __publicField(this, "autocomplete"); + __publicField(this, "type"); + } + addChoices(...choices) { + if (choices.length > 0 && this.autocomplete) { + throw new RangeError("Autocomplete and choices are mutually exclusive to each other."); + } + choicesPredicate.parse(choices); + if (this.choices === void 0) { + Reflect.set(this, "choices", []); + } + validateChoicesLength(choices.length, this.choices); + for (const { name, name_localizations, value } of choices) { + if (this.type === ApplicationCommandOptionType4.String) { + stringPredicate.parse(value); + } else { + numberPredicate.parse(value); + } + this.choices.push({ name, name_localizations, value }); + } + return this; + } + setChoices(...choices) { + if (choices.length > 0 && this.autocomplete) { + throw new RangeError("Autocomplete and choices are mutually exclusive to each other."); + } + choicesPredicate.parse(choices); + Reflect.set(this, "choices", []); + this.addChoices(...choices); + return this; + } + setAutocomplete(autocomplete) { + booleanPredicate2.parse(autocomplete); + if (autocomplete && Array.isArray(this.choices) && this.choices.length > 0) { + throw new RangeError("Autocomplete and choices are mutually exclusive to each other."); + } + Reflect.set(this, "autocomplete", autocomplete); + return this; + } +}; +__name(ApplicationCommandOptionWithChoicesAndAutocompleteMixin, "ApplicationCommandOptionWithChoicesAndAutocompleteMixin"); + +// src/interactions/slashCommands/options/integer.ts +var numberValidator = s8.number.int; +var SlashCommandIntegerOption = class extends ApplicationCommandOptionBase { + constructor() { + super(...arguments); + __publicField(this, "type", ApplicationCommandOptionType5.Integer); + } + setMaxValue(max) { + numberValidator.parse(max); + Reflect.set(this, "max_value", max); + return this; + } + setMinValue(min) { + numberValidator.parse(min); + Reflect.set(this, "min_value", min); + return this; + } + toJSON() { + this.runRequiredValidations(); + if (this.autocomplete && Array.isArray(this.choices) && this.choices.length > 0) { + throw new RangeError("Autocomplete and choices are mutually exclusive to each other."); + } + return { ...this }; + } +}; +__name(SlashCommandIntegerOption, "SlashCommandIntegerOption"); +SlashCommandIntegerOption = __decorateClass([ + mix2(ApplicationCommandNumericOptionMinMaxValueMixin, ApplicationCommandOptionWithChoicesAndAutocompleteMixin) +], SlashCommandIntegerOption); + +// src/interactions/slashCommands/options/mentionable.ts +import { ApplicationCommandOptionType as ApplicationCommandOptionType6 } from "discord-api-types/v10"; +var SlashCommandMentionableOption = class extends ApplicationCommandOptionBase { + constructor() { + super(...arguments); + __publicField(this, "type", ApplicationCommandOptionType6.Mentionable); + } + toJSON() { + this.runRequiredValidations(); + return { ...this }; + } +}; +__name(SlashCommandMentionableOption, "SlashCommandMentionableOption"); + +// src/interactions/slashCommands/options/number.ts +import { s as s9 } from "@sapphire/shapeshift"; +import { ApplicationCommandOptionType as ApplicationCommandOptionType7 } from "discord-api-types/v10"; +import { mix as mix3 } from "ts-mixer"; +var numberValidator2 = s9.number; +var SlashCommandNumberOption = class extends ApplicationCommandOptionBase { + constructor() { + super(...arguments); + __publicField(this, "type", ApplicationCommandOptionType7.Number); + } + setMaxValue(max) { + numberValidator2.parse(max); + Reflect.set(this, "max_value", max); + return this; + } + setMinValue(min) { + numberValidator2.parse(min); + Reflect.set(this, "min_value", min); + return this; + } + toJSON() { + this.runRequiredValidations(); + if (this.autocomplete && Array.isArray(this.choices) && this.choices.length > 0) { + throw new RangeError("Autocomplete and choices are mutually exclusive to each other."); + } + return { ...this }; + } +}; +__name(SlashCommandNumberOption, "SlashCommandNumberOption"); +SlashCommandNumberOption = __decorateClass([ + mix3(ApplicationCommandNumericOptionMinMaxValueMixin, ApplicationCommandOptionWithChoicesAndAutocompleteMixin) +], SlashCommandNumberOption); + +// src/interactions/slashCommands/options/role.ts +import { ApplicationCommandOptionType as ApplicationCommandOptionType8 } from "discord-api-types/v10"; +var SlashCommandRoleOption = class extends ApplicationCommandOptionBase { + constructor() { + super(...arguments); + __publicField(this, "type", ApplicationCommandOptionType8.Role); + } + toJSON() { + this.runRequiredValidations(); + return { ...this }; + } +}; +__name(SlashCommandRoleOption, "SlashCommandRoleOption"); + +// src/interactions/slashCommands/options/string.ts +import { s as s10 } from "@sapphire/shapeshift"; +import { ApplicationCommandOptionType as ApplicationCommandOptionType9 } from "discord-api-types/v10"; +import { mix as mix4 } from "ts-mixer"; +var minLengthValidator2 = s10.number.greaterThanOrEqual(0).lessThanOrEqual(6e3); +var maxLengthValidator2 = s10.number.greaterThanOrEqual(1).lessThanOrEqual(6e3); +var SlashCommandStringOption = class extends ApplicationCommandOptionBase { + constructor() { + super(...arguments); + __publicField(this, "type", ApplicationCommandOptionType9.String); + __publicField(this, "max_length"); + __publicField(this, "min_length"); + } + setMaxLength(max) { + maxLengthValidator2.parse(max); + Reflect.set(this, "max_length", max); + return this; + } + setMinLength(min) { + minLengthValidator2.parse(min); + Reflect.set(this, "min_length", min); + return this; + } + toJSON() { + this.runRequiredValidations(); + if (this.autocomplete && Array.isArray(this.choices) && this.choices.length > 0) { + throw new RangeError("Autocomplete and choices are mutually exclusive to each other."); + } + return { ...this }; + } +}; +__name(SlashCommandStringOption, "SlashCommandStringOption"); +SlashCommandStringOption = __decorateClass([ + mix4(ApplicationCommandOptionWithChoicesAndAutocompleteMixin) +], SlashCommandStringOption); + +// src/interactions/slashCommands/options/user.ts +import { ApplicationCommandOptionType as ApplicationCommandOptionType10 } from "discord-api-types/v10"; +var SlashCommandUserOption = class extends ApplicationCommandOptionBase { + constructor() { + super(...arguments); + __publicField(this, "type", ApplicationCommandOptionType10.User); + } + toJSON() { + this.runRequiredValidations(); + return { ...this }; + } +}; +__name(SlashCommandUserOption, "SlashCommandUserOption"); + +// src/interactions/slashCommands/mixins/SharedSlashCommandOptions.ts +var SharedSlashCommandOptions = class { + constructor() { + __publicField(this, "options"); + } + addBooleanOption(input) { + return this._sharedAddOptionMethod(input, SlashCommandBooleanOption); + } + addUserOption(input) { + return this._sharedAddOptionMethod(input, SlashCommandUserOption); + } + addChannelOption(input) { + return this._sharedAddOptionMethod(input, SlashCommandChannelOption); + } + addRoleOption(input) { + return this._sharedAddOptionMethod(input, SlashCommandRoleOption); + } + addAttachmentOption(input) { + return this._sharedAddOptionMethod(input, SlashCommandAttachmentOption); + } + addMentionableOption(input) { + return this._sharedAddOptionMethod(input, SlashCommandMentionableOption); + } + addStringOption(input) { + return this._sharedAddOptionMethod(input, SlashCommandStringOption); + } + addIntegerOption(input) { + return this._sharedAddOptionMethod(input, SlashCommandIntegerOption); + } + addNumberOption(input) { + return this._sharedAddOptionMethod(input, SlashCommandNumberOption); + } + _sharedAddOptionMethod(input, Instance) { + const { options } = this; + validateMaxOptionsLength(options); + const result = typeof input === "function" ? input(new Instance()) : input; + assertReturnOfBuilder(result, Instance); + options.push(result); + return this; + } +}; +__name(SharedSlashCommandOptions, "SharedSlashCommandOptions"); + +// src/interactions/slashCommands/SlashCommandSubcommands.ts +var SlashCommandSubcommandGroupBuilder = class { + constructor() { + __publicField(this, "name"); + __publicField(this, "description"); + __publicField(this, "options", []); + } + addSubcommand(input) { + const { options } = this; + validateMaxOptionsLength(options); + const result = typeof input === "function" ? input(new SlashCommandSubcommandBuilder()) : input; + assertReturnOfBuilder(result, SlashCommandSubcommandBuilder); + options.push(result); + return this; + } + toJSON() { + validateRequiredParameters3(this.name, this.description, this.options); + return { + type: ApplicationCommandOptionType11.SubcommandGroup, + name: this.name, + name_localizations: this.name_localizations, + description: this.description, + description_localizations: this.description_localizations, + options: this.options.map((option) => option.toJSON()) + }; + } +}; +__name(SlashCommandSubcommandGroupBuilder, "SlashCommandSubcommandGroupBuilder"); +SlashCommandSubcommandGroupBuilder = __decorateClass([ + mix5(SharedNameAndDescription) +], SlashCommandSubcommandGroupBuilder); +var SlashCommandSubcommandBuilder = class { + constructor() { + __publicField(this, "name"); + __publicField(this, "description"); + __publicField(this, "options", []); + } + toJSON() { + validateRequiredParameters3(this.name, this.description, this.options); + return { + type: ApplicationCommandOptionType11.Subcommand, + name: this.name, + name_localizations: this.name_localizations, + description: this.description, + description_localizations: this.description_localizations, + options: this.options.map((option) => option.toJSON()) + }; + } +}; +__name(SlashCommandSubcommandBuilder, "SlashCommandSubcommandBuilder"); +SlashCommandSubcommandBuilder = __decorateClass([ + mix5(SharedNameAndDescription, SharedSlashCommandOptions) +], SlashCommandSubcommandBuilder); + +// src/interactions/slashCommands/SlashCommandBuilder.ts +var SlashCommandBuilder = class { + constructor() { + __publicField(this, "name"); + __publicField(this, "name_localizations"); + __publicField(this, "description"); + __publicField(this, "description_localizations"); + __publicField(this, "options", []); + __publicField(this, "default_permission"); + __publicField(this, "default_member_permissions"); + __publicField(this, "dm_permission"); + } + toJSON() { + validateRequiredParameters3(this.name, this.description, this.options); + validateLocalizationMap(this.name_localizations); + validateLocalizationMap(this.description_localizations); + return { + ...this, + options: this.options.map((option) => option.toJSON()) + }; + } + setDefaultPermission(value) { + validateDefaultPermission(value); + Reflect.set(this, "default_permission", value); + return this; + } + setDefaultMemberPermissions(permissions) { + const permissionValue = validateDefaultMemberPermissions(permissions); + Reflect.set(this, "default_member_permissions", permissionValue); + return this; + } + setDMPermission(enabled) { + validateDMPermission(enabled); + Reflect.set(this, "dm_permission", enabled); + return this; + } + addSubcommandGroup(input) { + const { options } = this; + validateMaxOptionsLength(options); + const result = typeof input === "function" ? input(new SlashCommandSubcommandGroupBuilder()) : input; + assertReturnOfBuilder(result, SlashCommandSubcommandGroupBuilder); + options.push(result); + return this; + } + addSubcommand(input) { + const { options } = this; + validateMaxOptionsLength(options); + const result = typeof input === "function" ? input(new SlashCommandSubcommandBuilder()) : input; + assertReturnOfBuilder(result, SlashCommandSubcommandBuilder); + options.push(result); + return this; + } +}; +__name(SlashCommandBuilder, "SlashCommandBuilder"); +SlashCommandBuilder = __decorateClass([ + mix6(SharedSlashCommandOptions, SharedNameAndDescription) +], SlashCommandBuilder); + +// src/interactions/contextMenuCommands/Assertions.ts +var Assertions_exports6 = {}; +__export(Assertions_exports6, { + validateDMPermission: () => validateDMPermission2, + validateDefaultMemberPermissions: () => validateDefaultMemberPermissions2, + validateDefaultPermission: () => validateDefaultPermission2, + validateName: () => validateName2, + validateRequiredParameters: () => validateRequiredParameters4, + validateType: () => validateType +}); +import { s as s11 } from "@sapphire/shapeshift"; +import { ApplicationCommandType } from "discord-api-types/v10"; +var namePredicate2 = s11.string.lengthGreaterThanOrEqual(1).lengthLessThanOrEqual(32).regex(/^( *[\p{L}\p{N}\p{sc=Devanagari}\p{sc=Thai}_-]+ *)+$/u).setValidationEnabled(isValidationEnabled); +var typePredicate = s11.union(s11.literal(ApplicationCommandType.User), s11.literal(ApplicationCommandType.Message)).setValidationEnabled(isValidationEnabled); +var booleanPredicate3 = s11.boolean; +function validateDefaultPermission2(value) { + booleanPredicate3.parse(value); +} +__name(validateDefaultPermission2, "validateDefaultPermission"); +function validateName2(name) { + namePredicate2.parse(name); +} +__name(validateName2, "validateName"); +function validateType(type) { + typePredicate.parse(type); +} +__name(validateType, "validateType"); +function validateRequiredParameters4(name, type) { + validateName2(name); + validateType(type); +} +__name(validateRequiredParameters4, "validateRequiredParameters"); +var dmPermissionPredicate2 = s11.boolean.nullish; +function validateDMPermission2(value) { + dmPermissionPredicate2.parse(value); +} +__name(validateDMPermission2, "validateDMPermission"); +var memberPermissionPredicate2 = s11.union(s11.bigint.transform((value) => value.toString()), s11.number.safeInt.transform((value) => value.toString()), s11.string.regex(/^\d+$/)).nullish; +function validateDefaultMemberPermissions2(permissions) { + return memberPermissionPredicate2.parse(permissions); +} +__name(validateDefaultMemberPermissions2, "validateDefaultMemberPermissions"); + +// src/interactions/contextMenuCommands/ContextMenuCommandBuilder.ts +var ContextMenuCommandBuilder = class { + constructor() { + __publicField(this, "name"); + __publicField(this, "name_localizations"); + __publicField(this, "type"); + __publicField(this, "default_permission"); + __publicField(this, "default_member_permissions"); + __publicField(this, "dm_permission"); + } + setName(name) { + validateName2(name); + Reflect.set(this, "name", name); + return this; + } + setType(type) { + validateType(type); + Reflect.set(this, "type", type); + return this; + } + setDefaultPermission(value) { + validateDefaultPermission2(value); + Reflect.set(this, "default_permission", value); + return this; + } + setDefaultMemberPermissions(permissions) { + const permissionValue = validateDefaultMemberPermissions2(permissions); + Reflect.set(this, "default_member_permissions", permissionValue); + return this; + } + setDMPermission(enabled) { + validateDMPermission2(enabled); + Reflect.set(this, "dm_permission", enabled); + return this; + } + setNameLocalization(locale, localizedName) { + if (!this.name_localizations) { + Reflect.set(this, "name_localizations", {}); + } + const parsedLocale = validateLocale(locale); + if (localizedName === null) { + this.name_localizations[parsedLocale] = null; + return this; + } + validateName2(localizedName); + this.name_localizations[parsedLocale] = localizedName; + return this; + } + setNameLocalizations(localizedNames) { + if (localizedNames === null) { + Reflect.set(this, "name_localizations", null); + return this; + } + Reflect.set(this, "name_localizations", {}); + Object.entries(localizedNames).forEach((args) => this.setNameLocalization(...args)); + return this; + } + toJSON() { + validateRequiredParameters4(this.name, this.type); + validateLocalizationMap(this.name_localizations); + return { ...this }; + } +}; +__name(ContextMenuCommandBuilder, "ContextMenuCommandBuilder"); + +// src/util/equatable.ts +function isEquatable(maybeEquatable) { + return maybeEquatable !== null && typeof maybeEquatable === "object" && "equals" in maybeEquatable; +} +__name(isEquatable, "isEquatable"); + +// src/util/componentUtil.ts +function embedLength(data) { + return (data.title?.length ?? 0) + (data.description?.length ?? 0) + (data.fields?.reduce((prev, curr) => prev + curr.name.length + curr.value.length, 0) ?? 0) + (data.footer?.text.length ?? 0) + (data.author?.name.length ?? 0); +} +__name(embedLength, "embedLength"); +export { + ActionRowBuilder, + ApplicationCommandNumericOptionMinMaxValueMixin, + ApplicationCommandOptionBase, + ApplicationCommandOptionChannelTypesMixin, + ApplicationCommandOptionWithChoicesAndAutocompleteMixin, + ButtonBuilder, + Assertions_exports2 as ComponentAssertions, + ComponentBuilder, + Assertions_exports6 as ContextMenuCommandAssertions, + ContextMenuCommandBuilder, + Assertions_exports as EmbedAssertions, + EmbedBuilder, + Faces, + Assertions_exports4 as ModalAssertions, + ModalBuilder, + SelectMenuBuilder, + SelectMenuOptionBuilder, + SharedNameAndDescription, + SharedSlashCommandOptions, + Assertions_exports5 as SlashCommandAssertions, + SlashCommandAttachmentOption, + SlashCommandBooleanOption, + SlashCommandBuilder, + SlashCommandChannelOption, + SlashCommandIntegerOption, + SlashCommandMentionableOption, + SlashCommandNumberOption, + SlashCommandRoleOption, + SlashCommandStringOption, + SlashCommandSubcommandBuilder, + SlashCommandSubcommandGroupBuilder, + SlashCommandUserOption, + Assertions_exports3 as TextInputAssertions, + TextInputBuilder, + TimestampStyles, + blockQuote, + bold, + channelMention, + codeBlock, + createComponentBuilder, + disableValidators, + embedLength, + enableValidators, + formatEmoji, + hideLinkEmbed, + hyperlink, + inlineCode, + isEquatable, + isJSONEncodable, + isValidationEnabled, + italic, + normalizeArray, + quote, + roleMention, + spoiler, + strikethrough, + time, + underscore, + userMention +}; +//# sourceMappingURL=index.mjs.map \ No newline at end of file diff --git a/node_modules/@discordjs/builders/dist/index.mjs.map b/node_modules/@discordjs/builders/dist/index.mjs.map new file mode 100644 index 0000000..9480c31 --- /dev/null +++ b/node_modules/@discordjs/builders/dist/index.mjs.map @@ -0,0 +1 @@ +{"version":3,"sources":["../src/messages/embed/Assertions.ts","../src/util/validation.ts","../src/util/normalizeArray.ts","../src/messages/embed/Embed.ts","../src/messages/formatters.ts","../src/components/Assertions.ts","../src/components/selectMenu/SelectMenuOption.ts","../src/components/ActionRow.ts","../src/components/Component.ts","../src/components/Components.ts","../src/components/button/Button.ts","../src/components/selectMenu/SelectMenu.ts","../src/components/textInput/TextInput.ts","../src/components/textInput/Assertions.ts","../src/util/jsonEncodable.ts","../src/interactions/modals/Assertions.ts","../src/interactions/modals/Modal.ts","../src/interactions/slashCommands/Assertions.ts","../src/interactions/slashCommands/SlashCommandBuilder.ts","../src/interactions/slashCommands/SlashCommandSubcommands.ts","../src/interactions/slashCommands/mixins/NameAndDescription.ts","../src/interactions/slashCommands/options/attachment.ts","../src/interactions/slashCommands/mixins/ApplicationCommandOptionBase.ts","../src/interactions/slashCommands/options/boolean.ts","../src/interactions/slashCommands/options/channel.ts","../src/interactions/slashCommands/mixins/ApplicationCommandOptionChannelTypesMixin.ts","../src/interactions/slashCommands/options/integer.ts","../src/interactions/slashCommands/mixins/ApplicationCommandNumericOptionMinMaxValueMixin.ts","../src/interactions/slashCommands/mixins/ApplicationCommandOptionWithChoicesAndAutocompleteMixin.ts","../src/interactions/slashCommands/options/mentionable.ts","../src/interactions/slashCommands/options/number.ts","../src/interactions/slashCommands/options/role.ts","../src/interactions/slashCommands/options/string.ts","../src/interactions/slashCommands/options/user.ts","../src/interactions/slashCommands/mixins/SharedSlashCommandOptions.ts","../src/interactions/contextMenuCommands/Assertions.ts","../src/interactions/contextMenuCommands/ContextMenuCommandBuilder.ts","../src/util/equatable.ts","../src/util/componentUtil.ts"],"sourcesContent":["import { s } from '@sapphire/shapeshift';\nimport type { APIEmbedField } from 'discord-api-types/v10';\nimport { isValidationEnabled } from '../../util/validation';\n\nexport const fieldNamePredicate = s.string\n\t.lengthGreaterThanOrEqual(1)\n\t.lengthLessThanOrEqual(256)\n\t.setValidationEnabled(isValidationEnabled);\n\nexport const fieldValuePredicate = s.string\n\t.lengthGreaterThanOrEqual(1)\n\t.lengthLessThanOrEqual(1024)\n\t.setValidationEnabled(isValidationEnabled);\n\nexport const fieldInlinePredicate = s.boolean.optional;\n\nexport const embedFieldPredicate = s\n\t.object({\n\t\tname: fieldNamePredicate,\n\t\tvalue: fieldValuePredicate,\n\t\tinline: fieldInlinePredicate,\n\t})\n\t.setValidationEnabled(isValidationEnabled);\n\nexport const embedFieldsArrayPredicate = embedFieldPredicate.array.setValidationEnabled(isValidationEnabled);\n\nexport const fieldLengthPredicate = s.number.lessThanOrEqual(25).setValidationEnabled(isValidationEnabled);\n\nexport function validateFieldLength(amountAdding: number, fields?: APIEmbedField[]): void {\n\tfieldLengthPredicate.parse((fields?.length ?? 0) + amountAdding);\n}\n\nexport const authorNamePredicate = fieldNamePredicate.nullable.setValidationEnabled(isValidationEnabled);\n\nexport const imageURLPredicate = s.string\n\t.url({\n\t\tallowedProtocols: ['http:', 'https:', 'attachment:'],\n\t})\n\t.nullish.setValidationEnabled(isValidationEnabled);\n\nexport const urlPredicate = s.string\n\t.url({\n\t\tallowedProtocols: ['http:', 'https:'],\n\t})\n\t.nullish.setValidationEnabled(isValidationEnabled);\n\nexport const embedAuthorPredicate = s\n\t.object({\n\t\tname: authorNamePredicate,\n\t\ticonURL: imageURLPredicate,\n\t\turl: urlPredicate,\n\t})\n\t.setValidationEnabled(isValidationEnabled);\n\nexport const RGBPredicate = s.number.int\n\t.greaterThanOrEqual(0)\n\t.lessThanOrEqual(255)\n\t.setValidationEnabled(isValidationEnabled);\nexport const colorPredicate = s.number.int\n\t.greaterThanOrEqual(0)\n\t.lessThanOrEqual(0xffffff)\n\t.or(s.tuple([RGBPredicate, RGBPredicate, RGBPredicate]))\n\t.nullable.setValidationEnabled(isValidationEnabled);\n\nexport const descriptionPredicate = s.string\n\t.lengthGreaterThanOrEqual(1)\n\t.lengthLessThanOrEqual(4096)\n\t.nullable.setValidationEnabled(isValidationEnabled);\n\nexport const footerTextPredicate = s.string\n\t.lengthGreaterThanOrEqual(1)\n\t.lengthLessThanOrEqual(2048)\n\t.nullable.setValidationEnabled(isValidationEnabled);\n\nexport const embedFooterPredicate = s\n\t.object({\n\t\ttext: footerTextPredicate,\n\t\ticonURL: imageURLPredicate,\n\t})\n\t.setValidationEnabled(isValidationEnabled);\n\nexport const timestampPredicate = s.union(s.number, s.date).nullable.setValidationEnabled(isValidationEnabled);\n\nexport const titlePredicate = fieldNamePredicate.nullable.setValidationEnabled(isValidationEnabled);\n","let validate = true;\n\nexport const enableValidators = () => (validate = true);\nexport const disableValidators = () => (validate = false);\nexport const isValidationEnabled = () => validate;\n","export function normalizeArray(arr: RestOrArray): T[] {\n\tif (Array.isArray(arr[0])) return arr[0];\n\treturn arr as T[];\n}\n\nexport type RestOrArray = T[] | [T[]];\n","import type { APIEmbed, APIEmbedAuthor, APIEmbedField, APIEmbedFooter, APIEmbedImage } from 'discord-api-types/v10';\nimport {\n\tcolorPredicate,\n\tdescriptionPredicate,\n\tembedAuthorPredicate,\n\tembedFieldsArrayPredicate,\n\tembedFooterPredicate,\n\timageURLPredicate,\n\ttimestampPredicate,\n\ttitlePredicate,\n\turlPredicate,\n\tvalidateFieldLength,\n} from './Assertions';\nimport { normalizeArray, type RestOrArray } from '../../util/normalizeArray';\n\nexport type RGBTuple = [red: number, green: number, blue: number];\n\nexport interface IconData {\n\t/**\n\t * The URL of the icon\n\t */\n\ticonURL?: string;\n\t/**\n\t * The proxy URL of the icon\n\t */\n\tproxyIconURL?: string;\n}\n\nexport type EmbedAuthorData = Omit & IconData;\n\nexport type EmbedAuthorOptions = Omit;\n\nexport type EmbedFooterData = Omit & IconData;\n\nexport type EmbedFooterOptions = Omit;\n\nexport interface EmbedImageData extends Omit {\n\t/**\n\t * The proxy URL for the image\n\t */\n\tproxyURL?: string;\n}\n/**\n * Represents a embed in a message (image/video preview, rich embed, etc.)\n */\nexport class EmbedBuilder {\n\tpublic readonly data: APIEmbed;\n\n\tpublic constructor(data: APIEmbed = {}) {\n\t\tthis.data = { ...data };\n\t\tif (data.timestamp) this.data.timestamp = new Date(data.timestamp).toISOString();\n\t}\n\n\t/**\n\t * Adds fields to the embed (max 25)\n\t *\n\t * @param fields The fields to add\n\t */\n\tpublic addFields(...fields: RestOrArray): this {\n\t\tfields = normalizeArray(fields);\n\t\t// Ensure adding these fields won't exceed the 25 field limit\n\t\tvalidateFieldLength(fields.length, this.data.fields);\n\n\t\t// Data assertions\n\t\tembedFieldsArrayPredicate.parse(fields);\n\n\t\tif (this.data.fields) this.data.fields.push(...fields);\n\t\telse this.data.fields = fields;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Removes, replaces, or inserts fields in the embed (max 25)\n\t *\n\t * @param index The index to start at\n\t * @param deleteCount The number of fields to remove\n\t * @param fields The replacing field objects\n\t */\n\tpublic spliceFields(index: number, deleteCount: number, ...fields: APIEmbedField[]): this {\n\t\t// Ensure adding these fields won't exceed the 25 field limit\n\t\tvalidateFieldLength(fields.length - deleteCount, this.data.fields);\n\n\t\t// Data assertions\n\t\tembedFieldsArrayPredicate.parse(fields);\n\t\tif (this.data.fields) this.data.fields.splice(index, deleteCount, ...fields);\n\t\telse this.data.fields = fields;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the embed's fields (max 25).\n\t * @param fields The fields to set\n\t */\n\tpublic setFields(...fields: RestOrArray) {\n\t\tthis.spliceFields(0, this.data.fields?.length ?? 0, ...normalizeArray(fields));\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the author of this embed\n\t *\n\t * @param options The options for the author\n\t */\n\n\tpublic setAuthor(options: EmbedAuthorOptions | null): this {\n\t\tif (options === null) {\n\t\t\tthis.data.author = undefined;\n\t\t\treturn this;\n\t\t}\n\n\t\t// Data assertions\n\t\tembedAuthorPredicate.parse(options);\n\n\t\tthis.data.author = { name: options.name, url: options.url, icon_url: options.iconURL };\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the color of this embed\n\t *\n\t * @param color The color of the embed\n\t */\n\tpublic setColor(color: number | RGBTuple | null): this {\n\t\t// Data assertions\n\t\tcolorPredicate.parse(color);\n\n\t\tif (Array.isArray(color)) {\n\t\t\tconst [red, green, blue] = color;\n\t\t\tthis.data.color = (red << 16) + (green << 8) + blue;\n\t\t\treturn this;\n\t\t}\n\t\tthis.data.color = color ?? undefined;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the description of this embed\n\t *\n\t * @param description The description\n\t */\n\tpublic setDescription(description: string | null): this {\n\t\t// Data assertions\n\t\tdescriptionPredicate.parse(description);\n\n\t\tthis.data.description = description ?? undefined;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the footer of this embed\n\t *\n\t * @param options The options for the footer\n\t */\n\tpublic setFooter(options: EmbedFooterOptions | null): this {\n\t\tif (options === null) {\n\t\t\tthis.data.footer = undefined;\n\t\t\treturn this;\n\t\t}\n\n\t\t// Data assertions\n\t\tembedFooterPredicate.parse(options);\n\n\t\tthis.data.footer = { text: options.text, icon_url: options.iconURL };\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the image of this embed\n\t *\n\t * @param url The URL of the image\n\t */\n\tpublic setImage(url: string | null): this {\n\t\t// Data assertions\n\t\timageURLPredicate.parse(url);\n\n\t\tthis.data.image = url ? { url } : undefined;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the thumbnail of this embed\n\t *\n\t * @param url The URL of the thumbnail\n\t */\n\tpublic setThumbnail(url: string | null): this {\n\t\t// Data assertions\n\t\timageURLPredicate.parse(url);\n\n\t\tthis.data.thumbnail = url ? { url } : undefined;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the timestamp of this embed\n\t *\n\t * @param timestamp The timestamp or date\n\t */\n\tpublic setTimestamp(timestamp: number | Date | null = Date.now()): this {\n\t\t// Data assertions\n\t\ttimestampPredicate.parse(timestamp);\n\n\t\tthis.data.timestamp = timestamp ? new Date(timestamp).toISOString() : undefined;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the title of this embed\n\t *\n\t * @param title The title\n\t */\n\tpublic setTitle(title: string | null): this {\n\t\t// Data assertions\n\t\ttitlePredicate.parse(title);\n\n\t\tthis.data.title = title ?? undefined;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the URL of this embed\n\t *\n\t * @param url The URL\n\t */\n\tpublic setURL(url: string | null): this {\n\t\t// Data assertions\n\t\turlPredicate.parse(url);\n\n\t\tthis.data.url = url ?? undefined;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Transforms the embed to a plain object\n\t */\n\tpublic toJSON(): APIEmbed {\n\t\treturn { ...this.data };\n\t}\n}\n","import type { URL } from 'url';\nimport type { Snowflake } from 'discord-api-types/globals';\n\n/**\n * Wraps the content inside a codeblock with no language\n *\n * @param content - The content to wrap\n */\nexport function codeBlock(content: C): `\\`\\`\\`\\n${C}\\`\\`\\``;\n\n/**\n * Wraps the content inside a codeblock with the specified language\n *\n * @param language - The language for the codeblock\n * @param content - The content to wrap\n */\nexport function codeBlock(language: L, content: C): `\\`\\`\\`${L}\\n${C}\\`\\`\\``;\nexport function codeBlock(language: string, content?: string): string {\n\treturn typeof content === 'undefined' ? `\\`\\`\\`\\n${language}\\`\\`\\`` : `\\`\\`\\`${language}\\n${content}\\`\\`\\``;\n}\n\n/**\n * Wraps the content inside \\`backticks\\`, which formats it as inline code\n *\n * @param content - The content to wrap\n */\nexport function inlineCode(content: C): `\\`${C}\\`` {\n\treturn `\\`${content}\\``;\n}\n\n/**\n * Formats the content into italic text\n *\n * @param content - The content to wrap\n */\nexport function italic(content: C): `_${C}_` {\n\treturn `_${content}_`;\n}\n\n/**\n * Formats the content into bold text\n *\n * @param content - The content to wrap\n */\nexport function bold(content: C): `**${C}**` {\n\treturn `**${content}**`;\n}\n\n/**\n * Formats the content into underscored text\n *\n * @param content - The content to wrap\n */\nexport function underscore(content: C): `__${C}__` {\n\treturn `__${content}__`;\n}\n\n/**\n * Formats the content into strike-through text\n *\n * @param content - The content to wrap\n */\nexport function strikethrough(content: C): `~~${C}~~` {\n\treturn `~~${content}~~`;\n}\n\n/**\n * Formats the content into a quote. This needs to be at the start of the line for Discord to format it\n *\n * @param content - The content to wrap\n */\nexport function quote(content: C): `> ${C}` {\n\treturn `> ${content}`;\n}\n\n/**\n * Formats the content into a block quote. This needs to be at the start of the line for Discord to format it\n *\n * @param content - The content to wrap\n */\nexport function blockQuote(content: C): `>>> ${C}` {\n\treturn `>>> ${content}`;\n}\n\n/**\n * Wraps the URL into `<>`, which stops it from embedding\n *\n * @param url - The URL to wrap\n */\nexport function hideLinkEmbed(url: C): `<${C}>`;\n\n/**\n * Wraps the URL into `<>`, which stops it from embedding\n *\n * @param url - The URL to wrap\n */\nexport function hideLinkEmbed(url: URL): `<${string}>`;\nexport function hideLinkEmbed(url: string | URL) {\n\t// eslint-disable-next-line @typescript-eslint/restrict-template-expressions\n\treturn `<${url}>`;\n}\n\n/**\n * Formats the content and the URL into a masked URL\n *\n * @param content - The content to display\n * @param url - The URL the content links to\n */\nexport function hyperlink(content: C, url: URL): `[${C}](${string})`;\n\n/**\n * Formats the content and the URL into a masked URL\n *\n * @param content - The content to display\n * @param url - The URL the content links to\n */\nexport function hyperlink(content: C, url: U): `[${C}](${U})`;\n\n/**\n * Formats the content and the URL into a masked URL\n *\n * @param content - The content to display\n * @param url - The URL the content links to\n * @param title - The title shown when hovering on the masked link\n */\nexport function hyperlink(\n\tcontent: C,\n\turl: URL,\n\ttitle: T,\n): `[${C}](${string} \"${T}\")`;\n\n/**\n * Formats the content and the URL into a masked URL\n *\n * @param content - The content to display\n * @param url - The URL the content links to\n * @param title - The title shown when hovering on the masked link\n */\nexport function hyperlink(\n\tcontent: C,\n\turl: U,\n\ttitle: T,\n): `[${C}](${U} \"${T}\")`;\nexport function hyperlink(content: string, url: string | URL, title?: string) {\n\t// eslint-disable-next-line @typescript-eslint/restrict-template-expressions\n\treturn title ? `[${content}](${url} \"${title}\")` : `[${content}](${url})`;\n}\n\n/**\n * Wraps the content inside spoiler (hidden text)\n *\n * @param content - The content to wrap\n */\nexport function spoiler(content: C): `||${C}||` {\n\treturn `||${content}||`;\n}\n\n/**\n * Formats a user ID into a user mention\n *\n * @param userId - The user ID to format\n */\nexport function userMention(userId: C): `<@${C}>` {\n\treturn `<@${userId}>`;\n}\n\n/**\n * Formats a channel ID into a channel mention\n *\n * @param channelId - The channel ID to format\n */\nexport function channelMention(channelId: C): `<#${C}>` {\n\treturn `<#${channelId}>`;\n}\n\n/**\n * Formats a role ID into a role mention\n *\n * @param roleId - The role ID to format\n */\nexport function roleMention(roleId: C): `<@&${C}>` {\n\treturn `<@&${roleId}>`;\n}\n\n/**\n * Formats an emoji ID into a fully qualified emoji identifier\n *\n * @param emojiId - The emoji ID to format\n */\nexport function formatEmoji(emojiId: C, animated?: false): `<:_:${C}>`;\n\n/**\n * Formats an emoji ID into a fully qualified emoji identifier\n *\n * @param emojiId - The emoji ID to format\n * @param animated - Whether the emoji is animated or not. Defaults to `false`\n */\nexport function formatEmoji(emojiId: C, animated?: true): ``;\n\n/**\n * Formats an emoji ID into a fully qualified emoji identifier\n *\n * @param emojiId - The emoji ID to format\n * @param animated - Whether the emoji is animated or not. Defaults to `false`\n */\nexport function formatEmoji(emojiId: C, animated = false): `` | `<:_:${C}>` {\n\treturn `<${animated ? 'a' : ''}:_:${emojiId}>`;\n}\n\n/**\n * Formats a date into a short date-time string\n *\n * @param date - The date to format, defaults to the current time\n */\nexport function time(date?: Date): ``;\n\n/**\n * Formats a date given a format style\n *\n * @param date - The date to format\n * @param style - The style to use\n */\nexport function time(date: Date, style: S): ``;\n\n/**\n * Formats the given timestamp into a short date-time string\n *\n * @param seconds - The time to format, represents an UNIX timestamp in seconds\n */\nexport function time(seconds: C): ``;\n\n/**\n * Formats the given timestamp into a short date-time string\n *\n * @param seconds - The time to format, represents an UNIX timestamp in seconds\n * @param style - The style to use\n */\nexport function time(seconds: C, style: S): ``;\nexport function time(timeOrSeconds?: number | Date, style?: TimestampStylesString): string {\n\tif (typeof timeOrSeconds !== 'number') {\n\t\ttimeOrSeconds = Math.floor((timeOrSeconds?.getTime() ?? Date.now()) / 1000);\n\t}\n\n\treturn typeof style === 'string' ? `` : ``;\n}\n\n/**\n * The [message formatting timestamp styles](https://discord.com/developers/docs/reference#message-formatting-timestamp-styles) supported by Discord\n */\nexport const TimestampStyles = {\n\t/**\n\t * Short time format, consisting of hours and minutes, e.g. 16:20\n\t */\n\tShortTime: 't',\n\n\t/**\n\t * Long time format, consisting of hours, minutes, and seconds, e.g. 16:20:30\n\t */\n\tLongTime: 'T',\n\n\t/**\n\t * Short date format, consisting of day, month, and year, e.g. 20/04/2021\n\t */\n\tShortDate: 'd',\n\n\t/**\n\t * Long date format, consisting of day, month, and year, e.g. 20 April 2021\n\t */\n\tLongDate: 'D',\n\n\t/**\n\t * Short date-time format, consisting of short date and short time formats, e.g. 20 April 2021 16:20\n\t */\n\tShortDateTime: 'f',\n\n\t/**\n\t * Long date-time format, consisting of long date and short time formats, e.g. Tuesday, 20 April 2021 16:20\n\t */\n\tLongDateTime: 'F',\n\n\t/**\n\t * Relative time format, consisting of a relative duration format, e.g. 2 months ago\n\t */\n\tRelativeTime: 'R',\n} as const;\n\n/**\n * The possible values, see {@link TimestampStyles} for more information\n */\nexport type TimestampStylesString = typeof TimestampStyles[keyof typeof TimestampStyles];\n\n/**\n * An enum with all the available faces from Discord's native slash commands\n */\nexport enum Faces {\n\t/**\n\t * ¯\\\\_(ツ)\\\\_/¯\n\t */\n\tShrug = '¯\\\\_(ツ)\\\\_/¯',\n\n\t/**\n\t * (╯°□°)╯︵ ┻━┻\n\t */\n\tTableflip = '(╯°□°)╯︵ ┻━┻',\n\n\t/**\n\t * ┬─┬ ノ( ゜-゜ノ)\n\t */\n\tUnflip = '┬─┬ ノ( ゜-゜ノ)',\n}\n","import { s } from '@sapphire/shapeshift';\nimport { APIMessageComponentEmoji, ButtonStyle } from 'discord-api-types/v10';\nimport { SelectMenuOptionBuilder } from './selectMenu/SelectMenuOption';\nimport { isValidationEnabled } from '../util/validation';\n\nexport const customIdValidator = s.string\n\t.lengthGreaterThanOrEqual(1)\n\t.lengthLessThanOrEqual(100)\n\t.setValidationEnabled(isValidationEnabled);\n\nexport const emojiValidator = s\n\t.object({\n\t\tid: s.string,\n\t\tname: s.string,\n\t\tanimated: s.boolean,\n\t})\n\t.partial.strict.setValidationEnabled(isValidationEnabled);\n\nexport const disabledValidator = s.boolean;\n\nexport const buttonLabelValidator = s.string\n\t.lengthGreaterThanOrEqual(1)\n\t.lengthLessThanOrEqual(80)\n\t.setValidationEnabled(isValidationEnabled);\n\nexport const buttonStyleValidator = s.nativeEnum(ButtonStyle);\n\nexport const placeholderValidator = s.string.lengthLessThanOrEqual(150).setValidationEnabled(isValidationEnabled);\nexport const minMaxValidator = s.number.int\n\t.greaterThanOrEqual(0)\n\t.lessThanOrEqual(25)\n\t.setValidationEnabled(isValidationEnabled);\n\nexport const labelValueDescriptionValidator = s.string\n\t.lengthGreaterThanOrEqual(1)\n\t.lengthLessThanOrEqual(100)\n\t.setValidationEnabled(isValidationEnabled);\nexport const optionValidator = s\n\t.union(\n\t\ts.object({\n\t\t\tlabel: labelValueDescriptionValidator,\n\t\t\tvalue: labelValueDescriptionValidator,\n\t\t\tdescription: labelValueDescriptionValidator.optional,\n\t\t\temoji: emojiValidator.optional,\n\t\t\tdefault: s.boolean.optional,\n\t\t}),\n\t\ts.instance(SelectMenuOptionBuilder),\n\t)\n\t.setValidationEnabled(isValidationEnabled);\n\nexport const optionsValidator = optionValidator.array\n\t.lengthGreaterThanOrEqual(0)\n\t.setValidationEnabled(isValidationEnabled);\nexport const optionsLengthValidator = s.number.int\n\t.greaterThanOrEqual(0)\n\t.lessThanOrEqual(25)\n\t.setValidationEnabled(isValidationEnabled);\n\nexport function validateRequiredSelectMenuParameters(options: SelectMenuOptionBuilder[], customId?: string) {\n\tcustomIdValidator.parse(customId);\n\toptionsValidator.parse(options);\n}\n\nexport const defaultValidator = s.boolean;\n\nexport function validateRequiredSelectMenuOptionParameters(label?: string, value?: string) {\n\tlabelValueDescriptionValidator.parse(label);\n\tlabelValueDescriptionValidator.parse(value);\n}\n\nexport const urlValidator = s.string\n\t.url({\n\t\tallowedProtocols: ['http:', 'https:', 'discord:'],\n\t})\n\t.setValidationEnabled(isValidationEnabled);\n\nexport function validateRequiredButtonParameters(\n\tstyle?: ButtonStyle,\n\tlabel?: string,\n\temoji?: APIMessageComponentEmoji,\n\tcustomId?: string,\n\turl?: string,\n) {\n\tif (url && customId) {\n\t\tthrow new RangeError('URL and custom id are mutually exclusive');\n\t}\n\n\tif (!label && !emoji) {\n\t\tthrow new RangeError('Buttons must have a label and/or an emoji');\n\t}\n\n\tif (style === ButtonStyle.Link) {\n\t\tif (!url) {\n\t\t\tthrow new RangeError('Link buttons must have a url');\n\t\t}\n\t} else if (url) {\n\t\tthrow new RangeError('Non-link buttons cannot have a url');\n\t}\n}\n","import type { APIMessageComponentEmoji, APISelectMenuOption } from 'discord-api-types/v10';\n\nimport {\n\tdefaultValidator,\n\temojiValidator,\n\tlabelValueDescriptionValidator,\n\tvalidateRequiredSelectMenuOptionParameters,\n} from '../Assertions';\n\n/**\n * Represents a option within a select menu component\n */\nexport class SelectMenuOptionBuilder {\n\tpublic constructor(public data: Partial = {}) {}\n\n\t/**\n\t * Sets the label of this option\n\t *\n\t * @param label - The label to show on this option\n\t */\n\tpublic setLabel(label: string) {\n\t\tthis.data.label = labelValueDescriptionValidator.parse(label);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the value of this option\n\t *\n\t * @param value - The value of this option\n\t */\n\tpublic setValue(value: string) {\n\t\tthis.data.value = labelValueDescriptionValidator.parse(value);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the description of this option\n\t *\n\t * @param description - The description of this option\n\t */\n\tpublic setDescription(description: string) {\n\t\tthis.data.description = labelValueDescriptionValidator.parse(description);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets whether this option is selected by default\n\t *\n\t * @param isDefault - Whether this option is selected by default\n\t */\n\tpublic setDefault(isDefault = true) {\n\t\tthis.data.default = defaultValidator.parse(isDefault);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the emoji to display on this option\n\t *\n\t * @param emoji - The emoji to display on this option\n\t */\n\tpublic setEmoji(emoji: APIMessageComponentEmoji) {\n\t\tthis.data.emoji = emojiValidator.parse(emoji);\n\t\treturn this;\n\t}\n\n\tpublic toJSON(): APISelectMenuOption {\n\t\tvalidateRequiredSelectMenuOptionParameters(this.data.label, this.data.value);\n\t\t// eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n\t\treturn {\n\t\t\t...this.data,\n\t\t} as APISelectMenuOption;\n\t}\n}\n","import {\n\ttype APIActionRowComponent,\n\tComponentType,\n\tAPIMessageActionRowComponent,\n\tAPIModalActionRowComponent,\n\tAPIActionRowComponentTypes,\n} from 'discord-api-types/v10';\nimport { ComponentBuilder } from './Component';\nimport { createComponentBuilder } from './Components';\nimport type { ButtonBuilder } from './button/Button';\nimport type { SelectMenuBuilder } from './selectMenu/SelectMenu';\nimport type { TextInputBuilder } from './textInput/TextInput';\nimport { normalizeArray, type RestOrArray } from '../util/normalizeArray';\n\nexport type MessageComponentBuilder =\n\t| MessageActionRowComponentBuilder\n\t| ActionRowBuilder;\nexport type ModalComponentBuilder = ModalActionRowComponentBuilder | ActionRowBuilder;\nexport type MessageActionRowComponentBuilder = ButtonBuilder | SelectMenuBuilder;\nexport type ModalActionRowComponentBuilder = TextInputBuilder;\nexport type AnyComponentBuilder = MessageActionRowComponentBuilder | ModalActionRowComponentBuilder;\n\n/**\n * Represents an action row component\n */\nexport class ActionRowBuilder extends ComponentBuilder<\n\tAPIActionRowComponent\n> {\n\t/**\n\t * The components within this action row\n\t */\n\tpublic readonly components: T[];\n\n\tpublic constructor({ components, ...data }: Partial> = {}) {\n\t\tsuper({ type: ComponentType.ActionRow, ...data });\n\t\tthis.components = (components?.map((c) => createComponentBuilder(c)) ?? []) as T[];\n\t}\n\n\t/**\n\t * Adds components to this action row.\n\t *\n\t * @param components - The components to add to this action row.\n\t */\n\tpublic addComponents(...components: RestOrArray) {\n\t\tthis.components.push(...normalizeArray(components));\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the components in this action row\n\t *\n\t * @param components - The components to set this row to\n\t */\n\tpublic setComponents(...components: RestOrArray) {\n\t\tthis.components.splice(0, this.components.length, ...normalizeArray(components));\n\t\treturn this;\n\t}\n\n\tpublic toJSON(): APIActionRowComponent> {\n\t\t// eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n\t\treturn {\n\t\t\t...this.data,\n\t\t\tcomponents: this.components.map((component) => component.toJSON()),\n\t\t} as APIActionRowComponent>;\n\t}\n}\n","import type {\n\tAPIActionRowComponent,\n\tAPIActionRowComponentTypes,\n\tAPIBaseComponent,\n\tComponentType,\n} from 'discord-api-types/v10';\nimport type { JSONEncodable } from '../util/jsonEncodable';\n\nexport type AnyAPIActionRowComponent = APIActionRowComponentTypes | APIActionRowComponent;\n\n/**\n * Represents a discord component\n */\nexport abstract class ComponentBuilder<\n\tDataType extends Partial> = APIBaseComponent,\n> implements JSONEncodable\n{\n\t/**\n\t * The API data associated with this component\n\t */\n\tpublic readonly data: Partial;\n\n\tpublic abstract toJSON(): AnyAPIActionRowComponent;\n\n\tpublic constructor(data: Partial) {\n\t\tthis.data = data;\n\t}\n}\n","import { APIMessageComponent, APIModalComponent, ComponentType } from 'discord-api-types/v10';\nimport {\n\tActionRowBuilder,\n\ttype AnyComponentBuilder,\n\ttype MessageComponentBuilder,\n\ttype ModalComponentBuilder,\n} from './ActionRow';\nimport { ComponentBuilder } from './Component';\nimport { ButtonBuilder } from './button/Button';\nimport { SelectMenuBuilder } from './selectMenu/SelectMenu';\nimport { TextInputBuilder } from './textInput/TextInput';\n\nexport interface MappedComponentTypes {\n\t[ComponentType.ActionRow]: ActionRowBuilder;\n\t[ComponentType.Button]: ButtonBuilder;\n\t[ComponentType.SelectMenu]: SelectMenuBuilder;\n\t[ComponentType.TextInput]: TextInputBuilder;\n}\n\n/**\n * Factory for creating components from API data\n *\n * @param data - The api data to transform to a component class\n */\nexport function createComponentBuilder(\n\tdata: (APIMessageComponent | APIModalComponent) & { type: T },\n): MappedComponentTypes[T];\nexport function createComponentBuilder(data: C): C;\nexport function createComponentBuilder(\n\tdata: APIMessageComponent | APIModalComponent | MessageComponentBuilder,\n): ComponentBuilder {\n\tif (data instanceof ComponentBuilder) {\n\t\treturn data;\n\t}\n\n\tswitch (data.type) {\n\t\tcase ComponentType.ActionRow:\n\t\t\treturn new ActionRowBuilder(data);\n\t\tcase ComponentType.Button:\n\t\t\treturn new ButtonBuilder(data);\n\t\tcase ComponentType.SelectMenu:\n\t\t\treturn new SelectMenuBuilder(data);\n\t\tcase ComponentType.TextInput:\n\t\t\treturn new TextInputBuilder(data);\n\t\tdefault:\n\t\t\t// @ts-expect-error\n\t\t\t// eslint-disable-next-line @typescript-eslint/restrict-template-expressions\n\t\t\tthrow new Error(`Cannot properly serialize component type: ${data.type}`);\n\t}\n}\n","import {\n\tComponentType,\n\tButtonStyle,\n\ttype APIMessageComponentEmoji,\n\ttype APIButtonComponent,\n\ttype APIButtonComponentWithURL,\n\ttype APIButtonComponentWithCustomId,\n} from 'discord-api-types/v10';\nimport {\n\tbuttonLabelValidator,\n\tbuttonStyleValidator,\n\tcustomIdValidator,\n\tdisabledValidator,\n\temojiValidator,\n\turlValidator,\n\tvalidateRequiredButtonParameters,\n} from '../Assertions';\nimport { ComponentBuilder } from '../Component';\n\n/**\n * Represents a button component\n */\nexport class ButtonBuilder extends ComponentBuilder {\n\tpublic constructor(data?: Partial) {\n\t\tsuper({ type: ComponentType.Button, ...data });\n\t}\n\n\t/**\n\t * Sets the style of this button\n\t *\n\t * @param style - The style of the button\n\t */\n\tpublic setStyle(style: ButtonStyle) {\n\t\tthis.data.style = buttonStyleValidator.parse(style);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the URL for this button\n\t *\n\t * @param url - The URL to open when this button is clicked\n\t */\n\tpublic setURL(url: string) {\n\t\t(this.data as APIButtonComponentWithURL).url = urlValidator.parse(url);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the custom id for this button\n\t *\n\t * @param customId - The custom id to use for this button\n\t */\n\tpublic setCustomId(customId: string) {\n\t\t(this.data as APIButtonComponentWithCustomId).custom_id = customIdValidator.parse(customId);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the emoji to display on this button\n\t *\n\t * @param emoji - The emoji to display on this button\n\t */\n\tpublic setEmoji(emoji: APIMessageComponentEmoji) {\n\t\tthis.data.emoji = emojiValidator.parse(emoji);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets whether this button is disabled\n\t *\n\t * @param disabled - Whether to disable this button\n\t */\n\tpublic setDisabled(disabled = true) {\n\t\tthis.data.disabled = disabledValidator.parse(disabled);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the label for this button\n\t *\n\t * @param label - The label to display on this button\n\t */\n\tpublic setLabel(label: string) {\n\t\tthis.data.label = buttonLabelValidator.parse(label);\n\t\treturn this;\n\t}\n\n\tpublic toJSON(): APIButtonComponent {\n\t\tvalidateRequiredButtonParameters(\n\t\t\tthis.data.style,\n\t\t\tthis.data.label,\n\t\t\tthis.data.emoji,\n\t\t\t(this.data as APIButtonComponentWithCustomId).custom_id,\n\t\t\t(this.data as APIButtonComponentWithURL).url,\n\t\t);\n\t\t// eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n\t\treturn {\n\t\t\t...this.data,\n\t\t} as APIButtonComponent;\n\t}\n}\n","import { APISelectMenuOption, ComponentType, type APISelectMenuComponent } from 'discord-api-types/v10';\nimport { SelectMenuOptionBuilder } from './SelectMenuOption';\nimport { normalizeArray, type RestOrArray } from '../../util/normalizeArray';\nimport {\n\tcustomIdValidator,\n\tdisabledValidator,\n\tminMaxValidator,\n\toptionsLengthValidator,\n\toptionValidator,\n\tplaceholderValidator,\n\tvalidateRequiredSelectMenuParameters,\n} from '../Assertions';\nimport { ComponentBuilder } from '../Component';\n\n/**\n * Represents a select menu component\n */\nexport class SelectMenuBuilder extends ComponentBuilder {\n\t/**\n\t * The options within this select menu\n\t */\n\tpublic readonly options: SelectMenuOptionBuilder[];\n\n\tpublic constructor(data?: Partial) {\n\t\tconst { options, ...initData } = data ?? {};\n\t\tsuper({ type: ComponentType.SelectMenu, ...initData });\n\t\tthis.options = options?.map((o) => new SelectMenuOptionBuilder(o)) ?? [];\n\t}\n\n\t/**\n\t * Sets the placeholder for this select menu\n\t *\n\t * @param placeholder - The placeholder to use for this select menu\n\t */\n\tpublic setPlaceholder(placeholder: string) {\n\t\tthis.data.placeholder = placeholderValidator.parse(placeholder);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the minimum values that must be selected in the select menu\n\t *\n\t * @param minValues - The minimum values that must be selected\n\t */\n\tpublic setMinValues(minValues: number) {\n\t\tthis.data.min_values = minMaxValidator.parse(minValues);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the maximum values that must be selected in the select menu\n\t *\n\t * @param maxValues - The maximum values that must be selected\n\t */\n\tpublic setMaxValues(maxValues: number) {\n\t\tthis.data.max_values = minMaxValidator.parse(maxValues);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the custom id for this select menu\n\t *\n\t * @param customId - The custom id to use for this select menu\n\t */\n\tpublic setCustomId(customId: string) {\n\t\tthis.data.custom_id = customIdValidator.parse(customId);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets whether this select menu is disabled\n\t *\n\t * @param disabled - Whether this select menu is disabled\n\t */\n\tpublic setDisabled(disabled = true) {\n\t\tthis.data.disabled = disabledValidator.parse(disabled);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Adds options to this select menu\n\t *\n\t * @param options - The options to add to this select menu\n\t * @returns\n\t */\n\tpublic addOptions(...options: RestOrArray) {\n\t\toptions = normalizeArray(options);\n\t\toptionsLengthValidator.parse(this.options.length + options.length);\n\t\tthis.options.push(\n\t\t\t...options.map((option) =>\n\t\t\t\toption instanceof SelectMenuOptionBuilder\n\t\t\t\t\t? option\n\t\t\t\t\t: new SelectMenuOptionBuilder(optionValidator.parse(option)),\n\t\t\t),\n\t\t);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the options on this select menu\n\t *\n\t * @param options - The options to set on this select menu\n\t */\n\tpublic setOptions(...options: RestOrArray) {\n\t\toptions = normalizeArray(options);\n\t\toptionsLengthValidator.parse(options.length);\n\t\tthis.options.splice(\n\t\t\t0,\n\t\t\tthis.options.length,\n\t\t\t...options.map((option) =>\n\t\t\t\toption instanceof SelectMenuOptionBuilder\n\t\t\t\t\t? option\n\t\t\t\t\t: new SelectMenuOptionBuilder(optionValidator.parse(option)),\n\t\t\t),\n\t\t);\n\t\treturn this;\n\t}\n\n\tpublic toJSON(): APISelectMenuComponent {\n\t\tvalidateRequiredSelectMenuParameters(this.options, this.data.custom_id);\n\t\t// eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n\t\treturn {\n\t\t\t...this.data,\n\t\t\toptions: this.options.map((o) => o.toJSON()),\n\t\t} as APISelectMenuComponent;\n\t}\n}\n","import { ComponentType, type TextInputStyle, type APITextInputComponent } from 'discord-api-types/v10';\nimport isEqual from 'fast-deep-equal';\nimport {\n\tmaxLengthValidator,\n\tminLengthValidator,\n\tplaceholderValidator,\n\trequiredValidator,\n\tvalueValidator,\n\tvalidateRequiredParameters,\n\tlabelValidator,\n\ttextInputStyleValidator,\n} from './Assertions';\nimport { isJSONEncodable, type JSONEncodable } from '../../util/jsonEncodable';\nimport { customIdValidator } from '../Assertions';\nimport { ComponentBuilder } from '../Component';\n\nexport class TextInputBuilder extends ComponentBuilder {\n\tpublic constructor(data?: APITextInputComponent & { type?: ComponentType.TextInput }) {\n\t\tsuper({ type: ComponentType.TextInput, ...data });\n\t}\n\n\t/**\n\t * Sets the custom id for this text input\n\t *\n\t * @param customId - The custom id of this text input\n\t */\n\tpublic setCustomId(customId: string) {\n\t\tthis.data.custom_id = customIdValidator.parse(customId);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the label for this text input\n\t *\n\t * @param label - The label for this text input\n\t */\n\tpublic setLabel(label: string) {\n\t\tthis.data.label = labelValidator.parse(label);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the style for this text input\n\t *\n\t * @param style - The style for this text input\n\t */\n\tpublic setStyle(style: TextInputStyle) {\n\t\tthis.data.style = textInputStyleValidator.parse(style);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the minimum length of text for this text input\n\t *\n\t * @param minLength - The minimum length of text for this text input\n\t */\n\tpublic setMinLength(minLength: number) {\n\t\tthis.data.min_length = minLengthValidator.parse(minLength);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the maximum length of text for this text input\n\t *\n\t * @param maxLength - The maximum length of text for this text input\n\t */\n\tpublic setMaxLength(maxLength: number) {\n\t\tthis.data.max_length = maxLengthValidator.parse(maxLength);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the placeholder of this text input\n\t *\n\t * @param placeholder - The placeholder of this text input\n\t */\n\tpublic setPlaceholder(placeholder: string) {\n\t\tthis.data.placeholder = placeholderValidator.parse(placeholder);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the value of this text input\n\t *\n\t * @param value - The value for this text input\n\t */\n\tpublic setValue(value: string) {\n\t\tthis.data.value = valueValidator.parse(value);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets whether this text input is required\n\t *\n\t * @param required - Whether this text input is required\n\t */\n\tpublic setRequired(required = true) {\n\t\tthis.data.required = requiredValidator.parse(required);\n\t\treturn this;\n\t}\n\n\tpublic toJSON(): APITextInputComponent {\n\t\tvalidateRequiredParameters(this.data.custom_id, this.data.style, this.data.label);\n\t\t// eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n\t\treturn {\n\t\t\t...this.data,\n\t\t} as APITextInputComponent;\n\t}\n\n\tpublic equals(other: JSONEncodable | APITextInputComponent): boolean {\n\t\tif (isJSONEncodable(other)) {\n\t\t\treturn isEqual(other.toJSON(), this.data);\n\t\t}\n\n\t\treturn isEqual(other, this.data);\n\t}\n}\n","import { s } from '@sapphire/shapeshift';\nimport { TextInputStyle } from 'discord-api-types/v10';\nimport { isValidationEnabled } from '../../util/validation';\nimport { customIdValidator } from '../Assertions';\n\nexport const textInputStyleValidator = s.nativeEnum(TextInputStyle);\nexport const minLengthValidator = s.number.int\n\t.greaterThanOrEqual(0)\n\t.lessThanOrEqual(4000)\n\t.setValidationEnabled(isValidationEnabled);\nexport const maxLengthValidator = s.number.int\n\t.greaterThanOrEqual(1)\n\t.lessThanOrEqual(4000)\n\t.setValidationEnabled(isValidationEnabled);\nexport const requiredValidator = s.boolean;\nexport const valueValidator = s.string.lengthLessThanOrEqual(4000).setValidationEnabled(isValidationEnabled);\nexport const placeholderValidator = s.string.lengthLessThanOrEqual(100).setValidationEnabled(isValidationEnabled);\nexport const labelValidator = s.string\n\t.lengthGreaterThanOrEqual(1)\n\t.lengthLessThanOrEqual(45)\n\t.setValidationEnabled(isValidationEnabled);\n\nexport function validateRequiredParameters(customId?: string, style?: TextInputStyle, label?: string) {\n\tcustomIdValidator.parse(customId);\n\ttextInputStyleValidator.parse(style);\n\tlabelValidator.parse(label);\n}\n","export interface JSONEncodable {\n\t/**\n\t * Transforms this object to its JSON format\n\t */\n\ttoJSON: () => T;\n}\n\n/**\n * Indicates if an object is encodable or not.\n * @param maybeEncodable - The object to check against\n */\nexport function isJSONEncodable(maybeEncodable: unknown): maybeEncodable is JSONEncodable {\n\treturn maybeEncodable !== null && typeof maybeEncodable === 'object' && 'toJSON' in maybeEncodable;\n}\n","import { s } from '@sapphire/shapeshift';\nimport { ActionRowBuilder, type ModalActionRowComponentBuilder } from '../../components/ActionRow';\nimport { customIdValidator } from '../../components/Assertions';\nimport { isValidationEnabled } from '../../util/validation';\n\nexport const titleValidator = s.string\n\t.lengthGreaterThanOrEqual(1)\n\t.lengthLessThanOrEqual(45)\n\t.setValidationEnabled(isValidationEnabled);\nexport const componentsValidator = s\n\t.instance(ActionRowBuilder)\n\t.array.lengthGreaterThanOrEqual(1)\n\t.setValidationEnabled(isValidationEnabled);\n\nexport function validateRequiredParameters(\n\tcustomId?: string,\n\ttitle?: string,\n\tcomponents?: ActionRowBuilder[],\n) {\n\tcustomIdValidator.parse(customId);\n\ttitleValidator.parse(title);\n\tcomponentsValidator.parse(components);\n}\n","import type {\n\tAPIActionRowComponent,\n\tAPIModalActionRowComponent,\n\tAPIModalInteractionResponseCallbackData,\n} from 'discord-api-types/v10';\nimport { titleValidator, validateRequiredParameters } from './Assertions';\nimport { ActionRowBuilder, type ModalActionRowComponentBuilder } from '../../components/ActionRow';\nimport { customIdValidator } from '../../components/Assertions';\nimport { createComponentBuilder } from '../../components/Components';\nimport type { JSONEncodable } from '../../util/jsonEncodable';\nimport { normalizeArray, type RestOrArray } from '../../util/normalizeArray';\n\nexport class ModalBuilder implements JSONEncodable {\n\tpublic readonly data: Partial;\n\tpublic readonly components: ActionRowBuilder[] = [];\n\n\tpublic constructor({ components, ...data }: Partial = {}) {\n\t\tthis.data = { ...data };\n\t\tthis.components = (components?.map((c) => createComponentBuilder(c)) ??\n\t\t\t[]) as ActionRowBuilder[];\n\t}\n\n\t/**\n\t * Sets the title of the modal\n\t *\n\t * @param title - The title of the modal\n\t */\n\tpublic setTitle(title: string) {\n\t\tthis.data.title = titleValidator.parse(title);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the custom id of the modal\n\t *\n\t * @param customId - The custom id of this modal\n\t */\n\tpublic setCustomId(customId: string) {\n\t\tthis.data.custom_id = customIdValidator.parse(customId);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Adds components to this modal\n\t *\n\t * @param components - The components to add to this modal\n\t */\n\tpublic addComponents(\n\t\t...components: RestOrArray<\n\t\t\tActionRowBuilder | APIActionRowComponent\n\t\t>\n\t) {\n\t\tthis.components.push(\n\t\t\t...normalizeArray(components).map((component) =>\n\t\t\t\tcomponent instanceof ActionRowBuilder\n\t\t\t\t\t? component\n\t\t\t\t\t: new ActionRowBuilder(component),\n\t\t\t),\n\t\t);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the components in this modal\n\t *\n\t * @param components - The components to set this modal to\n\t */\n\tpublic setComponents(...components: RestOrArray>) {\n\t\tthis.components.splice(0, this.components.length, ...normalizeArray(components));\n\t\treturn this;\n\t}\n\n\tpublic toJSON(): APIModalInteractionResponseCallbackData {\n\t\tvalidateRequiredParameters(this.data.custom_id, this.data.title, this.components);\n\t\t// eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n\t\treturn {\n\t\t\t...this.data,\n\t\t\tcomponents: this.components.map((component) => component.toJSON()),\n\t\t} as APIModalInteractionResponseCallbackData;\n\t}\n}\n","import { s } from '@sapphire/shapeshift';\nimport { type APIApplicationCommandOptionChoice, Locale, LocalizationMap } from 'discord-api-types/v10';\nimport type { ToAPIApplicationCommandOptions } from './SlashCommandBuilder';\nimport type { SlashCommandSubcommandBuilder, SlashCommandSubcommandGroupBuilder } from './SlashCommandSubcommands';\nimport type { ApplicationCommandOptionBase } from './mixins/ApplicationCommandOptionBase';\nimport { isValidationEnabled } from '../../util/validation';\n\nconst namePredicate = s.string\n\t.lengthGreaterThanOrEqual(1)\n\t.lengthLessThanOrEqual(32)\n\t.regex(/^[\\p{Ll}\\p{Lm}\\p{Lo}\\p{N}\\p{sc=Devanagari}\\p{sc=Thai}_-]+$/u)\n\t.setValidationEnabled(isValidationEnabled);\n\nexport function validateName(name: unknown): asserts name is string {\n\tnamePredicate.parse(name);\n}\n\nconst descriptionPredicate = s.string\n\t.lengthGreaterThanOrEqual(1)\n\t.lengthLessThanOrEqual(100)\n\t.setValidationEnabled(isValidationEnabled);\nconst localePredicate = s.nativeEnum(Locale);\n\nexport function validateDescription(description: unknown): asserts description is string {\n\tdescriptionPredicate.parse(description);\n}\n\nconst maxArrayLengthPredicate = s.unknown.array.lengthLessThanOrEqual(25).setValidationEnabled(isValidationEnabled);\nexport function validateLocale(locale: unknown) {\n\treturn localePredicate.parse(locale);\n}\n\nexport function validateMaxOptionsLength(options: unknown): asserts options is ToAPIApplicationCommandOptions[] {\n\tmaxArrayLengthPredicate.parse(options);\n}\n\nexport function validateRequiredParameters(\n\tname: string,\n\tdescription: string,\n\toptions: ToAPIApplicationCommandOptions[],\n) {\n\t// Assert name matches all conditions\n\tvalidateName(name);\n\n\t// Assert description conditions\n\tvalidateDescription(description);\n\n\t// Assert options conditions\n\tvalidateMaxOptionsLength(options);\n}\n\nconst booleanPredicate = s.boolean;\n\nexport function validateDefaultPermission(value: unknown): asserts value is boolean {\n\tbooleanPredicate.parse(value);\n}\n\nexport function validateRequired(required: unknown): asserts required is boolean {\n\tbooleanPredicate.parse(required);\n}\n\nconst choicesLengthPredicate = s.number.lessThanOrEqual(25).setValidationEnabled(isValidationEnabled);\n\nexport function validateChoicesLength(amountAdding: number, choices?: APIApplicationCommandOptionChoice[]): void {\n\tchoicesLengthPredicate.parse((choices?.length ?? 0) + amountAdding);\n}\n\nexport function assertReturnOfBuilder<\n\tT extends ApplicationCommandOptionBase | SlashCommandSubcommandBuilder | SlashCommandSubcommandGroupBuilder,\n>(input: unknown, ExpectedInstanceOf: new () => T): asserts input is T {\n\ts.instance(ExpectedInstanceOf).parse(input);\n}\n\nexport const localizationMapPredicate = s\n\t.object(Object.fromEntries(Object.values(Locale).map((locale) => [locale, s.string.nullish])))\n\t.strict.nullish.setValidationEnabled(isValidationEnabled);\n\nexport function validateLocalizationMap(value: unknown): asserts value is LocalizationMap {\n\tlocalizationMapPredicate.parse(value);\n}\n\nconst dmPermissionPredicate = s.boolean.nullish;\n\nexport function validateDMPermission(value: unknown): asserts value is boolean | null | undefined {\n\tdmPermissionPredicate.parse(value);\n}\n\nconst memberPermissionPredicate = s.union(\n\ts.bigint.transform((value) => value.toString()),\n\ts.number.safeInt.transform((value) => value.toString()),\n\ts.string.regex(/^\\d+$/),\n).nullish;\n\nexport function validateDefaultMemberPermissions(permissions: unknown) {\n\treturn memberPermissionPredicate.parse(permissions);\n}\n","import type {\n\tAPIApplicationCommandOption,\n\tLocalizationMap,\n\tPermissions,\n\tRESTPostAPIApplicationCommandsJSONBody,\n} from 'discord-api-types/v10';\nimport { mix } from 'ts-mixer';\nimport {\n\tassertReturnOfBuilder,\n\tvalidateDefaultMemberPermissions,\n\tvalidateDefaultPermission,\n\tvalidateLocalizationMap,\n\tvalidateDMPermission,\n\tvalidateMaxOptionsLength,\n\tvalidateRequiredParameters,\n} from './Assertions';\nimport { SlashCommandSubcommandBuilder, SlashCommandSubcommandGroupBuilder } from './SlashCommandSubcommands';\nimport { SharedNameAndDescription } from './mixins/NameAndDescription';\nimport { SharedSlashCommandOptions } from './mixins/SharedSlashCommandOptions';\n\n@mix(SharedSlashCommandOptions, SharedNameAndDescription)\nexport class SlashCommandBuilder {\n\t/**\n\t * The name of this slash command\n\t */\n\tpublic readonly name: string = undefined!;\n\n\t/**\n\t * The localized names for this command\n\t */\n\tpublic readonly name_localizations?: LocalizationMap;\n\n\t/**\n\t * The description of this slash command\n\t */\n\tpublic readonly description: string = undefined!;\n\n\t/**\n\t * The localized descriptions for this command\n\t */\n\tpublic readonly description_localizations?: LocalizationMap;\n\n\t/**\n\t * The options of this slash command\n\t */\n\tpublic readonly options: ToAPIApplicationCommandOptions[] = [];\n\n\t/**\n\t * Whether the command is enabled by default when the app is added to a guild\n\t *\n\t * @deprecated This property is deprecated and will be removed in the future.\n\t * You should use `setDefaultMemberPermissions` or `setDMPermission` instead.\n\t */\n\tpublic readonly default_permission: boolean | undefined = undefined;\n\n\t/**\n\t * Set of permissions represented as a bit set for the command\n\t */\n\tpublic readonly default_member_permissions: Permissions | null | undefined = undefined;\n\n\t/**\n\t * Indicates whether the command is available in DMs with the application, only for globally-scoped commands.\n\t * By default, commands are visible.\n\t */\n\tpublic readonly dm_permission: boolean | undefined = undefined;\n\n\t/**\n\t * Returns the final data that should be sent to Discord.\n\t *\n\t * **Note:** Calling this function will validate required properties based on their conditions.\n\t */\n\tpublic toJSON(): RESTPostAPIApplicationCommandsJSONBody {\n\t\tvalidateRequiredParameters(this.name, this.description, this.options);\n\n\t\tvalidateLocalizationMap(this.name_localizations);\n\t\tvalidateLocalizationMap(this.description_localizations);\n\n\t\treturn {\n\t\t\t...this,\n\t\t\toptions: this.options.map((option) => option.toJSON()),\n\t\t};\n\t}\n\n\t/**\n\t * Sets whether the command is enabled by default when the application is added to a guild.\n\t *\n\t * **Note**: If set to `false`, you will have to later `PUT` the permissions for this command.\n\t *\n\t * @param value - Whether or not to enable this command by default\n\t *\n\t * @see https://discord.com/developers/docs/interactions/application-commands#permissions\n\t * @deprecated Use `setDefaultMemberPermissions` or `setDMPermission` instead.\n\t */\n\tpublic setDefaultPermission(value: boolean) {\n\t\t// Assert the value matches the conditions\n\t\tvalidateDefaultPermission(value);\n\n\t\tReflect.set(this, 'default_permission', value);\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the default permissions a member should have in order to run the command.\n\t *\n\t * **Note:** You can set this to `'0'` to disable the command by default.\n\t *\n\t * @param permissions - The permissions bit field to set\n\t *\n\t * @see https://discord.com/developers/docs/interactions/application-commands#permissions\n\t */\n\tpublic setDefaultMemberPermissions(permissions: Permissions | bigint | number | null | undefined) {\n\t\t// Assert the value and parse it\n\t\tconst permissionValue = validateDefaultMemberPermissions(permissions);\n\n\t\tReflect.set(this, 'default_member_permissions', permissionValue);\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets if the command is available in DMs with the application, only for globally-scoped commands.\n\t * By default, commands are visible.\n\t *\n\t * @param enabled - If the command should be enabled in DMs\n\t *\n\t * @see https://discord.com/developers/docs/interactions/application-commands#permissions\n\t */\n\tpublic setDMPermission(enabled: boolean | null | undefined) {\n\t\t// Assert the value matches the conditions\n\t\tvalidateDMPermission(enabled);\n\n\t\tReflect.set(this, 'dm_permission', enabled);\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Adds a new subcommand group to this command\n\t *\n\t * @param input - A function that returns a subcommand group builder, or an already built builder\n\t */\n\tpublic addSubcommandGroup(\n\t\tinput:\n\t\t\t| SlashCommandSubcommandGroupBuilder\n\t\t\t| ((subcommandGroup: SlashCommandSubcommandGroupBuilder) => SlashCommandSubcommandGroupBuilder),\n\t): SlashCommandSubcommandsOnlyBuilder {\n\t\tconst { options } = this;\n\n\t\t// First, assert options conditions - we cannot have more than 25 options\n\t\tvalidateMaxOptionsLength(options);\n\n\t\t// Get the final result\n\t\tconst result = typeof input === 'function' ? input(new SlashCommandSubcommandGroupBuilder()) : input;\n\n\t\tassertReturnOfBuilder(result, SlashCommandSubcommandGroupBuilder);\n\n\t\t// Push it\n\t\toptions.push(result);\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Adds a new subcommand to this command\n\t *\n\t * @param input - A function that returns a subcommand builder, or an already built builder\n\t */\n\tpublic addSubcommand(\n\t\tinput:\n\t\t\t| SlashCommandSubcommandBuilder\n\t\t\t| ((subcommandGroup: SlashCommandSubcommandBuilder) => SlashCommandSubcommandBuilder),\n\t): SlashCommandSubcommandsOnlyBuilder {\n\t\tconst { options } = this;\n\n\t\t// First, assert options conditions - we cannot have more than 25 options\n\t\tvalidateMaxOptionsLength(options);\n\n\t\t// Get the final result\n\t\tconst result = typeof input === 'function' ? input(new SlashCommandSubcommandBuilder()) : input;\n\n\t\tassertReturnOfBuilder(result, SlashCommandSubcommandBuilder);\n\n\t\t// Push it\n\t\toptions.push(result);\n\n\t\treturn this;\n\t}\n}\n\nexport interface SlashCommandBuilder extends SharedNameAndDescription, SharedSlashCommandOptions {}\n\nexport interface SlashCommandSubcommandsOnlyBuilder\n\textends SharedNameAndDescription,\n\t\tPick {}\n\nexport interface SlashCommandOptionsOnlyBuilder\n\textends SharedNameAndDescription,\n\t\tSharedSlashCommandOptions,\n\t\tPick {}\n\nexport interface ToAPIApplicationCommandOptions {\n\ttoJSON: () => APIApplicationCommandOption;\n}\n","import {\n\tAPIApplicationCommandSubcommandGroupOption,\n\tAPIApplicationCommandSubcommandOption,\n\tApplicationCommandOptionType,\n} from 'discord-api-types/v10';\nimport { mix } from 'ts-mixer';\nimport { assertReturnOfBuilder, validateMaxOptionsLength, validateRequiredParameters } from './Assertions';\nimport type { ToAPIApplicationCommandOptions } from './SlashCommandBuilder';\nimport type { ApplicationCommandOptionBase } from './mixins/ApplicationCommandOptionBase';\nimport { SharedNameAndDescription } from './mixins/NameAndDescription';\nimport { SharedSlashCommandOptions } from './mixins/SharedSlashCommandOptions';\n\n/**\n * Represents a folder for subcommands\n *\n * For more information, go to https://discord.com/developers/docs/interactions/application-commands#subcommands-and-subcommand-groups\n */\n@mix(SharedNameAndDescription)\nexport class SlashCommandSubcommandGroupBuilder implements ToAPIApplicationCommandOptions {\n\t/**\n\t * The name of this subcommand group\n\t */\n\tpublic readonly name: string = undefined!;\n\n\t/**\n\t * The description of this subcommand group\n\t */\n\tpublic readonly description: string = undefined!;\n\n\t/**\n\t * The subcommands part of this subcommand group\n\t */\n\tpublic readonly options: SlashCommandSubcommandBuilder[] = [];\n\n\t/**\n\t * Adds a new subcommand to this group\n\t *\n\t * @param input - A function that returns a subcommand builder, or an already built builder\n\t */\n\tpublic addSubcommand(\n\t\tinput:\n\t\t\t| SlashCommandSubcommandBuilder\n\t\t\t| ((subcommandGroup: SlashCommandSubcommandBuilder) => SlashCommandSubcommandBuilder),\n\t) {\n\t\tconst { options } = this;\n\n\t\t// First, assert options conditions - we cannot have more than 25 options\n\t\tvalidateMaxOptionsLength(options);\n\n\t\t// Get the final result\n\t\t// eslint-disable-next-line @typescript-eslint/no-use-before-define\n\t\tconst result = typeof input === 'function' ? input(new SlashCommandSubcommandBuilder()) : input;\n\n\t\t// eslint-disable-next-line @typescript-eslint/no-use-before-define\n\t\tassertReturnOfBuilder(result, SlashCommandSubcommandBuilder);\n\n\t\t// Push it\n\t\toptions.push(result);\n\n\t\treturn this;\n\t}\n\n\tpublic toJSON(): APIApplicationCommandSubcommandGroupOption {\n\t\tvalidateRequiredParameters(this.name, this.description, this.options);\n\n\t\treturn {\n\t\t\ttype: ApplicationCommandOptionType.SubcommandGroup,\n\t\t\tname: this.name,\n\t\t\tname_localizations: this.name_localizations,\n\t\t\tdescription: this.description,\n\t\t\tdescription_localizations: this.description_localizations,\n\t\t\toptions: this.options.map((option) => option.toJSON()),\n\t\t};\n\t}\n}\n\nexport interface SlashCommandSubcommandGroupBuilder extends SharedNameAndDescription {}\n\n/**\n * Represents a subcommand\n *\n * For more information, go to https://discord.com/developers/docs/interactions/application-commands#subcommands-and-subcommand-groups\n */\n@mix(SharedNameAndDescription, SharedSlashCommandOptions)\nexport class SlashCommandSubcommandBuilder implements ToAPIApplicationCommandOptions {\n\t/**\n\t * The name of this subcommand\n\t */\n\tpublic readonly name: string = undefined!;\n\n\t/**\n\t * The description of this subcommand\n\t */\n\tpublic readonly description: string = undefined!;\n\n\t/**\n\t * The options of this subcommand\n\t */\n\tpublic readonly options: ApplicationCommandOptionBase[] = [];\n\n\tpublic toJSON(): APIApplicationCommandSubcommandOption {\n\t\tvalidateRequiredParameters(this.name, this.description, this.options);\n\n\t\treturn {\n\t\t\ttype: ApplicationCommandOptionType.Subcommand,\n\t\t\tname: this.name,\n\t\t\tname_localizations: this.name_localizations,\n\t\t\tdescription: this.description,\n\t\t\tdescription_localizations: this.description_localizations,\n\t\t\toptions: this.options.map((option) => option.toJSON()),\n\t\t};\n\t}\n}\n\nexport interface SlashCommandSubcommandBuilder extends SharedNameAndDescription, SharedSlashCommandOptions {}\n","import type { LocaleString, LocalizationMap } from 'discord-api-types/v10';\nimport { validateDescription, validateLocale, validateName } from '../Assertions';\n\nexport class SharedNameAndDescription {\n\tpublic readonly name!: string;\n\tpublic readonly name_localizations?: LocalizationMap;\n\tpublic readonly description!: string;\n\tpublic readonly description_localizations?: LocalizationMap;\n\n\t/**\n\t * Sets the name\n\t *\n\t * @param name - The name\n\t */\n\tpublic setName(name: string): this {\n\t\t// Assert the name matches the conditions\n\t\tvalidateName(name);\n\n\t\tReflect.set(this, 'name', name);\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the description\n\t *\n\t * @param description - The description\n\t */\n\tpublic setDescription(description: string) {\n\t\t// Assert the description matches the conditions\n\t\tvalidateDescription(description);\n\n\t\tReflect.set(this, 'description', description);\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets a name localization\n\t *\n\t * @param locale - The locale to set a description for\n\t * @param localizedName - The localized description for the given locale\n\t */\n\tpublic setNameLocalization(locale: LocaleString, localizedName: string | null) {\n\t\tif (!this.name_localizations) {\n\t\t\tReflect.set(this, 'name_localizations', {});\n\t\t}\n\n\t\tconst parsedLocale = validateLocale(locale);\n\n\t\tif (localizedName === null) {\n\t\t\tthis.name_localizations![parsedLocale] = null;\n\t\t\treturn this;\n\t\t}\n\n\t\tvalidateName(localizedName);\n\n\t\tthis.name_localizations![parsedLocale] = localizedName;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the name localizations\n\t *\n\t * @param localizedNames - The dictionary of localized descriptions to set\n\t */\n\tpublic setNameLocalizations(localizedNames: LocalizationMap | null) {\n\t\tif (localizedNames === null) {\n\t\t\tReflect.set(this, 'name_localizations', null);\n\t\t\treturn this;\n\t\t}\n\n\t\tReflect.set(this, 'name_localizations', {});\n\n\t\tObject.entries(localizedNames).forEach((args) =>\n\t\t\tthis.setNameLocalization(...(args as [LocaleString, string | null])),\n\t\t);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets a description localization\n\t *\n\t * @param locale - The locale to set a description for\n\t * @param localizedDescription - The localized description for the given locale\n\t */\n\tpublic setDescriptionLocalization(locale: LocaleString, localizedDescription: string | null) {\n\t\tif (!this.description_localizations) {\n\t\t\tReflect.set(this, 'description_localizations', {});\n\t\t}\n\n\t\tconst parsedLocale = validateLocale(locale);\n\n\t\tif (localizedDescription === null) {\n\t\t\tthis.description_localizations![parsedLocale] = null;\n\t\t\treturn this;\n\t\t}\n\n\t\tvalidateDescription(localizedDescription);\n\n\t\tthis.description_localizations![parsedLocale] = localizedDescription;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the description localizations\n\t *\n\t * @param localizedDescriptions - The dictionary of localized descriptions to set\n\t */\n\tpublic setDescriptionLocalizations(localizedDescriptions: LocalizationMap | null) {\n\t\tif (localizedDescriptions === null) {\n\t\t\tReflect.set(this, 'description_localizations', null);\n\t\t\treturn this;\n\t\t}\n\n\t\tReflect.set(this, 'description_localizations', {});\n\t\tObject.entries(localizedDescriptions).forEach((args) =>\n\t\t\tthis.setDescriptionLocalization(...(args as [LocaleString, string | null])),\n\t\t);\n\t\treturn this;\n\t}\n}\n","import { APIApplicationCommandAttachmentOption, ApplicationCommandOptionType } from 'discord-api-types/v10';\nimport { ApplicationCommandOptionBase } from '../mixins/ApplicationCommandOptionBase';\n\nexport class SlashCommandAttachmentOption extends ApplicationCommandOptionBase {\n\tpublic override readonly type = ApplicationCommandOptionType.Attachment as const;\n\n\tpublic toJSON(): APIApplicationCommandAttachmentOption {\n\t\tthis.runRequiredValidations();\n\n\t\treturn { ...this };\n\t}\n}\n","import type { APIApplicationCommandBasicOption, ApplicationCommandOptionType } from 'discord-api-types/v10';\nimport { SharedNameAndDescription } from './NameAndDescription';\nimport { validateRequiredParameters, validateRequired, validateLocalizationMap } from '../Assertions';\n\nexport abstract class ApplicationCommandOptionBase extends SharedNameAndDescription {\n\tpublic abstract readonly type: ApplicationCommandOptionType;\n\n\tpublic readonly required: boolean = false;\n\n\t/**\n\t * Marks the option as required\n\t *\n\t * @param required - If this option should be required\n\t */\n\tpublic setRequired(required: boolean) {\n\t\t// Assert that you actually passed a boolean\n\t\tvalidateRequired(required);\n\n\t\tReflect.set(this, 'required', required);\n\n\t\treturn this;\n\t}\n\n\tpublic abstract toJSON(): APIApplicationCommandBasicOption;\n\n\tprotected runRequiredValidations() {\n\t\tvalidateRequiredParameters(this.name, this.description, []);\n\n\t\t// Validate localizations\n\t\tvalidateLocalizationMap(this.name_localizations);\n\t\tvalidateLocalizationMap(this.description_localizations);\n\n\t\t// Assert that you actually passed a boolean\n\t\tvalidateRequired(this.required);\n\t}\n}\n","import { APIApplicationCommandBooleanOption, ApplicationCommandOptionType } from 'discord-api-types/v10';\nimport { ApplicationCommandOptionBase } from '../mixins/ApplicationCommandOptionBase';\n\nexport class SlashCommandBooleanOption extends ApplicationCommandOptionBase {\n\tpublic readonly type = ApplicationCommandOptionType.Boolean as const;\n\n\tpublic toJSON(): APIApplicationCommandBooleanOption {\n\t\tthis.runRequiredValidations();\n\n\t\treturn { ...this };\n\t}\n}\n","import { APIApplicationCommandChannelOption, ApplicationCommandOptionType } from 'discord-api-types/v10';\nimport { mix } from 'ts-mixer';\nimport { ApplicationCommandOptionBase } from '../mixins/ApplicationCommandOptionBase';\nimport { ApplicationCommandOptionChannelTypesMixin } from '../mixins/ApplicationCommandOptionChannelTypesMixin';\n\n@mix(ApplicationCommandOptionChannelTypesMixin)\nexport class SlashCommandChannelOption extends ApplicationCommandOptionBase {\n\tpublic override readonly type = ApplicationCommandOptionType.Channel as const;\n\n\tpublic toJSON(): APIApplicationCommandChannelOption {\n\t\tthis.runRequiredValidations();\n\n\t\treturn { ...this };\n\t}\n}\n\nexport interface SlashCommandChannelOption extends ApplicationCommandOptionChannelTypesMixin {}\n","import { s } from '@sapphire/shapeshift';\nimport { ChannelType } from 'discord-api-types/v10';\n\n// Only allow valid channel types to be used. (This can't be dynamic because const enums are erased at runtime)\nconst allowedChannelTypes = [\n\tChannelType.GuildText,\n\tChannelType.GuildVoice,\n\tChannelType.GuildCategory,\n\tChannelType.GuildNews,\n\tChannelType.GuildNewsThread,\n\tChannelType.GuildPublicThread,\n\tChannelType.GuildPrivateThread,\n\tChannelType.GuildStageVoice,\n] as const;\n\nexport type ApplicationCommandOptionAllowedChannelTypes = typeof allowedChannelTypes[number];\n\nconst channelTypesPredicate = s.array(s.union(...allowedChannelTypes.map((type) => s.literal(type))));\n\nexport class ApplicationCommandOptionChannelTypesMixin {\n\tpublic readonly channel_types?: ApplicationCommandOptionAllowedChannelTypes[];\n\n\t/**\n\t * Adds channel types to this option\n\t *\n\t * @param channelTypes - The channel types to add\n\t */\n\tpublic addChannelTypes(...channelTypes: ApplicationCommandOptionAllowedChannelTypes[]) {\n\t\tif (this.channel_types === undefined) {\n\t\t\tReflect.set(this, 'channel_types', []);\n\t\t}\n\n\t\tthis.channel_types!.push(...channelTypesPredicate.parse(channelTypes));\n\n\t\treturn this;\n\t}\n}\n","import { s } from '@sapphire/shapeshift';\nimport { APIApplicationCommandIntegerOption, ApplicationCommandOptionType } from 'discord-api-types/v10';\nimport { mix } from 'ts-mixer';\nimport { ApplicationCommandNumericOptionMinMaxValueMixin } from '../mixins/ApplicationCommandNumericOptionMinMaxValueMixin';\nimport { ApplicationCommandOptionBase } from '../mixins/ApplicationCommandOptionBase';\nimport { ApplicationCommandOptionWithChoicesAndAutocompleteMixin } from '../mixins/ApplicationCommandOptionWithChoicesAndAutocompleteMixin';\n\nconst numberValidator = s.number.int;\n\n@mix(ApplicationCommandNumericOptionMinMaxValueMixin, ApplicationCommandOptionWithChoicesAndAutocompleteMixin)\nexport class SlashCommandIntegerOption\n\textends ApplicationCommandOptionBase\n\timplements ApplicationCommandNumericOptionMinMaxValueMixin\n{\n\tpublic readonly type = ApplicationCommandOptionType.Integer as const;\n\n\tpublic setMaxValue(max: number): this {\n\t\tnumberValidator.parse(max);\n\n\t\tReflect.set(this, 'max_value', max);\n\n\t\treturn this;\n\t}\n\n\tpublic setMinValue(min: number): this {\n\t\tnumberValidator.parse(min);\n\n\t\tReflect.set(this, 'min_value', min);\n\n\t\treturn this;\n\t}\n\n\tpublic toJSON(): APIApplicationCommandIntegerOption {\n\t\tthis.runRequiredValidations();\n\n\t\tif (this.autocomplete && Array.isArray(this.choices) && this.choices.length > 0) {\n\t\t\tthrow new RangeError('Autocomplete and choices are mutually exclusive to each other.');\n\t\t}\n\n\t\treturn { ...this };\n\t}\n}\n\nexport interface SlashCommandIntegerOption\n\textends ApplicationCommandNumericOptionMinMaxValueMixin,\n\t\tApplicationCommandOptionWithChoicesAndAutocompleteMixin {}\n","export abstract class ApplicationCommandNumericOptionMinMaxValueMixin {\n\tpublic readonly max_value?: number;\n\tpublic readonly min_value?: number;\n\n\t/**\n\t * Sets the maximum number value of this option\n\t *\n\t * @param max - The maximum value this option can be\n\t */\n\tpublic abstract setMaxValue(max: number): this;\n\n\t/**\n\t * Sets the minimum number value of this option\n\t *\n\t * @param min - The minimum value this option can be\n\t */\n\tpublic abstract setMinValue(min: number): this;\n}\n","import { s } from '@sapphire/shapeshift';\nimport { APIApplicationCommandOptionChoice, ApplicationCommandOptionType } from 'discord-api-types/v10';\nimport { localizationMapPredicate, validateChoicesLength } from '../Assertions';\n\nconst stringPredicate = s.string.lengthGreaterThanOrEqual(1).lengthLessThanOrEqual(100);\nconst numberPredicate = s.number.greaterThan(-Infinity).lessThan(Infinity);\nconst choicesPredicate = s.object({\n\tname: stringPredicate,\n\tname_localizations: localizationMapPredicate,\n\tvalue: s.union(stringPredicate, numberPredicate),\n}).array;\nconst booleanPredicate = s.boolean;\n\nexport class ApplicationCommandOptionWithChoicesAndAutocompleteMixin {\n\tpublic readonly choices?: APIApplicationCommandOptionChoice[];\n\tpublic readonly autocomplete?: boolean;\n\n\t// Since this is present and this is a mixin, this is needed\n\tpublic readonly type!: ApplicationCommandOptionType;\n\n\t/**\n\t * Adds multiple choices for this option\n\t *\n\t * @param choices - The choices to add\n\t */\n\tpublic addChoices(...choices: APIApplicationCommandOptionChoice[]): this {\n\t\tif (choices.length > 0 && this.autocomplete) {\n\t\t\tthrow new RangeError('Autocomplete and choices are mutually exclusive to each other.');\n\t\t}\n\n\t\tchoicesPredicate.parse(choices);\n\n\t\tif (this.choices === undefined) {\n\t\t\tReflect.set(this, 'choices', []);\n\t\t}\n\n\t\tvalidateChoicesLength(choices.length, this.choices);\n\n\t\tfor (const { name, name_localizations, value } of choices) {\n\t\t\t// Validate the value\n\t\t\tif (this.type === ApplicationCommandOptionType.String) {\n\t\t\t\tstringPredicate.parse(value);\n\t\t\t} else {\n\t\t\t\tnumberPredicate.parse(value);\n\t\t\t}\n\n\t\t\tthis.choices!.push({ name, name_localizations, value });\n\t\t}\n\n\t\treturn this;\n\t}\n\n\tpublic setChoices[]>(...choices: Input): this {\n\t\tif (choices.length > 0 && this.autocomplete) {\n\t\t\tthrow new RangeError('Autocomplete and choices are mutually exclusive to each other.');\n\t\t}\n\n\t\tchoicesPredicate.parse(choices);\n\n\t\tReflect.set(this, 'choices', []);\n\t\tthis.addChoices(...choices);\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Marks the option as autocompletable\n\t * @param autocomplete - If this option should be autocompletable\n\t */\n\tpublic setAutocomplete(autocomplete: boolean): this {\n\t\t// Assert that you actually passed a boolean\n\t\tbooleanPredicate.parse(autocomplete);\n\n\t\tif (autocomplete && Array.isArray(this.choices) && this.choices.length > 0) {\n\t\t\tthrow new RangeError('Autocomplete and choices are mutually exclusive to each other.');\n\t\t}\n\n\t\tReflect.set(this, 'autocomplete', autocomplete);\n\n\t\treturn this;\n\t}\n}\n","import { APIApplicationCommandMentionableOption, ApplicationCommandOptionType } from 'discord-api-types/v10';\nimport { ApplicationCommandOptionBase } from '../mixins/ApplicationCommandOptionBase';\n\nexport class SlashCommandMentionableOption extends ApplicationCommandOptionBase {\n\tpublic readonly type = ApplicationCommandOptionType.Mentionable as const;\n\n\tpublic toJSON(): APIApplicationCommandMentionableOption {\n\t\tthis.runRequiredValidations();\n\n\t\treturn { ...this };\n\t}\n}\n","import { s } from '@sapphire/shapeshift';\nimport { APIApplicationCommandNumberOption, ApplicationCommandOptionType } from 'discord-api-types/v10';\nimport { mix } from 'ts-mixer';\nimport { ApplicationCommandNumericOptionMinMaxValueMixin } from '../mixins/ApplicationCommandNumericOptionMinMaxValueMixin';\nimport { ApplicationCommandOptionBase } from '../mixins/ApplicationCommandOptionBase';\nimport { ApplicationCommandOptionWithChoicesAndAutocompleteMixin } from '../mixins/ApplicationCommandOptionWithChoicesAndAutocompleteMixin';\n\nconst numberValidator = s.number;\n\n@mix(ApplicationCommandNumericOptionMinMaxValueMixin, ApplicationCommandOptionWithChoicesAndAutocompleteMixin)\nexport class SlashCommandNumberOption\n\textends ApplicationCommandOptionBase\n\timplements ApplicationCommandNumericOptionMinMaxValueMixin\n{\n\tpublic readonly type = ApplicationCommandOptionType.Number as const;\n\n\tpublic setMaxValue(max: number): this {\n\t\tnumberValidator.parse(max);\n\n\t\tReflect.set(this, 'max_value', max);\n\n\t\treturn this;\n\t}\n\n\tpublic setMinValue(min: number): this {\n\t\tnumberValidator.parse(min);\n\n\t\tReflect.set(this, 'min_value', min);\n\n\t\treturn this;\n\t}\n\n\tpublic toJSON(): APIApplicationCommandNumberOption {\n\t\tthis.runRequiredValidations();\n\n\t\tif (this.autocomplete && Array.isArray(this.choices) && this.choices.length > 0) {\n\t\t\tthrow new RangeError('Autocomplete and choices are mutually exclusive to each other.');\n\t\t}\n\n\t\treturn { ...this };\n\t}\n}\n\nexport interface SlashCommandNumberOption\n\textends ApplicationCommandNumericOptionMinMaxValueMixin,\n\t\tApplicationCommandOptionWithChoicesAndAutocompleteMixin {}\n","import { APIApplicationCommandRoleOption, ApplicationCommandOptionType } from 'discord-api-types/v10';\nimport { ApplicationCommandOptionBase } from '../mixins/ApplicationCommandOptionBase';\n\nexport class SlashCommandRoleOption extends ApplicationCommandOptionBase {\n\tpublic override readonly type = ApplicationCommandOptionType.Role as const;\n\n\tpublic toJSON(): APIApplicationCommandRoleOption {\n\t\tthis.runRequiredValidations();\n\n\t\treturn { ...this };\n\t}\n}\n","import { s } from '@sapphire/shapeshift';\nimport { APIApplicationCommandStringOption, ApplicationCommandOptionType } from 'discord-api-types/v10';\nimport { mix } from 'ts-mixer';\nimport { ApplicationCommandOptionBase } from '../mixins/ApplicationCommandOptionBase';\nimport { ApplicationCommandOptionWithChoicesAndAutocompleteMixin } from '../mixins/ApplicationCommandOptionWithChoicesAndAutocompleteMixin';\n\nconst minLengthValidator = s.number.greaterThanOrEqual(0).lessThanOrEqual(6000);\nconst maxLengthValidator = s.number.greaterThanOrEqual(1).lessThanOrEqual(6000);\n\n@mix(ApplicationCommandOptionWithChoicesAndAutocompleteMixin)\nexport class SlashCommandStringOption extends ApplicationCommandOptionBase {\n\tpublic readonly type = ApplicationCommandOptionType.String as const;\n\tpublic readonly max_length?: number;\n\tpublic readonly min_length?: number;\n\n\t/**\n\t * Sets the maximum length of this string option.\n\t *\n\t * @param max - The maximum length this option can be\n\t */\n\tpublic setMaxLength(max: number): this {\n\t\tmaxLengthValidator.parse(max);\n\n\t\tReflect.set(this, 'max_length', max);\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the minimum length of this string option.\n\t *\n\t * @param min - The minimum length this option can be\n\t */\n\tpublic setMinLength(min: number): this {\n\t\tminLengthValidator.parse(min);\n\n\t\tReflect.set(this, 'min_length', min);\n\n\t\treturn this;\n\t}\n\n\tpublic toJSON(): APIApplicationCommandStringOption {\n\t\tthis.runRequiredValidations();\n\n\t\tif (this.autocomplete && Array.isArray(this.choices) && this.choices.length > 0) {\n\t\t\tthrow new RangeError('Autocomplete and choices are mutually exclusive to each other.');\n\t\t}\n\n\t\treturn { ...this };\n\t}\n}\n\nexport interface SlashCommandStringOption extends ApplicationCommandOptionWithChoicesAndAutocompleteMixin {}\n","import { APIApplicationCommandUserOption, ApplicationCommandOptionType } from 'discord-api-types/v10';\nimport { ApplicationCommandOptionBase } from '../mixins/ApplicationCommandOptionBase';\n\nexport class SlashCommandUserOption extends ApplicationCommandOptionBase {\n\tpublic readonly type = ApplicationCommandOptionType.User as const;\n\n\tpublic toJSON(): APIApplicationCommandUserOption {\n\t\tthis.runRequiredValidations();\n\n\t\treturn { ...this };\n\t}\n}\n","import type { ApplicationCommandOptionBase } from './ApplicationCommandOptionBase';\nimport { assertReturnOfBuilder, validateMaxOptionsLength } from '../Assertions';\nimport type { ToAPIApplicationCommandOptions } from '../SlashCommandBuilder';\nimport { SlashCommandAttachmentOption } from '../options/attachment';\nimport { SlashCommandBooleanOption } from '../options/boolean';\nimport { SlashCommandChannelOption } from '../options/channel';\nimport { SlashCommandIntegerOption } from '../options/integer';\nimport { SlashCommandMentionableOption } from '../options/mentionable';\nimport { SlashCommandNumberOption } from '../options/number';\nimport { SlashCommandRoleOption } from '../options/role';\nimport { SlashCommandStringOption } from '../options/string';\nimport { SlashCommandUserOption } from '../options/user';\n\nexport class SharedSlashCommandOptions {\n\tpublic readonly options!: ToAPIApplicationCommandOptions[];\n\n\t/**\n\t * Adds a boolean option\n\t *\n\t * @param input - A function that returns an option builder, or an already built builder\n\t */\n\tpublic addBooleanOption(\n\t\tinput: SlashCommandBooleanOption | ((builder: SlashCommandBooleanOption) => SlashCommandBooleanOption),\n\t) {\n\t\treturn this._sharedAddOptionMethod(input, SlashCommandBooleanOption);\n\t}\n\n\t/**\n\t * Adds a user option\n\t *\n\t * @param input - A function that returns an option builder, or an already built builder\n\t */\n\tpublic addUserOption(input: SlashCommandUserOption | ((builder: SlashCommandUserOption) => SlashCommandUserOption)) {\n\t\treturn this._sharedAddOptionMethod(input, SlashCommandUserOption);\n\t}\n\n\t/**\n\t * Adds a channel option\n\t *\n\t * @param input - A function that returns an option builder, or an already built builder\n\t */\n\tpublic addChannelOption(\n\t\tinput: SlashCommandChannelOption | ((builder: SlashCommandChannelOption) => SlashCommandChannelOption),\n\t) {\n\t\treturn this._sharedAddOptionMethod(input, SlashCommandChannelOption);\n\t}\n\n\t/**\n\t * Adds a role option\n\t *\n\t * @param input - A function that returns an option builder, or an already built builder\n\t */\n\tpublic addRoleOption(input: SlashCommandRoleOption | ((builder: SlashCommandRoleOption) => SlashCommandRoleOption)) {\n\t\treturn this._sharedAddOptionMethod(input, SlashCommandRoleOption);\n\t}\n\n\t/**\n\t * Adds an attachment option\n\t *\n\t * @param input - A function that returns an option builder, or an already built builder\n\t */\n\tpublic addAttachmentOption(\n\t\tinput: SlashCommandAttachmentOption | ((builder: SlashCommandAttachmentOption) => SlashCommandAttachmentOption),\n\t) {\n\t\treturn this._sharedAddOptionMethod(input, SlashCommandAttachmentOption);\n\t}\n\n\t/**\n\t * Adds a mentionable option\n\t *\n\t * @param input - A function that returns an option builder, or an already built builder\n\t */\n\tpublic addMentionableOption(\n\t\tinput: SlashCommandMentionableOption | ((builder: SlashCommandMentionableOption) => SlashCommandMentionableOption),\n\t) {\n\t\treturn this._sharedAddOptionMethod(input, SlashCommandMentionableOption);\n\t}\n\n\t/**\n\t * Adds a string option\n\t *\n\t * @param input - A function that returns an option builder, or an already built builder\n\t */\n\tpublic addStringOption(\n\t\tinput:\n\t\t\t| SlashCommandStringOption\n\t\t\t| Omit\n\t\t\t| Omit\n\t\t\t| ((\n\t\t\t\t\tbuilder: SlashCommandStringOption,\n\t\t\t ) =>\n\t\t\t\t\t| SlashCommandStringOption\n\t\t\t\t\t| Omit\n\t\t\t\t\t| Omit),\n\t) {\n\t\treturn this._sharedAddOptionMethod(input, SlashCommandStringOption);\n\t}\n\n\t/**\n\t * Adds an integer option\n\t *\n\t * @param input - A function that returns an option builder, or an already built builder\n\t */\n\tpublic addIntegerOption(\n\t\tinput:\n\t\t\t| SlashCommandIntegerOption\n\t\t\t| Omit\n\t\t\t| Omit\n\t\t\t| ((\n\t\t\t\t\tbuilder: SlashCommandIntegerOption,\n\t\t\t ) =>\n\t\t\t\t\t| SlashCommandIntegerOption\n\t\t\t\t\t| Omit\n\t\t\t\t\t| Omit),\n\t) {\n\t\treturn this._sharedAddOptionMethod(input, SlashCommandIntegerOption);\n\t}\n\n\t/**\n\t * Adds a number option\n\t *\n\t * @param input - A function that returns an option builder, or an already built builder\n\t */\n\tpublic addNumberOption(\n\t\tinput:\n\t\t\t| SlashCommandNumberOption\n\t\t\t| Omit\n\t\t\t| Omit\n\t\t\t| ((\n\t\t\t\t\tbuilder: SlashCommandNumberOption,\n\t\t\t ) =>\n\t\t\t\t\t| SlashCommandNumberOption\n\t\t\t\t\t| Omit\n\t\t\t\t\t| Omit),\n\t) {\n\t\treturn this._sharedAddOptionMethod(input, SlashCommandNumberOption);\n\t}\n\n\tprivate _sharedAddOptionMethod(\n\t\tinput:\n\t\t\t| T\n\t\t\t| Omit\n\t\t\t| Omit\n\t\t\t| ((builder: T) => T | Omit | Omit),\n\t\tInstance: new () => T,\n\t): ShouldOmitSubcommandFunctions extends true ? Omit : this {\n\t\tconst { options } = this;\n\n\t\t// First, assert options conditions - we cannot have more than 25 options\n\t\tvalidateMaxOptionsLength(options);\n\n\t\t// Get the final result\n\t\tconst result = typeof input === 'function' ? input(new Instance()) : input;\n\n\t\tassertReturnOfBuilder(result, Instance);\n\n\t\t// Push it\n\t\toptions.push(result);\n\n\t\treturn this;\n\t}\n}\n","import { s } from '@sapphire/shapeshift';\nimport { ApplicationCommandType } from 'discord-api-types/v10';\nimport type { ContextMenuCommandType } from './ContextMenuCommandBuilder';\nimport { isValidationEnabled } from '../../util/validation';\n\nconst namePredicate = s.string\n\t.lengthGreaterThanOrEqual(1)\n\t.lengthLessThanOrEqual(32)\n\t.regex(/^( *[\\p{L}\\p{N}\\p{sc=Devanagari}\\p{sc=Thai}_-]+ *)+$/u)\n\t.setValidationEnabled(isValidationEnabled);\nconst typePredicate = s\n\t.union(s.literal(ApplicationCommandType.User), s.literal(ApplicationCommandType.Message))\n\t.setValidationEnabled(isValidationEnabled);\nconst booleanPredicate = s.boolean;\n\nexport function validateDefaultPermission(value: unknown): asserts value is boolean {\n\tbooleanPredicate.parse(value);\n}\n\nexport function validateName(name: unknown): asserts name is string {\n\tnamePredicate.parse(name);\n}\n\nexport function validateType(type: unknown): asserts type is ContextMenuCommandType {\n\ttypePredicate.parse(type);\n}\n\nexport function validateRequiredParameters(name: string, type: number) {\n\t// Assert name matches all conditions\n\tvalidateName(name);\n\n\t// Assert type is valid\n\tvalidateType(type);\n}\n\nconst dmPermissionPredicate = s.boolean.nullish;\n\nexport function validateDMPermission(value: unknown): asserts value is boolean | null | undefined {\n\tdmPermissionPredicate.parse(value);\n}\n\nconst memberPermissionPredicate = s.union(\n\ts.bigint.transform((value) => value.toString()),\n\ts.number.safeInt.transform((value) => value.toString()),\n\ts.string.regex(/^\\d+$/),\n).nullish;\n\nexport function validateDefaultMemberPermissions(permissions: unknown) {\n\treturn memberPermissionPredicate.parse(permissions);\n}\n","import type {\n\tApplicationCommandType,\n\tLocaleString,\n\tLocalizationMap,\n\tPermissions,\n\tRESTPostAPIApplicationCommandsJSONBody,\n} from 'discord-api-types/v10';\nimport {\n\tvalidateRequiredParameters,\n\tvalidateName,\n\tvalidateType,\n\tvalidateDefaultPermission,\n\tvalidateDefaultMemberPermissions,\n\tvalidateDMPermission,\n} from './Assertions';\nimport { validateLocale, validateLocalizationMap } from '../slashCommands/Assertions';\n\nexport class ContextMenuCommandBuilder {\n\t/**\n\t * The name of this context menu command\n\t */\n\tpublic readonly name: string = undefined!;\n\n\t/**\n\t * The localized names for this command\n\t */\n\tpublic readonly name_localizations?: LocalizationMap;\n\n\t/**\n\t * The type of this context menu command\n\t */\n\tpublic readonly type: ContextMenuCommandType = undefined!;\n\n\t/**\n\t * Whether the command is enabled by default when the app is added to a guild\n\t *\n\t * @deprecated This property is deprecated and will be removed in the future.\n\t * You should use `setDefaultMemberPermissions` or `setDMPermission` instead.\n\t */\n\tpublic readonly default_permission: boolean | undefined = undefined;\n\n\t/**\n\t * Set of permissions represented as a bit set for the command\n\t */\n\tpublic readonly default_member_permissions: Permissions | null | undefined = undefined;\n\n\t/**\n\t * Indicates whether the command is available in DMs with the application, only for globally-scoped commands.\n\t * By default, commands are visible.\n\t */\n\tpublic readonly dm_permission: boolean | undefined = undefined;\n\n\t/**\n\t * Sets the name\n\t *\n\t * @param name - The name\n\t */\n\tpublic setName(name: string) {\n\t\t// Assert the name matches the conditions\n\t\tvalidateName(name);\n\n\t\tReflect.set(this, 'name', name);\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the type\n\t *\n\t * @param type - The type\n\t */\n\tpublic setType(type: ContextMenuCommandType) {\n\t\t// Assert the type is valid\n\t\tvalidateType(type);\n\n\t\tReflect.set(this, 'type', type);\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets whether the command is enabled by default when the application is added to a guild.\n\t *\n\t * **Note**: If set to `false`, you will have to later `PUT` the permissions for this command.\n\t *\n\t * @param value - Whether or not to enable this command by default\n\t *\n\t * @see https://discord.com/developers/docs/interactions/application-commands#permissions\n\t * @deprecated Use `setDefaultMemberPermissions` or `setDMPermission` instead.\n\t */\n\tpublic setDefaultPermission(value: boolean) {\n\t\t// Assert the value matches the conditions\n\t\tvalidateDefaultPermission(value);\n\n\t\tReflect.set(this, 'default_permission', value);\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the default permissions a member should have in order to run the command.\n\t *\n\t * **Note:** You can set this to `'0'` to disable the command by default.\n\t *\n\t * @param permissions - The permissions bit field to set\n\t *\n\t * @see https://discord.com/developers/docs/interactions/application-commands#permissions\n\t */\n\tpublic setDefaultMemberPermissions(permissions: Permissions | bigint | number | null | undefined) {\n\t\t// Assert the value and parse it\n\t\tconst permissionValue = validateDefaultMemberPermissions(permissions);\n\n\t\tReflect.set(this, 'default_member_permissions', permissionValue);\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets if the command is available in DMs with the application, only for globally-scoped commands.\n\t * By default, commands are visible.\n\t *\n\t * @param enabled - If the command should be enabled in DMs\n\t *\n\t * @see https://discord.com/developers/docs/interactions/application-commands#permissions\n\t */\n\tpublic setDMPermission(enabled: boolean | null | undefined) {\n\t\t// Assert the value matches the conditions\n\t\tvalidateDMPermission(enabled);\n\n\t\tReflect.set(this, 'dm_permission', enabled);\n\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets a name localization\n\t *\n\t * @param locale - The locale to set a description for\n\t * @param localizedName - The localized description for the given locale\n\t */\n\tpublic setNameLocalization(locale: LocaleString, localizedName: string | null) {\n\t\tif (!this.name_localizations) {\n\t\t\tReflect.set(this, 'name_localizations', {});\n\t\t}\n\n\t\tconst parsedLocale = validateLocale(locale);\n\n\t\tif (localizedName === null) {\n\t\t\tthis.name_localizations![parsedLocale] = null;\n\t\t\treturn this;\n\t\t}\n\n\t\tvalidateName(localizedName);\n\n\t\tthis.name_localizations![parsedLocale] = localizedName;\n\t\treturn this;\n\t}\n\n\t/**\n\t * Sets the name localizations\n\t *\n\t * @param localizedNames - The dictionary of localized descriptions to set\n\t */\n\tpublic setNameLocalizations(localizedNames: LocalizationMap | null) {\n\t\tif (localizedNames === null) {\n\t\t\tReflect.set(this, 'name_localizations', null);\n\t\t\treturn this;\n\t\t}\n\n\t\tReflect.set(this, 'name_localizations', {});\n\n\t\tObject.entries(localizedNames).forEach((args) =>\n\t\t\tthis.setNameLocalization(...(args as [LocaleString, string | null])),\n\t\t);\n\t\treturn this;\n\t}\n\n\t/**\n\t * Returns the final data that should be sent to Discord.\n\t *\n\t * **Note:** Calling this function will validate required properties based on their conditions.\n\t */\n\tpublic toJSON(): RESTPostAPIApplicationCommandsJSONBody {\n\t\tvalidateRequiredParameters(this.name, this.type);\n\n\t\tvalidateLocalizationMap(this.name_localizations);\n\n\t\treturn { ...this };\n\t}\n}\n\nexport type ContextMenuCommandType = ApplicationCommandType.User | ApplicationCommandType.Message;\n","export interface Equatable {\n\t/**\n\t * Whether or not this is equal to another structure\n\t */\n\tequals: (other: T) => boolean;\n}\n\n/**\n * Indicates if an object is equatable or not.\n * @param maybeEquatable - The object to check against\n */\nexport function isEquatable(maybeEquatable: unknown): maybeEquatable is Equatable {\n\treturn maybeEquatable !== null && typeof maybeEquatable === 'object' && 'equals' in maybeEquatable;\n}\n","import type { APIEmbed } from 'discord-api-types/v10';\n\nexport function embedLength(data: APIEmbed) {\n\treturn (\n\t\t(data.title?.length ?? 0) +\n\t\t(data.description?.length ?? 0) +\n\t\t(data.fields?.reduce((prev, curr) => prev + curr.name.length + curr.value.length, 0) ?? 0) +\n\t\t(data.footer?.text.length ?? 0) +\n\t\t(data.author?.name.length ?? 0)\n\t);\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,IAAI,WAAW;AAER,IAAM,mBAAmB,6BAAO,WAAW,MAAlB;A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C5B,MAAK,QAAQ,OAAO,CAAC,MAAM,SAAS,OAAO,KAAK,KAAK,SAAS,KAAK,MAAM,QAAQ,CAAC,KAAK,KACvF,MAAK,QAAQ,KAAK,UAAU,KAC5B,MAAK,QAAQ,KAAK,UAAU;AAE/B;AARgB;","names":[]} \ No newline at end of file diff --git a/node_modules/@discordjs/builders/node_modules/discord-api-types/LICENSE b/node_modules/@discordjs/builders/node_modules/discord-api-types/LICENSE new file mode 100644 index 0000000..a8b1694 --- /dev/null +++ b/node_modules/@discordjs/builders/node_modules/discord-api-types/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020 vladfrangu + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_modules/@discordjs/builders/node_modules/discord-api-types/README.md b/node_modules/@discordjs/builders/node_modules/discord-api-types/README.md new file mode 100644 index 0000000..f33c5df --- /dev/null +++ b/node_modules/@discordjs/builders/node_modules/discord-api-types/README.md @@ -0,0 +1,105 @@ +# Discord API Types + +[![discord-api-types](https://raw.githubusercontent.com/discordjs/discord-api-types/main/website/static/svgs/logo_long_blurple.svg)](https://github.com/discordjs/discord-api-types) + +[![GitHub](https://img.shields.io/github/license/discordjs/discord-api-types)](https://github.com/discordjs/discord-api-types/blob/main/LICENSE.md) +[![npm](https://img.shields.io/npm/v/discord-api-types?color=crimson&logo=npm)](https://www.npmjs.com/package/discord-api-types) +[![deno](https://img.shields.io/npm/v/discord-api-types?color=blue&label=deno&logo=deno)](https://deno.land/x/discord_api_types) +[![Patreon Donate](https://img.shields.io/badge/patreon-donate-brightgreen.svg?label=Donate%20with%20Patreon&logo=patreon&colorB=F96854&link=https://www.patreon.com/vladfrangu)](https://www.patreon.com/vladfrangu) +[![Ko-fi Donate](https://img.shields.io/badge/kofi-donate-brightgreen.svg?label=Donate%20with%20Ko-fi&logo=ko-fi&colorB=F16061&link=https://ko-fi.com/wolfgalvlad&logoColor=FFFFFF)](https://ko-fi.com/wolfgalvlad) +[![GitHub Sponsors](https://img.shields.io/badge/patreon-donate-brightgreen.svg?label=Sponsor%20through%20GitHub&logo=github&colorB=F96854&link=https://github.com/sponsors/vladfrangu)](https://github.com/sponsors/vladfrangu) +[![Powered by Vercel](https://raw.githubusercontent.com/discordjs/discord-api-types/main/website/static/powered-by-vercel.svg)](https://vercel.com?utm_source=discordjs&utm_campaign=oss) + +Simple type definitions for the [Discord API](https://discord.com/developers/docs/intro). + +## Installation + +Install with [npm](https://www.npmjs.com/) / [yarn](https://yarnpkg.com) / [pnpm](https://pnpm.js.org/): + +```sh +npm install discord-api-types +yarn add discord-api-types +pnpm add discord-api-types +``` + +### Usage + +You can only import this module by specifying the API version you want to target. Append `/v*` to the import path, where the `*` represents the API version. Below are some examples + +```js +const { APIUser } = require('discord-api-types/v10'); +``` + +```ts +// TypeScript/ES Module support +import { APIUser } from 'discord-api-types/v10'; +``` + +You may also import just certain parts of the module that you need. The possible values are: `globals`, `gateway`, `gateway/v*`, `payloads`, `payloads/v*`, `rest`, `rest/v*`, `rpc`, `rpc/v*`, `utils`, `utils/v*`, `voice`, and `voice/v*`. Below are some examples + +```js +const { GatewayVersion } = require('discord-api-types/gateway/v10'); +``` + +```ts +// TypeScript/ES Module support +import { GatewayVersion } from 'discord-api-types/gateway/v10'; +``` + +> _**Note:** The `v*` exports (`discord-api-types/v*`) include the appropriate version of `gateway`, `payloads`, `rest`, `rpc`, and `utils` you specified, alongside the `globals` exports_ + +### Deno + +We also provide typings compatible with the [deno](https://deno.land/) runtime. You have 3 ways you can import them: + +1. Directly from GitHub + +```ts +// Importing a specific API version +import { APIUser } from 'https://raw.githubusercontent.com/discordjs/discord-api-types/main/deno/v10.ts'; +``` + +2. From [deno.land/x](https://deno.land/x) + +```ts +// Importing a specific API version +import { APIUser } from 'https://deno.land/x/discord_api_types/v10.ts'; +``` + +3. From [skypack.dev](https://www.skypack.dev/) + +```ts +// Importing a specific API version +import { APIUser } from 'https://cdn.skypack.dev/discord-api-types/v10?dts'; +``` + +## Project Structure + +The exports of each API version is split into three main parts: + +- Everything exported with the `API` prefix represents a payload you may get from the REST API _or_ the Gateway. + +- Everything exported with the `Gateway` prefix represents data that ONLY comes from or is directly related to the Gateway. + +- Everything exported with the `REST` prefix represents data that ONLY comes from or is directly related to the REST API. + + - For endpoint options, they will follow the following structure: `REST` where the type represents what it will return. + + - For example, `RESTPostAPIChannelMessageJSONBody` or `RESTGetAPIGatewayBotInfoResult`. + + - Some exported types (specifically OAuth2 related ones) may not respect this entire structure due to the nature of the fields. They will start with either `RESTOAuth2` or with something similar to `RESTOAuth2` + + - If a type ends with `Result`, then it represents the expected result by calling its accompanying route. + + - Types that are exported as `never` usually mean the result will be a `204 No Content`, so you can safely ignore it. This does **not** account for errors. + +- Anything else that is miscellaneous will be exported based on what it represents (for example the `REST` route object). + +- There may be types exported that are identical for all versions. These will be exported as is and can be found in the `globals` file. They will still be prefixed accordingly as described above. + +**A note about how types are documented**: This package will add types only for known and documented properties that are present in Discord's [API Documentation repository](https://github.com/discord/discord-api-docs), +that are mentioned in an open pull request, or known through other means _and have received the green light to be used_. +Anything else will not be documented (for example client only types). + +With that aside, we may allow certain types that are not documented in the [API Documentation repository](https://github.com/discord/discord-api-docs) on a case by case basis. +They will be documented with an `@unstable` tag and are not subject with the same versioning rules. diff --git a/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/common.d.ts b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/common.d.ts new file mode 100644 index 0000000..d8bcf32 --- /dev/null +++ b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/common.d.ts @@ -0,0 +1,9 @@ +/** + * https://discord.com/developers/docs/topics/gateway#connecting-gateway-url-params + */ +export interface GatewayURLQuery { + v: string; + encoding: 'json' | 'etf'; + compress?: 'zlib-stream'; +} +//# sourceMappingURL=common.d.ts.map \ No newline at end of file diff --git a/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/common.d.ts.map b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/common.d.ts.map new file mode 100644 index 0000000..59c2f60 --- /dev/null +++ b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/common.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["common.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,eAAe;IAC/B,CAAC,EAAE,MAAM,CAAC;IACV,QAAQ,EAAE,MAAM,GAAG,KAAK,CAAC;IACzB,QAAQ,CAAC,EAAE,aAAa,CAAC;CACzB"} \ No newline at end of file diff --git a/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/common.js b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/common.js new file mode 100644 index 0000000..023264f --- /dev/null +++ b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/common.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=common.js.map \ No newline at end of file diff --git a/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/common.js.map b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/common.js.map new file mode 100644 index 0000000..d0f541d --- /dev/null +++ b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/common.js.map @@ -0,0 +1 @@ +{"version":3,"file":"common.js","sourceRoot":"","sources":["common.ts"],"names":[],"mappings":""} \ No newline at end of file diff --git a/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/index.d.ts b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/index.d.ts new file mode 100644 index 0000000..73b8353 --- /dev/null +++ b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/index.d.ts @@ -0,0 +1,2 @@ +export * from './v10'; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/index.d.ts.map b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/index.d.ts.map new file mode 100644 index 0000000..ff50635 --- /dev/null +++ b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAGA,cAAc,OAAO,CAAC"} \ No newline at end of file diff --git a/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/index.js b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/index.js new file mode 100644 index 0000000..cdf95e3 --- /dev/null +++ b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/index.js @@ -0,0 +1,20 @@ +"use strict"; +// This file exports all the types available in the recommended gateway version +// Thereby, things MAY break in the future. Try sticking to imports from a specific version +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +__exportStar(require("./v10"), exports); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/index.js.map b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/index.js.map new file mode 100644 index 0000000..d432448 --- /dev/null +++ b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA,+EAA+E;AAC/E,2FAA2F;;;;;;;;;;;;;;;;AAE3F,wCAAsB"} \ No newline at end of file diff --git a/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/index.mjs b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/index.mjs new file mode 100644 index 0000000..fd4ff25 --- /dev/null +++ b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/index.mjs @@ -0,0 +1,8 @@ +import mod from "./index.js"; + +export default mod; +export const GatewayCloseCodes = mod.GatewayCloseCodes; +export const GatewayDispatchEvents = mod.GatewayDispatchEvents; +export const GatewayIntentBits = mod.GatewayIntentBits; +export const GatewayOpcodes = mod.GatewayOpcodes; +export const GatewayVersion = mod.GatewayVersion; diff --git a/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v10.d.ts b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v10.d.ts new file mode 100644 index 0000000..310b184 --- /dev/null +++ b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v10.d.ts @@ -0,0 +1,1471 @@ +/** + * Types extracted from https://discord.com/developers/docs/topics/gateway + */ +import type { Snowflake } from '../globals'; +import type { GatewayPresenceUpdate } from '../payloads/v10/gateway'; +import type { APIApplication, APIChannel, APIEmoji, APIGuild, APIGuildIntegration, APIGuildMember, APIGuildScheduledEvent, APIInteraction, APIMessage, APIRole, APIStageInstance, APISticker, APIThreadChannel, APIThreadMember, APIUnavailableGuild, APIUser, GatewayActivity, GatewayPresenceUpdate as RawGatewayPresenceUpdate, GatewayThreadListSync as RawGatewayThreadListSync, GatewayThreadMembersUpdate as RawGatewayThreadMembersUpdate, GatewayVoiceState, InviteTargetType, PresenceUpdateStatus } from '../payloads/v10/index'; +import type { Nullable } from '../utils/internals'; +export * from './common'; +export declare const GatewayVersion = "10"; +/** + * https://discord.com/developers/docs/topics/opcodes-and-status-codes#gateway-gateway-opcodes + */ +export declare enum GatewayOpcodes { + /** + * An event was dispatched + */ + Dispatch = 0, + /** + * A bidirectional opcode to maintain an active gateway connection. + * Fired periodically by the client, or fired by the gateway to request an immediate heartbeat from the client. + */ + Heartbeat = 1, + /** + * Starts a new session during the initial handshake + */ + Identify = 2, + /** + * Update the client's presence + */ + PresenceUpdate = 3, + /** + * Used to join/leave or move between voice channels + */ + VoiceStateUpdate = 4, + /** + * Resume a previous session that was disconnected + */ + Resume = 6, + /** + * You should attempt to reconnect and resume immediately + */ + Reconnect = 7, + /** + * Request information about offline guild members in a large guild + */ + RequestGuildMembers = 8, + /** + * The session has been invalidated. You should reconnect and identify/resume accordingly + */ + InvalidSession = 9, + /** + * Sent immediately after connecting, contains the `heartbeat_interval` to use + */ + Hello = 10, + /** + * Sent in response to receiving a heartbeat to acknowledge that it has been received + */ + HeartbeatAck = 11 +} +/** + * https://discord.com/developers/docs/topics/opcodes-and-status-codes#gateway-gateway-close-event-codes + */ +export declare enum GatewayCloseCodes { + /** + * We're not sure what went wrong. Try reconnecting? + */ + UnknownError = 4000, + /** + * You sent an invalid Gateway opcode or an invalid payload for an opcode. Don't do that! + * + * See https://discord.com/developers/docs/topics/gateway#payloads-and-opcodes + */ + UnknownOpcode = 4001, + /** + * You sent an invalid payload to us. Don't do that! + * + * See https://discord.com/developers/docs/topics/gateway#sending-payloads + */ + DecodeError = 4002, + /** + * You sent us a payload prior to identifying + * + * See https://discord.com/developers/docs/topics/gateway#identify + */ + NotAuthenticated = 4003, + /** + * The account token sent with your identify payload is incorrect + * + * See https://discord.com/developers/docs/topics/gateway#identify + */ + AuthenticationFailed = 4004, + /** + * You sent more than one identify payload. Don't do that! + */ + AlreadyAuthenticated = 4005, + /** + * The sequence sent when resuming the session was invalid. Reconnect and start a new session + * + * See https://discord.com/developers/docs/topics/gateway#resume + */ + InvalidSeq = 4007, + /** + * Woah nelly! You're sending payloads to us too quickly. Slow it down! You will be disconnected on receiving this + */ + RateLimited = 4008, + /** + * Your session timed out. Reconnect and start a new one + */ + SessionTimedOut = 4009, + /** + * You sent us an invalid shard when identifying + * + * See https://discord.com/developers/docs/topics/gateway#sharding + */ + InvalidShard = 4010, + /** + * The session would have handled too many guilds - you are required to shard your connection in order to connect + * + * See https://discord.com/developers/docs/topics/gateway#sharding + */ + ShardingRequired = 4011, + /** + * You sent an invalid version for the gateway + */ + InvalidAPIVersion = 4012, + /** + * You sent an invalid intent for a Gateway Intent. You may have incorrectly calculated the bitwise value + * + * See https://discord.com/developers/docs/topics/gateway#gateway-intents + */ + InvalidIntents = 4013, + /** + * You sent a disallowed intent for a Gateway Intent. You may have tried to specify an intent that you have not + * enabled or are not whitelisted for + * + * See https://discord.com/developers/docs/topics/gateway#gateway-intents + * + * See https://discord.com/developers/docs/topics/gateway#privileged-intents + */ + DisallowedIntents = 4014 +} +/** + * https://discord.com/developers/docs/topics/gateway#list-of-intents + */ +export declare enum GatewayIntentBits { + Guilds = 1, + GuildMembers = 2, + GuildBans = 4, + GuildEmojisAndStickers = 8, + GuildIntegrations = 16, + GuildWebhooks = 32, + GuildInvites = 64, + GuildVoiceStates = 128, + GuildPresences = 256, + GuildMessages = 512, + GuildMessageReactions = 1024, + GuildMessageTyping = 2048, + DirectMessages = 4096, + DirectMessageReactions = 8192, + DirectMessageTyping = 16384, + MessageContent = 32768, + GuildScheduledEvents = 65536 +} +/** + * https://discord.com/developers/docs/topics/gateway#commands-and-events-gateway-events + */ +export declare enum GatewayDispatchEvents { + ApplicationCommandPermissionsUpdate = "APPLICATION_COMMAND_PERMISSIONS_UPDATE", + ChannelCreate = "CHANNEL_CREATE", + ChannelDelete = "CHANNEL_DELETE", + ChannelPinsUpdate = "CHANNEL_PINS_UPDATE", + ChannelUpdate = "CHANNEL_UPDATE", + GuildBanAdd = "GUILD_BAN_ADD", + GuildBanRemove = "GUILD_BAN_REMOVE", + GuildCreate = "GUILD_CREATE", + GuildDelete = "GUILD_DELETE", + GuildEmojisUpdate = "GUILD_EMOJIS_UPDATE", + GuildIntegrationsUpdate = "GUILD_INTEGRATIONS_UPDATE", + GuildMemberAdd = "GUILD_MEMBER_ADD", + GuildMemberRemove = "GUILD_MEMBER_REMOVE", + GuildMembersChunk = "GUILD_MEMBERS_CHUNK", + GuildMemberUpdate = "GUILD_MEMBER_UPDATE", + GuildRoleCreate = "GUILD_ROLE_CREATE", + GuildRoleDelete = "GUILD_ROLE_DELETE", + GuildRoleUpdate = "GUILD_ROLE_UPDATE", + GuildStickersUpdate = "GUILD_STICKERS_UPDATE", + GuildUpdate = "GUILD_UPDATE", + IntegrationCreate = "INTEGRATION_CREATE", + IntegrationDelete = "INTEGRATION_DELETE", + IntegrationUpdate = "INTEGRATION_UPDATE", + InteractionCreate = "INTERACTION_CREATE", + InviteCreate = "INVITE_CREATE", + InviteDelete = "INVITE_DELETE", + MessageCreate = "MESSAGE_CREATE", + MessageDelete = "MESSAGE_DELETE", + MessageDeleteBulk = "MESSAGE_DELETE_BULK", + MessageReactionAdd = "MESSAGE_REACTION_ADD", + MessageReactionRemove = "MESSAGE_REACTION_REMOVE", + MessageReactionRemoveAll = "MESSAGE_REACTION_REMOVE_ALL", + MessageReactionRemoveEmoji = "MESSAGE_REACTION_REMOVE_EMOJI", + MessageUpdate = "MESSAGE_UPDATE", + PresenceUpdate = "PRESENCE_UPDATE", + StageInstanceCreate = "STAGE_INSTANCE_CREATE", + StageInstanceDelete = "STAGE_INSTANCE_DELETE", + StageInstanceUpdate = "STAGE_INSTANCE_UPDATE", + Ready = "READY", + Resumed = "RESUMED", + ThreadCreate = "THREAD_CREATE", + ThreadDelete = "THREAD_DELETE", + ThreadListSync = "THREAD_LIST_SYNC", + ThreadMembersUpdate = "THREAD_MEMBERS_UPDATE", + ThreadMemberUpdate = "THREAD_MEMBER_UPDATE", + ThreadUpdate = "THREAD_UPDATE", + TypingStart = "TYPING_START", + UserUpdate = "USER_UPDATE", + VoiceServerUpdate = "VOICE_SERVER_UPDATE", + VoiceStateUpdate = "VOICE_STATE_UPDATE", + WebhooksUpdate = "WEBHOOKS_UPDATE", + GuildScheduledEventCreate = "GUILD_SCHEDULED_EVENT_CREATE", + GuildScheduledEventUpdate = "GUILD_SCHEDULED_EVENT_UPDATE", + GuildScheduledEventDelete = "GUILD_SCHEDULED_EVENT_DELETE", + GuildScheduledEventUserAdd = "GUILD_SCHEDULED_EVENT_USER_ADD", + GuildScheduledEventUserRemove = "GUILD_SCHEDULED_EVENT_USER_REMOVE" +} +export declare type GatewaySendPayload = GatewayHeartbeat | GatewayIdentify | GatewayUpdatePresence | GatewayVoiceStateUpdate | GatewayResume | GatewayRequestGuildMembers; +export declare type GatewayReceivePayload = GatewayHello | GatewayHeartbeatRequest | GatewayHeartbeatAck | GatewayInvalidSession | GatewayReconnect | GatewayDispatchPayload; +export declare type GatewayDispatchPayload = GatewayChannelModifyDispatch | GatewayChannelPinsUpdateDispatch | GatewayGuildBanModifyDispatch | GatewayGuildCreateDispatch | GatewayGuildDeleteDispatch | GatewayGuildEmojisUpdateDispatch | GatewayGuildIntegrationsUpdateDispatch | GatewayGuildMemberAddDispatch | GatewayGuildMemberRemoveDispatch | GatewayGuildMembersChunkDispatch | GatewayGuildMemberUpdateDispatch | GatewayGuildModifyDispatch | GatewayGuildRoleDeleteDispatch | GatewayGuildRoleModifyDispatch | GatewayGuildScheduledEventCreateDispatch | GatewayGuildScheduledEventUpdateDispatch | GatewayGuildScheduledEventDeleteDispatch | GatewayGuildScheduledEventUserAddDispatch | GatewayGuildScheduledEventUserRemoveDispatch | GatewayGuildStickersUpdateDispatch | GatewayIntegrationCreateDispatch | GatewayIntegrationDeleteDispatch | GatewayIntegrationUpdateDispatch | GatewayInteractionCreateDispatch | GatewayInviteCreateDispatch | GatewayInviteDeleteDispatch | GatewayMessageCreateDispatch | GatewayMessageDeleteBulkDispatch | GatewayMessageDeleteDispatch | GatewayMessageReactionAddDispatch | GatewayMessageReactionRemoveAllDispatch | GatewayMessageReactionRemoveDispatch | GatewayMessageReactionRemoveEmojiDispatch | GatewayMessageUpdateDispatch | GatewayPresenceUpdateDispatch | GatewayStageInstanceCreateDispatch | GatewayStageInstanceDeleteDispatch | GatewayStageInstanceUpdateDispatch | GatewayReadyDispatch | GatewayResumedDispatch | GatewayThreadListSyncDispatch | GatewayThreadMembersUpdateDispatch | GatewayThreadMemberUpdateDispatch | GatewayThreadModifyDispatch | GatewayTypingStartDispatch | GatewayUserUpdateDispatch | GatewayVoiceServerUpdateDispatch | GatewayVoiceStateUpdateDispatch | GatewayWebhooksUpdateDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#hello + */ +export interface GatewayHello extends NonDispatchPayload { + op: GatewayOpcodes.Hello; + d: GatewayHelloData; +} +/** + * https://discord.com/developers/docs/topics/gateway#hello + */ +export interface GatewayHelloData { + /** + * The interval (in milliseconds) the client should heartbeat with + */ + heartbeat_interval: number; +} +/** + * https://discord.com/developers/docs/topics/gateway#heartbeating + */ +export interface GatewayHeartbeatRequest extends NonDispatchPayload { + op: GatewayOpcodes.Heartbeat; + d: never; +} +/** + * https://discord.com/developers/docs/topics/gateway#heartbeating-example-gateway-heartbeat-ack + */ +export interface GatewayHeartbeatAck extends NonDispatchPayload { + op: GatewayOpcodes.HeartbeatAck; + d: never; +} +/** + * https://discord.com/developers/docs/topics/gateway#invalid-session + */ +export interface GatewayInvalidSession extends NonDispatchPayload { + op: GatewayOpcodes.InvalidSession; + d: GatewayInvalidSessionData; +} +/** + * https://discord.com/developers/docs/topics/gateway#invalid-session + */ +export declare type GatewayInvalidSessionData = boolean; +/** + * https://discord.com/developers/docs/topics/gateway#reconnect + */ +export interface GatewayReconnect extends NonDispatchPayload { + op: GatewayOpcodes.Reconnect; + d: never; +} +/** + * https://discord.com/developers/docs/topics/gateway#ready + */ +export declare type GatewayReadyDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#ready + */ +export interface GatewayReadyDispatchData { + /** + * Gateway version + * + * See https://discord.com/developers/docs/topics/gateway#gateways-gateway-versions + */ + v: number; + /** + * Information about the user including email + * + * See https://discord.com/developers/docs/resources/user#user-object + */ + user: APIUser; + /** + * The guilds the user is in + * + * See https://discord.com/developers/docs/resources/guild#unavailable-guild-object + */ + guilds: APIUnavailableGuild[]; + /** + * Used for resuming connections + */ + session_id: string; + /** + * The shard information associated with this session, if sent when identifying + * + * See https://discord.com/developers/docs/topics/gateway#sharding + */ + shard?: [shard_id: number, shard_count: number]; + /** + * Contains `id` and `flags` + * + * See https://discord.com/developers/docs/resources/application#application-object + */ + application: Pick; +} +/** + * https://discord.com/developers/docs/topics/gateway#resumed + */ +export declare type GatewayResumedDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#channel-create + * https://discord.com/developers/docs/topics/gateway#channel-update + * https://discord.com/developers/docs/topics/gateway#channel-delete + */ +export declare type GatewayChannelModifyDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#channel-create + * https://discord.com/developers/docs/topics/gateway#channel-update + * https://discord.com/developers/docs/topics/gateway#channel-delete + */ +export declare type GatewayChannelModifyDispatchData = APIChannel; +/** + * https://discord.com/developers/docs/topics/gateway#channel-create + */ +export declare type GatewayChannelCreateDispatch = GatewayChannelModifyDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#channel-create + */ +export declare type GatewayChannelCreateDispatchData = GatewayChannelModifyDispatchData; +/** + * https://discord.com/developers/docs/topics/gateway#channel-update + */ +export declare type GatewayChannelUpdateDispatch = GatewayChannelModifyDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#channel-update + */ +export declare type GatewayChannelUpdateDispatchData = GatewayChannelModifyDispatchData; +/** + * https://discord.com/developers/docs/topics/gateway#channel-delete + */ +export declare type GatewayChannelDeleteDispatch = GatewayChannelModifyDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#channel-delete + */ +export declare type GatewayChannelDeleteDispatchData = GatewayChannelModifyDispatchData; +/** + * https://discord.com/developers/docs/topics/gateway#channel-pins-update + */ +export declare type GatewayChannelPinsUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#channel-pins-update + */ +export interface GatewayChannelPinsUpdateDispatchData { + /** + * The id of the guild + */ + guild_id?: Snowflake; + /** + * The id of the channel + */ + channel_id: Snowflake; + /** + * The time at which the most recent pinned message was pinned + */ + last_pin_timestamp?: string | null; +} +/** + * https://discord.com/developers/docs/topics/gateway#guild-create + */ +export declare type GatewayGuildModifyDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-update + */ +export declare type GatewayGuildModifyDispatchData = APIGuild; +/** + * https://discord.com/developers/docs/topics/gateway#guild-create + */ +export declare type GatewayGuildCreateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-create + * https://discord.com/developers/docs/topics/gateway#guild-create-guild-create-extra-fields + */ +export interface GatewayGuildCreateDispatchData extends APIGuild { + /** + * When this guild was joined at + * + * **This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event** + */ + joined_at: string; + /** + * `true` if this is considered a large guild + * + * **This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event** + */ + large: boolean; + /** + * `true` if this guild is unavailable due to an outage + */ + unavailable?: boolean; + /** + * Total number of members in this guild + * + * **This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event** + */ + member_count: number; + /** + * States of members currently in voice channels; lacks the `guild_id` key + * + * **This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event** + * + * See https://discord.com/developers/docs/resources/voice#voice-state-object + */ + voice_states: Omit[]; + /** + * Users in the guild + * + * **This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event** + * + * See https://discord.com/developers/docs/resources/guild#guild-member-object + */ + members: APIGuildMember[]; + /** + * Channels in the guild + * + * **This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event** + * + * See https://discord.com/developers/docs/resources/channel#channel-object + */ + channels: APIChannel[]; + /** + * Threads in the guild + * + * **This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event** + * + * See https://discord.com/developers/docs/resources/channel#channel-object + */ + threads: APIChannel[]; + /** + * Presences of the members in the guild, will only include non-offline members if the size is greater than `large_threshold` + * + * **This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event** + * + * See https://discord.com/developers/docs/topics/gateway#presence-update + */ + presences: GatewayPresenceUpdate[]; + /** + * The stage instances in the guild + * + * **This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event** + * + * See https://discord.com/developers/docs/resources/stage-instance#stage-instance-object-stage-instance-structure + */ + stage_instances: APIStageInstance[]; + /** + * The scheduled events in the guild + * + * **This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event** + * + * https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-object + */ + guild_scheduled_events: APIGuildScheduledEvent[]; +} +/** + * https://discord.com/developers/docs/topics/gateway#guild-update + */ +export declare type GatewayGuildUpdateDispatch = GatewayGuildModifyDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#guild-update + */ +export declare type GatewayGuildUpdateDispatchData = GatewayGuildModifyDispatchData; +/** + * https://discord.com/developers/docs/topics/gateway#guild-delete + */ +export declare type GatewayGuildDeleteDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-delete + */ +export declare type GatewayGuildDeleteDispatchData = APIUnavailableGuild; +/** + * https://discord.com/developers/docs/topics/gateway#guild-ban-add + * https://discord.com/developers/docs/topics/gateway#guild-ban-remove + */ +export declare type GatewayGuildBanModifyDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-ban-add + * https://discord.com/developers/docs/topics/gateway#guild-ban-remove + */ +export interface GatewayGuildBanModifyDispatchData { + /** + * ID of the guild + */ + guild_id: Snowflake; + /** + * The banned user + * + * See https://discord.com/developers/docs/resources/user#user-object + */ + user: APIUser; +} +/** + * https://discord.com/developers/docs/topics/gateway#guild-ban-add + */ +export declare type GatewayGuildBanAddDispatch = GatewayGuildBanModifyDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#guild-ban-add + */ +export declare type GatewayGuildBanAddDispatchData = GatewayGuildBanModifyDispatchData; +/** + * https://discord.com/developers/docs/topics/gateway#guild-ban-remove + */ +export declare type GatewayGuildBanRemoveDispatch = GatewayGuildBanModifyDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#guild-ban-remove + */ +export declare type GatewayGuildBanRemoveDispatchData = GatewayGuildBanModifyDispatchData; +/** + * https://discord.com/developers/docs/topics/gateway#guild-emojis-update + */ +export declare type GatewayGuildEmojisUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-emojis-update + */ +export interface GatewayGuildEmojisUpdateDispatchData { + /** + * ID of the guild + */ + guild_id: Snowflake; + /** + * Array of emojis + * + * See https://discord.com/developers/docs/resources/emoji#emoji-object + */ + emojis: APIEmoji[]; +} +/** + * https://discord.com/developers/docs/topics/gateway#guild-stickers-update + */ +export declare type GatewayGuildStickersUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-stickers-update + */ +export interface GatewayGuildStickersUpdateDispatchData { + /** + * ID of the guild + */ + guild_id: Snowflake; + /** + * Array of stickers + * + * See https://discord.com/developers/docs/resources/sticker#sticker-object + */ + stickers: APISticker[]; +} +/** + * https://discord.com/developers/docs/topics/gateway#guild-integrations-update + */ +export declare type GatewayGuildIntegrationsUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-integrations-update + */ +export interface GatewayGuildIntegrationsUpdateDispatchData { + /** + * ID of the guild whose integrations were updated + */ + guild_id: Snowflake; +} +/** + * https://discord.com/developers/docs/topics/gateway#guild-member-add + */ +export declare type GatewayGuildMemberAddDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-member-add + */ +export interface GatewayGuildMemberAddDispatchData extends APIGuildMember { + /** + * The id of the guild + */ + guild_id: Snowflake; +} +/** + * https://discord.com/developers/docs/topics/gateway#guild-member-remove + */ +export declare type GatewayGuildMemberRemoveDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-member-remove + */ +export interface GatewayGuildMemberRemoveDispatchData { + /** + * The id of the guild + */ + guild_id: Snowflake; + /** + * The user who was removed + * + * See https://discord.com/developers/docs/resources/user#user-object + */ + user: APIUser; +} +/** + * https://discord.com/developers/docs/topics/gateway#guild-member-update + */ +export declare type GatewayGuildMemberUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-member-update + */ +export declare type GatewayGuildMemberUpdateDispatchData = Omit & Partial> & Required> & Nullable> & { + /** + * The id of the guild + */ + guild_id: Snowflake; +}; +/** + * https://discord.com/developers/docs/topics/gateway#guild-members-chunk + */ +export declare type GatewayGuildMembersChunkDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-members-chunk + */ +export interface GatewayGuildMembersChunkDispatchData { + /** + * The id of the guild + */ + guild_id: Snowflake; + /** + * Set of guild members + * + * See https://discord.com/developers/docs/resources/guild#guild-member-object + */ + members: APIGuildMember[]; + /** + * The chunk index in the expected chunks for this response (`0 <= chunk_index < chunk_count`) + */ + chunk_index?: number; + /** + * The total number of expected chunks for this response + */ + chunk_count?: number; + /** + * If passing an invalid id to `REQUEST_GUILD_MEMBERS`, it will be returned here + */ + not_found?: unknown[]; + /** + * If passing true to `REQUEST_GUILD_MEMBERS`, presences of the returned members will be here + * + * See https://discord.com/developers/docs/topics/gateway#presence + */ + presences?: RawGatewayPresenceUpdate[]; + /** + * The nonce used in the Guild Members Request + * + * See https://discord.com/developers/docs/topics/gateway#request-guild-members + */ + nonce?: string; +} +/** + * https://discord.com/developers/docs/topics/gateway#guild-role-create + * https://discord.com/developers/docs/topics/gateway#guild-role-update + */ +export declare type GatewayGuildRoleModifyDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-role-create + * https://discord.com/developers/docs/topics/gateway#guild-role-update + */ +export interface GatewayGuildRoleModifyDispatchData { + /** + * The id of the guild + */ + guild_id: Snowflake; + /** + * The role created or updated + * + * See https://discord.com/developers/docs/topics/permissions#role-object + */ + role: APIRole; +} +/** + * https://discord.com/developers/docs/topics/gateway#guild-role-create + */ +export declare type GatewayGuildRoleCreateDispatch = GatewayGuildRoleModifyDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#guild-role-create + */ +export declare type GatewayGuildRoleCreateDispatchData = GatewayGuildRoleModifyDispatchData; +/** + * https://discord.com/developers/docs/topics/gateway#guild-role-update + */ +export declare type GatewayGuildRoleUpdateDispatch = GatewayGuildRoleModifyDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#guild-role-update + */ +export declare type GatewayGuildRoleUpdateDispatchData = GatewayGuildRoleModifyDispatchData; +/** + * https://discord.com/developers/docs/topics/gateway#guild-role-delete + */ +export declare type GatewayGuildRoleDeleteDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-role-delete + */ +export interface GatewayGuildRoleDeleteDispatchData { + /** + * The id of the guild + */ + guild_id: Snowflake; + /** + * The id of the role + */ + role_id: Snowflake; +} +export declare type GatewayGuildScheduledEventCreateDispatch = DataPayload; +export declare type GatewayGuildScheduledEventCreateDispatchData = APIGuildScheduledEvent; +export declare type GatewayGuildScheduledEventUpdateDispatch = DataPayload; +export declare type GatewayGuildScheduledEventUpdateDispatchData = APIGuildScheduledEvent; +export declare type GatewayGuildScheduledEventDeleteDispatch = DataPayload; +export declare type GatewayGuildScheduledEventDeleteDispatchData = APIGuildScheduledEvent; +export declare type GatewayGuildScheduledEventUserAddDispatch = DataPayload; +export interface GatewayGuildScheduledEventUserAddDispatchData { + guild_scheduled_event_id: Snowflake; + user_id: Snowflake; + guild_id: Snowflake; +} +export declare type GatewayGuildScheduledEventUserRemoveDispatch = DataPayload; +export interface GatewayGuildScheduledEventUserRemoveDispatchData { + guild_scheduled_event_id: Snowflake; + user_id: Snowflake; + guild_id: Snowflake; +} +/** + * https://discord.com/developers/docs/topics/gateway#integration-create + */ +export declare type GatewayIntegrationCreateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#integration-create + */ +export declare type GatewayIntegrationCreateDispatchData = APIGuildIntegration & { + guild_id: Snowflake; +}; +/** + * https://discord.com/developers/docs/topics/gateway#integration-update + */ +export declare type GatewayIntegrationUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#integration-update + */ +export declare type GatewayIntegrationUpdateDispatchData = APIGuildIntegration & { + guild_id: Snowflake; +}; +/** + * https://discord.com/developers/docs/topics/gateway#integration-update + */ +export declare type GatewayIntegrationDeleteDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#integration-delete + */ +export interface GatewayIntegrationDeleteDispatchData { + /** + * Integration id + */ + id: Snowflake; + /** + * ID of the guild + */ + guild_id: Snowflake; + /** + * ID of the bot/OAuth2 application for this Discord integration + */ + application_id?: Snowflake; +} +/** + * https://discord.com/developers/docs/topics/gateway#interaction-create + */ +export declare type GatewayInteractionCreateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#interaction-create + */ +export declare type GatewayInteractionCreateDispatchData = APIInteraction; +/** + * https://discord.com/developers/docs/topics/gateway#invite-create + */ +export declare type GatewayInviteCreateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#invite-create + */ +export interface GatewayInviteCreateDispatchData { + /** + * The channel the invite is for + */ + channel_id: Snowflake; + /** + * The unique invite code + * + * See https://discord.com/developers/docs/resources/invite#invite-object + */ + code: string; + /** + * The time at which the invite was created + */ + created_at: number; + /** + * The guild of the invite + */ + guild_id?: Snowflake; + /** + * The user that created the invite + * + * See https://discord.com/developers/docs/resources/user#user-object + */ + inviter?: APIUser; + /** + * How long the invite is valid for (in seconds) + */ + max_age: number; + /** + * The maximum number of times the invite can be used + */ + max_uses: number; + /** + * The type of target for this voice channel invite + * + * See https://discord.com/developers/docs/resources/invite#invite-object-invite-target-types + */ + target_type?: InviteTargetType; + /** + * The user whose stream to display for this voice channel stream invite + * + * See https://discord.com/developers/docs/resources/user#user-object + */ + target_user?: APIUser; + /** + * The embedded application to open for this voice channel embedded application invite + */ + target_application?: Partial; + /** + * Whether or not the invite is temporary (invited users will be kicked on disconnect unless they're assigned a role) + */ + temporary: boolean; + /** + * How many times the invite has been used (always will be `0`) + */ + uses: 0; +} +/** + * https://discord.com/developers/docs/topics/gateway#invite-delete + */ +export declare type GatewayInviteDeleteDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#invite-delete + */ +export interface GatewayInviteDeleteDispatchData { + /** + * The channel of the invite + */ + channel_id: Snowflake; + /** + * The guild of the invite + */ + guild_id?: Snowflake; + /** + * The unique invite code + * + * See https://discord.com/developers/docs/resources/invite#invite-object + */ + code: string; +} +/** + * https://discord.com/developers/docs/topics/gateway#message-create + */ +export declare type GatewayMessageCreateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#message-create + */ +export declare type GatewayMessageCreateDispatchData = Omit & GatewayMessageEventExtraFields; +/** + * https://discord.com/developers/docs/topics/gateway#message-update + */ +export declare type GatewayMessageUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#message-update + */ +export declare type GatewayMessageUpdateDispatchData = Omit, 'mentions'> & GatewayMessageEventExtraFields & { + /** + * ID of the message + */ + id: Snowflake; + /** + * ID of the channel the message was sent in + */ + channel_id: Snowflake; +}; +export interface GatewayMessageEventExtraFields { + /** + * ID of the guild the message was sent in + */ + guild_id?: Snowflake; + /** + * Member properties for this message's author + * + * The member object exists in `MESSAGE_CREATE` and `MESSAGE_UPDATE` events + * from text-based guild channels + * + * See https://discord.com/developers/docs/resources/guild#guild-member-object + */ + member?: APIGuildMember; + /** + * Users specifically mentioned in the message + * + * The `member` field is only present in `MESSAGE_CREATE` and `MESSAGE_UPDATE` events + * from text-based guild channels + * + * See https://discord.com/developers/docs/resources/user#user-object + * See https://discord.com/developers/docs/resources/guild#guild-member-object + */ + mentions: (APIUser & { + member?: Omit; + })[]; +} +/** + * https://discord.com/developers/docs/topics/gateway#message-delete + */ +export declare type GatewayMessageDeleteDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#message-delete + */ +export interface GatewayMessageDeleteDispatchData { + /** + * The id of the message + */ + id: Snowflake; + /** + * The id of the channel + */ + channel_id: Snowflake; + /** + * The id of the guild + */ + guild_id?: Snowflake; +} +/** + * https://discord.com/developers/docs/topics/gateway#message-delete-bulk + */ +export declare type GatewayMessageDeleteBulkDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#message-delete-bulk + */ +export interface GatewayMessageDeleteBulkDispatchData { + /** + * The ids of the messages + */ + ids: Snowflake[]; + /** + * The id of the channel + */ + channel_id: Snowflake; + /** + * The id of the guild + */ + guild_id?: Snowflake; +} +/** + * https://discord.com/developers/docs/topics/gateway#message-reaction-add + */ +export declare type GatewayMessageReactionAddDispatch = ReactionData; +/** + * https://discord.com/developers/docs/topics/gateway#message-reaction-add + */ +export declare type GatewayMessageReactionAddDispatchData = GatewayMessageReactionAddDispatch['d']; +/** + * https://discord.com/developers/docs/topics/gateway#message-reaction-remove + */ +export declare type GatewayMessageReactionRemoveDispatch = ReactionData; +/** + * https://discord.com/developers/docs/topics/gateway#message-reaction-remove + */ +export declare type GatewayMessageReactionRemoveDispatchData = GatewayMessageReactionRemoveDispatch['d']; +/** + * https://discord.com/developers/docs/topics/gateway#message-reaction-remove-all + */ +export declare type GatewayMessageReactionRemoveAllDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#message-reaction-remove-all + */ +export declare type GatewayMessageReactionRemoveAllDispatchData = MessageReactionRemoveData; +/** + * https://discord.com/developers/docs/topics/gateway#message-reaction-remove-emoji + */ +export declare type GatewayMessageReactionRemoveEmojiDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#message-reaction-remove-emoji + */ +export interface GatewayMessageReactionRemoveEmojiDispatchData extends MessageReactionRemoveData { + /** + * The emoji that was removed + */ + emoji: APIEmoji; +} +/** + * https://discord.com/developers/docs/topics/gateway#presence-update + */ +export declare type GatewayPresenceUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#presence-update + */ +export declare type GatewayPresenceUpdateDispatchData = RawGatewayPresenceUpdate; +/** + * https://discord.com/developers/docs/topics/gateway#stage-instance-create + */ +export declare type GatewayStageInstanceCreateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#stage-instance-create + */ +export declare type GatewayStageInstanceCreateDispatchData = APIStageInstance; +/** + * https://discord.com/developers/docs/topics/gateway#stage-instance-delete + */ +export declare type GatewayStageInstanceDeleteDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#stage-instance-delete + */ +export declare type GatewayStageInstanceDeleteDispatchData = APIStageInstance; +/** + * https://discord.com/developers/docs/topics/gateway#stage-instance-update + */ +export declare type GatewayStageInstanceUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#stage-instance-update + */ +export declare type GatewayStageInstanceUpdateDispatchData = APIStageInstance; +/** + * https://discord.com/developers/docs/topics/gateway#thread-list-sync + */ +export declare type GatewayThreadListSyncDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#thread-list-sync + */ +export declare type GatewayThreadListSyncDispatchData = RawGatewayThreadListSync; +/** + * https://discord.com/developers/docs/topics/gateway#thread-members-update + */ +export declare type GatewayThreadMembersUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#thread-members-update + */ +export declare type GatewayThreadMembersUpdateDispatchData = RawGatewayThreadMembersUpdate; +/** + * https://discord.com/developers/docs/topics/gateway#thread-member-update + */ +export declare type GatewayThreadMemberUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#thread-member-update + */ +export declare type GatewayThreadMemberUpdateDispatchData = APIThreadMember & { + guild_id: Snowflake; +}; +/** + * https://discord.com/developers/docs/topics/gateway#thread-create + * https://discord.com/developers/docs/topics/gateway#thread-update + * https://discord.com/developers/docs/topics/gateway#thread-delete + */ +export declare type GatewayThreadModifyDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#thread-create + */ +export declare type GatewayThreadCreateDispatch = GatewayChannelModifyDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#thread-create + */ +export interface GatewayThreadCreateDispatchData extends APIThreadChannel { + /** + * Whether the thread is newly created or not. + */ + newly_created?: true; +} +/** + * https://discord.com/developers/docs/topics/gateway#thread-update + */ +export declare type GatewayThreadUpdateDispatch = GatewayChannelModifyDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#thread-update + */ +export declare type GatewayThreadUpdateDispatchData = GatewayChannelModifyDispatchData; +/** + * https://discord.com/developers/docs/topics/gateway#thread-delete + */ +export declare type GatewayThreadDeleteDispatch = GatewayChannelModifyDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#thread-delete + */ +export declare type GatewayThreadDeleteDispatchData = GatewayChannelModifyDispatchData; +/** + * https://discord.com/developers/docs/topics/gateway#typing-start + */ +export declare type GatewayTypingStartDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#typing-start + */ +export interface GatewayTypingStartDispatchData { + /** + * The id of the channel + */ + channel_id: Snowflake; + /** + * The id of the guild + */ + guild_id?: Snowflake; + /** + * The id of the user + */ + user_id: Snowflake; + /** + * Unix time (in seconds) of when the user started typing + */ + timestamp: number; + /** + * The member who started typing if this happened in a guild + * + * See https://discord.com/developers/docs/resources/guild#guild-member-object + */ + member?: APIGuildMember; +} +/** + * https://discord.com/developers/docs/topics/gateway#user-update + */ +export declare type GatewayUserUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#user-update + */ +export declare type GatewayUserUpdateDispatchData = APIUser; +/** + * https://discord.com/developers/docs/topics/gateway#voice-state-update + */ +export declare type GatewayVoiceStateUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#voice-state-update + */ +export declare type GatewayVoiceStateUpdateDispatchData = GatewayVoiceState; +/** + * https://discord.com/developers/docs/topics/gateway#voice-server-update + */ +export declare type GatewayVoiceServerUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#voice-server-update + */ +export interface GatewayVoiceServerUpdateDispatchData { + /** + * Voice connection token + */ + token: string; + /** + * The guild this voice server update is for + */ + guild_id: Snowflake; + /** + * The voice server host + * + * A `null` endpoint means that the voice server allocated has gone away and is trying to be reallocated. + * You should attempt to disconnect from the currently connected voice server, and not attempt to reconnect + * until a new voice server is allocated + */ + endpoint: string | null; +} +/** + * https://discord.com/developers/docs/topics/gateway#webhooks-update + */ +export declare type GatewayWebhooksUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#webhooks-update + */ +export interface GatewayWebhooksUpdateDispatchData { + /** + * The id of the guild + */ + guild_id: Snowflake; + /** + * The id of the channel + */ + channel_id: Snowflake; +} +/** + * https://discord.com/developers/docs/topics/gateway#heartbeating + */ +export interface GatewayHeartbeat { + op: GatewayOpcodes.Heartbeat; + d: GatewayHeartbeatData; +} +/** + * https://discord.com/developers/docs/topics/gateway#heartbeating + */ +export declare type GatewayHeartbeatData = number | null; +/** + * https://discord.com/developers/docs/topics/gateway#identify + */ +export interface GatewayIdentify { + op: GatewayOpcodes.Identify; + d: GatewayIdentifyData; +} +/** + * https://discord.com/developers/docs/topics/gateway#identify + */ +export interface GatewayIdentifyData { + /** + * Authentication token + */ + token: string; + /** + * Connection properties + * + * See https://discord.com/developers/docs/topics/gateway#identify-identify-connection-properties + */ + properties: GatewayIdentifyProperties; + /** + * Whether this connection supports compression of packets + * + * @default false + */ + compress?: boolean; + /** + * Value between 50 and 250, total number of members where the gateway will stop sending + * offline members in the guild member list + * + * @default 50 + */ + large_threshold?: number; + /** + * Used for Guild Sharding + * + * See https://discord.com/developers/docs/topics/gateway#sharding + */ + shard?: [shard_id: number, shard_count: number]; + /** + * Presence structure for initial presence information + * + * See https://discord.com/developers/docs/topics/gateway#update-presence + */ + presence?: GatewayPresenceUpdateData; + /** + * The Gateway Intents you wish to receive + * + * See https://discord.com/developers/docs/topics/gateway#gateway-intents + */ + intents: number; +} +/** + * https://discord.com/developers/docs/topics/gateway#identify-identify-connection-properties + */ +export interface GatewayIdentifyProperties { + /** + * Your operating system + */ + os: string; + /** + * Your library name + */ + browser: string; + /** + * Your library name + */ + device: string; +} +/** + * https://discord.com/developers/docs/topics/gateway#resume + */ +export interface GatewayResume { + op: GatewayOpcodes.Resume; + d: GatewayResumeData; +} +/** + * https://discord.com/developers/docs/topics/gateway#resume + */ +export interface GatewayResumeData { + /** + * Session token + */ + token: string; + /** + * Session id + */ + session_id: string; + /** + * Last sequence number received + */ + seq: number; +} +/** + * https://discord.com/developers/docs/topics/gateway#request-guild-members + */ +export interface GatewayRequestGuildMembers { + op: GatewayOpcodes.RequestGuildMembers; + d: GatewayRequestGuildMembersData; +} +/** + * https://discord.com/developers/docs/topics/gateway#request-guild-members + */ +export interface GatewayRequestGuildMembersData { + /** + * ID of the guild to get members for + */ + guild_id: Snowflake; + /** + * String that username starts with, or an empty string to return all members + */ + query?: string; + /** + * Maximum number of members to send matching the `query`; + * a limit of `0` can be used with an empty string `query` to return all members + */ + limit: number; + /** + * Used to specify if we want the presences of the matched members + */ + presences?: boolean; + /** + * Used to specify which users you wish to fetch + */ + user_ids?: Snowflake | Snowflake[]; + /** + * Nonce to identify the Guild Members Chunk response + * + * Nonce can only be up to 32 bytes. If you send an invalid nonce it will be ignored and the reply member_chunk(s) will not have a `nonce` set. + * + * See https://discord.com/developers/docs/topics/gateway#guild-members-chunk + */ + nonce?: string; +} +/** + * https://discord.com/developers/docs/topics/gateway#update-voice-state + */ +export interface GatewayVoiceStateUpdate { + op: GatewayOpcodes.VoiceStateUpdate; + d: GatewayVoiceStateUpdateData; +} +/** + * https://discord.com/developers/docs/topics/gateway#update-voice-state + */ +export interface GatewayVoiceStateUpdateData { + /** + * ID of the guild + */ + guild_id: Snowflake; + /** + * ID of the voice channel client wants to join (`null` if disconnecting) + */ + channel_id: Snowflake | null; + /** + * Is the client muted + */ + self_mute: boolean; + /** + * Is the client deafened + */ + self_deaf: boolean; +} +/** + * https://discord.com/developers/docs/topics/gateway#update-status + */ +export interface GatewayUpdatePresence { + op: GatewayOpcodes.PresenceUpdate; + d: GatewayPresenceUpdateData; +} +/** + * https://discord.com/developers/docs/topics/gateway#update-presence-gateway-presence-update-structure + */ +export interface GatewayPresenceUpdateData { + /** + * Unix time (in milliseconds) of when the client went idle, or `null` if the client is not idle + */ + since: number | null; + /** + * The user's activities + * + * See https://discord.com/developers/docs/topics/gateway#activity-object + */ + activities: GatewayActivityUpdateData[]; + /** + * The user's new status + * + * See https://discord.com/developers/docs/topics/gateway#update-presence-status-types + */ + status: PresenceUpdateStatus; + /** + * Whether or not the client is afk + */ + afk: boolean; +} +/** + * https://discord.com/developers/docs/topics/gateway#activity-object-activity-structure + */ +export declare type GatewayActivityUpdateData = Pick; +interface BasePayload { + /** + * Opcode for the payload + */ + op: GatewayOpcodes; + /** + * Event data + */ + d?: unknown; + /** + * Sequence number, used for resuming sessions and heartbeats + */ + s: number; + /** + * The event name for this payload + */ + t?: string; +} +declare type NonDispatchPayload = Omit & { + t: null; + s: null; +}; +interface DataPayload extends BasePayload { + op: GatewayOpcodes.Dispatch; + t: Event; + d: D; +} +declare type ReactionData = DataPayload>; +interface MessageReactionRemoveData { + /** + * The id of the channel + */ + channel_id: Snowflake; + /** + * The id of the message + */ + message_id: Snowflake; + /** + * The id of the guild + */ + guild_id?: Snowflake; +} +//# sourceMappingURL=v10.d.ts.map \ No newline at end of file diff --git a/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v10.d.ts.map b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v10.d.ts.map new file mode 100644 index 0000000..a741060 --- /dev/null +++ b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v10.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"v10.d.ts","sourceRoot":"","sources":["v10.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,KAAK,EACX,cAAc,EACd,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,cAAc,EACd,UAAU,EACV,OAAO,EACP,gBAAgB,EAChB,UAAU,EACV,gBAAgB,EAChB,eAAe,EACf,mBAAmB,EACnB,OAAO,EACP,eAAe,EACf,qBAAqB,IAAI,wBAAwB,EACjD,qBAAqB,IAAI,wBAAwB,EACjD,0BAA0B,IAAI,6BAA6B,EAC3D,iBAAiB,EACjB,gBAAgB,EAChB,oBAAoB,EACpB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEnD,cAAc,UAAU,CAAC;AAEzB,eAAO,MAAM,cAAc,OAAO,CAAC;AAEnC;;GAEG;AACH,oBAAY,cAAc;IACzB;;OAEG;IACH,QAAQ,IAAA;IACR;;;OAGG;IACH,SAAS,IAAA;IACT;;OAEG;IACH,QAAQ,IAAA;IACR;;OAEG;IACH,cAAc,IAAA;IACd;;OAEG;IACH,gBAAgB,IAAA;IAChB;;OAEG;IACH,MAAM,IAAI;IACV;;OAEG;IACH,SAAS,IAAA;IACT;;OAEG;I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BAAyB;IAClC;;OAEG;IACH,UAAU,EAAE,SAAS,CAAC;IACtB;;OAEG;IACH,UAAU,EAAE,SAAS,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACrB"} \ No newline at end of file diff --git a/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v10.js b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v10.js new file mode 100644 index 0000000..94aaefa --- /dev/null +++ b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v10.js @@ -0,0 +1,243 @@ +"use strict"; +/** + * Types extracted from https://discord.com/developers/docs/topics/gateway + */ +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GatewayDispatchEvents = exports.GatewayIntentBits = exports.GatewayCloseCodes = exports.GatewayOpcodes = exports.GatewayVersion = void 0; +__exportStar(require("./common"), exports); +exports.GatewayVersion = '10'; +/** + * https://discord.com/developers/docs/topics/opcodes-and-status-codes#gateway-gateway-opcodes + */ +var GatewayOpcodes; +(function (GatewayOpcodes) { + /** + * An event was dispatched + */ + GatewayOpcodes[GatewayOpcodes["Dispatch"] = 0] = "Dispatch"; + /** + * A bidirectional opcode to maintain an active gateway connection. + * Fired periodically by the client, or fired by the gateway to request an immediate heartbeat from the client. + */ + GatewayOpcodes[GatewayOpcodes["Heartbeat"] = 1] = "Heartbeat"; + /** + * Starts a new session during the initial handshake + */ + GatewayOpcodes[GatewayOpcodes["Identify"] = 2] = "Identify"; + /** + * Update the client's presence + */ + GatewayOpcodes[GatewayOpcodes["PresenceUpdate"] = 3] = "PresenceUpdate"; + /** + * Used to join/leave or move between voice channels + */ + GatewayOpcodes[GatewayOpcodes["VoiceStateUpdate"] = 4] = "VoiceStateUpdate"; + /** + * Resume a previous session that was disconnected + */ + GatewayOpcodes[GatewayOpcodes["Resume"] = 6] = "Resume"; + /** + * You should attempt to reconnect and resume immediately + */ + GatewayOpcodes[GatewayOpcodes["Reconnect"] = 7] = "Reconnect"; + /** + * Request information about offline guild members in a large guild + */ + GatewayOpcodes[GatewayOpcodes["RequestGuildMembers"] = 8] = "RequestGuildMembers"; + /** + * The session has been invalidated. You should reconnect and identify/resume accordingly + */ + GatewayOpcodes[GatewayOpcodes["InvalidSession"] = 9] = "InvalidSession"; + /** + * Sent immediately after connecting, contains the `heartbeat_interval` to use + */ + GatewayOpcodes[GatewayOpcodes["Hello"] = 10] = "Hello"; + /** + * Sent in response to receiving a heartbeat to acknowledge that it has been received + */ + GatewayOpcodes[GatewayOpcodes["HeartbeatAck"] = 11] = "HeartbeatAck"; +})(GatewayOpcodes = exports.GatewayOpcodes || (exports.GatewayOpcodes = {})); +/** + * https://discord.com/developers/docs/topics/opcodes-and-status-codes#gateway-gateway-close-event-codes + */ +var GatewayCloseCodes; +(function (GatewayCloseCodes) { + /** + * We're not sure what went wrong. Try reconnecting? + */ + GatewayCloseCodes[GatewayCloseCodes["UnknownError"] = 4000] = "UnknownError"; + /** + * You sent an invalid Gateway opcode or an invalid payload for an opcode. Don't do that! + * + * See https://discord.com/developers/docs/topics/gateway#payloads-and-opcodes + */ + GatewayCloseCodes[GatewayCloseCodes["UnknownOpcode"] = 4001] = "UnknownOpcode"; + /** + * You sent an invalid payload to us. Don't do that! + * + * See https://discord.com/developers/docs/topics/gateway#sending-payloads + */ + GatewayCloseCodes[GatewayCloseCodes["DecodeError"] = 4002] = "DecodeError"; + /** + * You sent us a payload prior to identifying + * + * See https://discord.com/developers/docs/topics/gateway#identify + */ + GatewayCloseCodes[GatewayCloseCodes["NotAuthenticated"] = 4003] = "NotAuthenticated"; + /** + * The account token sent with your identify payload is incorrect + * + * See https://discord.com/developers/docs/topics/gateway#identify + */ + GatewayCloseCodes[GatewayCloseCodes["AuthenticationFailed"] = 4004] = "AuthenticationFailed"; + /** + * You sent more than one identify payload. Don't do that! + */ + GatewayCloseCodes[GatewayCloseCodes["AlreadyAuthenticated"] = 4005] = "AlreadyAuthenticated"; + /** + * The sequence sent when resuming the session was invalid. Reconnect and start a new session + * + * See https://discord.com/developers/docs/topics/gateway#resume + */ + GatewayCloseCodes[GatewayCloseCodes["InvalidSeq"] = 4007] = "InvalidSeq"; + /** + * Woah nelly! You're sending payloads to us too quickly. Slow it down! You will be disconnected on receiving this + */ + GatewayCloseCodes[GatewayCloseCodes["RateLimited"] = 4008] = "RateLimited"; + /** + * Your session timed out. Reconnect and start a new one + */ + GatewayCloseCodes[GatewayCloseCodes["SessionTimedOut"] = 4009] = "SessionTimedOut"; + /** + * You sent us an invalid shard when identifying + * + * See https://discord.com/developers/docs/topics/gateway#sharding + */ + GatewayCloseCodes[GatewayCloseCodes["InvalidShard"] = 4010] = "InvalidShard"; + /** + * The session would have handled too many guilds - you are required to shard your connection in order to connect + * + * See https://discord.com/developers/docs/topics/gateway#sharding + */ + GatewayCloseCodes[GatewayCloseCodes["ShardingRequired"] = 4011] = "ShardingRequired"; + /** + * You sent an invalid version for the gateway + */ + GatewayCloseCodes[GatewayCloseCodes["InvalidAPIVersion"] = 4012] = "InvalidAPIVersion"; + /** + * You sent an invalid intent for a Gateway Intent. You may have incorrectly calculated the bitwise value + * + * See https://discord.com/developers/docs/topics/gateway#gateway-intents + */ + GatewayCloseCodes[GatewayCloseCodes["InvalidIntents"] = 4013] = "InvalidIntents"; + /** + * You sent a disallowed intent for a Gateway Intent. You may have tried to specify an intent that you have not + * enabled or are not whitelisted for + * + * See https://discord.com/developers/docs/topics/gateway#gateway-intents + * + * See https://discord.com/developers/docs/topics/gateway#privileged-intents + */ + GatewayCloseCodes[GatewayCloseCodes["DisallowedIntents"] = 4014] = "DisallowedIntents"; +})(GatewayCloseCodes = exports.GatewayCloseCodes || (exports.GatewayCloseCodes = {})); +/** + * https://discord.com/developers/docs/topics/gateway#list-of-intents + */ +var GatewayIntentBits; +(function (GatewayIntentBits) { + GatewayIntentBits[GatewayIntentBits["Guilds"] = 1] = "Guilds"; + GatewayIntentBits[GatewayIntentBits["GuildMembers"] = 2] = "GuildMembers"; + GatewayIntentBits[GatewayIntentBits["GuildBans"] = 4] = "GuildBans"; + GatewayIntentBits[GatewayIntentBits["GuildEmojisAndStickers"] = 8] = "GuildEmojisAndStickers"; + GatewayIntentBits[GatewayIntentBits["GuildIntegrations"] = 16] = "GuildIntegrations"; + GatewayIntentBits[GatewayIntentBits["GuildWebhooks"] = 32] = "GuildWebhooks"; + GatewayIntentBits[GatewayIntentBits["GuildInvites"] = 64] = "GuildInvites"; + GatewayIntentBits[GatewayIntentBits["GuildVoiceStates"] = 128] = "GuildVoiceStates"; + GatewayIntentBits[GatewayIntentBits["GuildPresences"] = 256] = "GuildPresences"; + GatewayIntentBits[GatewayIntentBits["GuildMessages"] = 512] = "GuildMessages"; + GatewayIntentBits[GatewayIntentBits["GuildMessageReactions"] = 1024] = "GuildMessageReactions"; + GatewayIntentBits[GatewayIntentBits["GuildMessageTyping"] = 2048] = "GuildMessageTyping"; + GatewayIntentBits[GatewayIntentBits["DirectMessages"] = 4096] = "DirectMessages"; + GatewayIntentBits[GatewayIntentBits["DirectMessageReactions"] = 8192] = "DirectMessageReactions"; + GatewayIntentBits[GatewayIntentBits["DirectMessageTyping"] = 16384] = "DirectMessageTyping"; + GatewayIntentBits[GatewayIntentBits["MessageContent"] = 32768] = "MessageContent"; + GatewayIntentBits[GatewayIntentBits["GuildScheduledEvents"] = 65536] = "GuildScheduledEvents"; +})(GatewayIntentBits = exports.GatewayIntentBits || (exports.GatewayIntentBits = {})); +/** + * https://discord.com/developers/docs/topics/gateway#commands-and-events-gateway-events + */ +var GatewayDispatchEvents; +(function (GatewayDispatchEvents) { + GatewayDispatchEvents["ApplicationCommandPermissionsUpdate"] = "APPLICATION_COMMAND_PERMISSIONS_UPDATE"; + GatewayDispatchEvents["ChannelCreate"] = "CHANNEL_CREATE"; + GatewayDispatchEvents["ChannelDelete"] = "CHANNEL_DELETE"; + GatewayDispatchEvents["ChannelPinsUpdate"] = "CHANNEL_PINS_UPDATE"; + GatewayDispatchEvents["ChannelUpdate"] = "CHANNEL_UPDATE"; + GatewayDispatchEvents["GuildBanAdd"] = "GUILD_BAN_ADD"; + GatewayDispatchEvents["GuildBanRemove"] = "GUILD_BAN_REMOVE"; + GatewayDispatchEvents["GuildCreate"] = "GUILD_CREATE"; + GatewayDispatchEvents["GuildDelete"] = "GUILD_DELETE"; + GatewayDispatchEvents["GuildEmojisUpdate"] = "GUILD_EMOJIS_UPDATE"; + GatewayDispatchEvents["GuildIntegrationsUpdate"] = "GUILD_INTEGRATIONS_UPDATE"; + GatewayDispatchEvents["GuildMemberAdd"] = "GUILD_MEMBER_ADD"; + GatewayDispatchEvents["GuildMemberRemove"] = "GUILD_MEMBER_REMOVE"; + GatewayDispatchEvents["GuildMembersChunk"] = "GUILD_MEMBERS_CHUNK"; + GatewayDispatchEvents["GuildMemberUpdate"] = "GUILD_MEMBER_UPDATE"; + GatewayDispatchEvents["GuildRoleCreate"] = "GUILD_ROLE_CREATE"; + GatewayDispatchEvents["GuildRoleDelete"] = "GUILD_ROLE_DELETE"; + GatewayDispatchEvents["GuildRoleUpdate"] = "GUILD_ROLE_UPDATE"; + GatewayDispatchEvents["GuildStickersUpdate"] = "GUILD_STICKERS_UPDATE"; + GatewayDispatchEvents["GuildUpdate"] = "GUILD_UPDATE"; + GatewayDispatchEvents["IntegrationCreate"] = "INTEGRATION_CREATE"; + GatewayDispatchEvents["IntegrationDelete"] = "INTEGRATION_DELETE"; + GatewayDispatchEvents["IntegrationUpdate"] = "INTEGRATION_UPDATE"; + GatewayDispatchEvents["InteractionCreate"] = "INTERACTION_CREATE"; + GatewayDispatchEvents["InviteCreate"] = "INVITE_CREATE"; + GatewayDispatchEvents["InviteDelete"] = "INVITE_DELETE"; + GatewayDispatchEvents["MessageCreate"] = "MESSAGE_CREATE"; + GatewayDispatchEvents["MessageDelete"] = "MESSAGE_DELETE"; + GatewayDispatchEvents["MessageDeleteBulk"] = "MESSAGE_DELETE_BULK"; + GatewayDispatchEvents["MessageReactionAdd"] = "MESSAGE_REACTION_ADD"; + GatewayDispatchEvents["MessageReactionRemove"] = "MESSAGE_REACTION_REMOVE"; + GatewayDispatchEvents["MessageReactionRemoveAll"] = "MESSAGE_REACTION_REMOVE_ALL"; + GatewayDispatchEvents["MessageReactionRemoveEmoji"] = "MESSAGE_REACTION_REMOVE_EMOJI"; + GatewayDispatchEvents["MessageUpdate"] = "MESSAGE_UPDATE"; + GatewayDispatchEvents["PresenceUpdate"] = "PRESENCE_UPDATE"; + GatewayDispatchEvents["StageInstanceCreate"] = "STAGE_INSTANCE_CREATE"; + GatewayDispatchEvents["StageInstanceDelete"] = "STAGE_INSTANCE_DELETE"; + GatewayDispatchEvents["StageInstanceUpdate"] = "STAGE_INSTANCE_UPDATE"; + GatewayDispatchEvents["Ready"] = "READY"; + GatewayDispatchEvents["Resumed"] = "RESUMED"; + GatewayDispatchEvents["ThreadCreate"] = "THREAD_CREATE"; + GatewayDispatchEvents["ThreadDelete"] = "THREAD_DELETE"; + GatewayDispatchEvents["ThreadListSync"] = "THREAD_LIST_SYNC"; + GatewayDispatchEvents["ThreadMembersUpdate"] = "THREAD_MEMBERS_UPDATE"; + GatewayDispatchEvents["ThreadMemberUpdate"] = "THREAD_MEMBER_UPDATE"; + GatewayDispatchEvents["ThreadUpdate"] = "THREAD_UPDATE"; + GatewayDispatchEvents["TypingStart"] = "TYPING_START"; + GatewayDispatchEvents["UserUpdate"] = "USER_UPDATE"; + GatewayDispatchEvents["VoiceServerUpdate"] = "VOICE_SERVER_UPDATE"; + GatewayDispatchEvents["VoiceStateUpdate"] = "VOICE_STATE_UPDATE"; + GatewayDispatchEvents["WebhooksUpdate"] = "WEBHOOKS_UPDATE"; + GatewayDispatchEvents["GuildScheduledEventCreate"] = "GUILD_SCHEDULED_EVENT_CREATE"; + GatewayDispatchEvents["GuildScheduledEventUpdate"] = "GUILD_SCHEDULED_EVENT_UPDATE"; + GatewayDispatchEvents["GuildScheduledEventDelete"] = "GUILD_SCHEDULED_EVENT_DELETE"; + GatewayDispatchEvents["GuildScheduledEventUserAdd"] = "GUILD_SCHEDULED_EVENT_USER_ADD"; + GatewayDispatchEvents["GuildScheduledEventUserRemove"] = "GUILD_SCHEDULED_EVENT_USER_REMOVE"; +})(GatewayDispatchEvents = exports.GatewayDispatchEvents || (exports.GatewayDispatchEvents = {})); +// #endregion Shared +//# sourceMappingURL=v10.js.map \ No newline at end of file diff --git a/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v10.js.map b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v10.js.map new file mode 100644 index 0000000..29ffa09 --- /dev/null +++ b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v10.js.map @@ -0,0 +1 @@ +{"version":3,"file":"v10.js","sourceRoot":"","sources":["v10.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;AA+BH,2CAAyB;AAEZ,QAAA,cAAc,GAAG,IAAI,CAAC;AAEnC;;GAEG;AACH,IAAY,cA8CX;AA9CD,WAAY,cAAc;IACzB;;OAEG;IACH,2DAAQ,CAAA;IACR;;;OAGG;IACH,6DAAS,CAAA;IACT;;OAEG;IACH,2DAAQ,CAAA;IACR;;OAEG;IACH,uEAAc,CAAA;IACd;;OAEG;IACH,2EAAgB,CAAA;IAChB;;OAEG;IACH,uDAAU,CAAA;IACV;;OAEG;IACH,6DAAS,CAAA;IACT;;OAEG;IACH,iFAAmB,CAAA;IACnB;;OAEG;IACH,uEAA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BAAqB,QAyDhC;AAmjDD,oBAAoB"} \ No newline at end of file diff --git a/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v10.mjs b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v10.mjs new file mode 100644 index 0000000..0ee554f --- /dev/null +++ b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v10.mjs @@ -0,0 +1,8 @@ +import mod from "./v10.js"; + +export default mod; +export const GatewayCloseCodes = mod.GatewayCloseCodes; +export const GatewayDispatchEvents = mod.GatewayDispatchEvents; +export const GatewayIntentBits = mod.GatewayIntentBits; +export const GatewayOpcodes = mod.GatewayOpcodes; +export const GatewayVersion = mod.GatewayVersion; diff --git a/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v6.d.ts b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v6.d.ts new file mode 100644 index 0000000..13aa6ad --- /dev/null +++ b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v6.d.ts @@ -0,0 +1,608 @@ +/** + * Types extracted from https://discord.com/developers/docs/topics/gateway + */ +import type { APIChannel, APIEmoji, APIGuild, APIGuildMember, APIMessage, APIRole, APIUnavailableGuild, APIUser, GatewayActivity, GatewayPresenceUpdate as RawGatewayPresenceUpdate, GatewayVoiceState, InviteTargetUserType, PresenceUpdateStatus } from '../payloads/v6/index'; +export * from './common'; +/** + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare const GatewayVersion = "6"; +/** + * https://discord.com/developers/docs/topics/opcodes-and-status-codes#gateway-gateway-opcodes + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare enum GatewayOPCodes { + Dispatch = 0, + Heartbeat = 1, + Identify = 2, + PresenceUpdate = 3, + VoiceStateUpdate = 4, + Resume = 6, + Reconnect = 7, + RequestGuildMembers = 8, + InvalidSession = 9, + Hello = 10, + HeartbeatAck = 11 +} +/** + * https://discord.com/developers/docs/topics/opcodes-and-status-codes#gateway-gateway-close-event-codes + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare enum GatewayCloseCodes { + UnknownError = 4000, + UnknownOpCode = 4001, + DecodeError = 4002, + NotAuthenticated = 4003, + AuthenticationFailed = 4004, + AlreadyAuthenticated = 4005, + InvalidSeq = 4007, + RateLimited = 4008, + SessionTimedOut = 4009, + InvalidShard = 4010, + ShardingRequired = 4011, + InvalidAPIVersion = 4012, + InvalidIntents = 4013, + DisallowedIntents = 4014 +} +/** + * https://discord.com/developers/docs/topics/opcodes-and-status-codes#voice-voice-opcodes + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare enum VoiceOPCodes { + Identify = 0, + SelectProtocol = 1, + Ready = 2, + Heartbeat = 3, + SessionDescription = 4, + Speaking = 5, + HeartbeatAck = 6, + Resume = 7, + Hello = 8, + Resumed = 9, + ClientDisconnect = 13 +} +/** + * https://discord.com/developers/docs/topics/opcodes-and-status-codes#voice-voice-close-event-codes + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare enum VoiceCloseCodes { + UnknownOpCode = 4001, + NotAuthenticated = 4003, + AuthenticationFailed = 4004, + AlreadyAuthenticated = 4005, + SessionNoLongerValid = 4006, + SessionTimeout = 4009, + ServerNotFound = 4011, + UnknownProtocol = 4012, + Disconnected = 4014, + VoiceServerCrashed = 4015, + UnknownEncryptionMode = 4016 +} +/** + * https://discord.com/developers/docs/topics/gateway#list-of-intents + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare enum GatewayIntentBits { + GUILDS = 1, + GUILD_MEMBERS = 2, + GUILD_BANS = 4, + GUILD_EMOJIS = 8, + GUILD_INTEGRATIONS = 16, + GUILD_WEBHOOKS = 32, + GUILD_INVITES = 64, + GUILD_VOICE_STATES = 128, + GUILD_PRESENCES = 256, + GUILD_MESSAGES = 512, + GUILD_MESSAGE_REACTIONS = 1024, + GUILD_MESSAGE_TYPING = 2048, + DIRECT_MESSAGES = 4096, + DIRECT_MESSAGE_REACTIONS = 8192, + DIRECT_MESSAGE_TYPING = 16384 +} +/** + * https://discord.com/developers/docs/topics/gateway#commands-and-events-gateway-events + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare enum GatewayDispatchEvents { + Ready = "READY", + Resumed = "RESUMED", + ChannelCreate = "CHANNEL_CREATE", + ChannelUpdate = "CHANNEL_UPDATE", + ChannelDelete = "CHANNEL_DELETE", + ChannelPinsUpdate = "CHANNEL_PINS_UPDATE", + GuildCreate = "GUILD_CREATE", + GuildUpdate = "GUILD_UPDATE", + GuildDelete = "GUILD_DELETE", + GuildBanAdd = "GUILD_BAN_ADD", + GuildBanRemove = "GUILD_BAN_REMOVE", + GuildEmojisUpdate = "GUILD_EMOJIS_UPDATE", + GuildIntegrationsUpdate = "GUILD_INTEGRATIONS_UPDATE", + GuildMemberAdd = "GUILD_MEMBER_ADD", + GuildMemberRemove = "GUILD_MEMBER_REMOVE", + GuildMemberUpdate = "GUILD_MEMBER_UPDATE", + GuildMembersChunk = "GUILD_MEMBERS_CHUNK", + GuildRoleCreate = "GUILD_ROLE_CREATE", + GuildRoleUpdate = "GUILD_ROLE_UPDATE", + GuildRoleDelete = "GUILD_ROLE_DELETE", + InviteCreate = "INVITE_CREATE", + InviteDelete = "INVITE_DELETE", + MessageCreate = "MESSAGE_CREATE", + MessageUpdate = "MESSAGE_UPDATE", + MessageDelete = "MESSAGE_DELETE", + MessageDeleteBulk = "MESSAGE_DELETE_BULK", + MessageReactionAdd = "MESSAGE_REACTION_ADD", + MessageReactionRemove = "MESSAGE_REACTION_REMOVE", + MessageReactionRemoveAll = "MESSAGE_REACTION_REMOVE_ALL", + MessageReactionRemoveEmoji = "MESSAGE_REACTION_REMOVE_EMOJI", + PresenceUpdate = "PRESENCE_UPDATE", + TypingStart = "TYPING_START", + UserUpdate = "USER_UPDATE", + VoiceStateUpdate = "VOICE_STATE_UPDATE", + VoiceServerUpdate = "VOICE_SERVER_UPDATE", + WebhooksUpdate = "WEBHOOKS_UPDATE" +} +/** + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewaySendPayload = GatewayHeartbeat | GatewayIdentify | GatewayUpdatePresence | GatewayVoiceStateUpdate | GatewayResume | GatewayRequestGuildMembers; +/** + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayReceivePayload = GatewayHello | GatewayHeartbeatRequest | GatewayHeartbeatAck | GatewayInvalidSession | GatewayReconnect | GatewayDispatchPayload; +/** + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayDispatchPayload = GatewayReadyDispatch | GatewayResumedDispatch | GatewayChannelModifyDispatch | GatewayChannelPinsUpdateDispatch | GatewayGuildModifyDispatch | GatewayGuildDeleteDispatch | GatewayGuildBanModifyDispatch | GatewayGuildEmojisUpdateDispatch | GatewayGuildIntegrationsUpdateDispatch | GatewayGuildMemberAddDispatch | GatewayGuildMemberRemoveDispatch | GatewayGuildMemberUpdateDispatch | GatewayGuildMembersChunkDispatch | GatewayGuildRoleModifyDispatch | GatewayGuildRoleDeleteDispatch | GatewayInviteCreateDispatch | GatewayInviteDeleteDispatch | GatewayMessageCreateDispatch | GatewayMessageUpdateDispatch | GatewayMessageDeleteDispatch | GatewayMessageDeleteBulkDispatch | GatewayMessageReactionAddDispatch | GatewayMessageReactionRemoveDispatch | GatewayMessageReactionRemoveAllDispatch | GatewayMessageReactionRemoveEmojiDispatch | GatewayPresenceUpdateDispatch | GatewayTypingStartDispatch | GatewayUserUpdateDispatch | GatewayVoiceStateUpdateDispatch | GatewayVoiceServerUpdateDispatch | GatewayWebhooksUpdateDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#hello + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export interface GatewayHello extends NonDispatchPayload { + op: GatewayOPCodes.Hello; + d: { + heartbeat_interval: number; + }; +} +/** + * https://discord.com/developers/docs/topics/gateway#heartbeating + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export interface GatewayHeartbeatRequest extends NonDispatchPayload { + op: GatewayOPCodes.Heartbeat; + d: never; +} +/** + * https://discord.com/developers/docs/topics/gateway#heartbeating-example-gateway-heartbeat-ack + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export interface GatewayHeartbeatAck extends NonDispatchPayload { + op: GatewayOPCodes.HeartbeatAck; + d: never; +} +/** + * https://discord.com/developers/docs/topics/gateway#invalid-session + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export interface GatewayInvalidSession extends NonDispatchPayload { + op: GatewayOPCodes.InvalidSession; + d: boolean; +} +/** + * https://discord.com/developers/docs/topics/gateway#reconnect + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export interface GatewayReconnect extends NonDispatchPayload { + op: GatewayOPCodes.Reconnect; + d: never; +} +/** + * https://discord.com/developers/docs/topics/gateway#ready + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayReadyDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#resumed + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayResumedDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#channel-create + * https://discord.com/developers/docs/topics/gateway#channel-update + * https://discord.com/developers/docs/topics/gateway#channel-delete + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayChannelModifyDispatch = DataPayload; +/** + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayChannelCreateDispatch = GatewayChannelModifyDispatch; +/** + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayChannelUpdateDispatch = GatewayChannelModifyDispatch; +/** + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayChannelDeleteDispatch = GatewayChannelModifyDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#channel-pins-update + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayChannelPinsUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-create + * https://discord.com/developers/docs/topics/gateway#guild-update + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayGuildModifyDispatch = DataPayload; +/** + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayGuildCreateDispatch = GatewayGuildModifyDispatch; +/** + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayGuildUpdateDispatch = GatewayGuildModifyDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#guild-delete + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayGuildDeleteDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-ban-add + * https://discord.com/developers/docs/topics/gateway#guild-ban-remove + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayGuildBanModifyDispatch = DataPayload; +/** + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayGuildBanAddDispatch = GatewayGuildBanModifyDispatch; +/** + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayGuildBanRemoveDispatch = GatewayGuildBanModifyDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#guild-emojis-update + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayGuildEmojisUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-integrations-update + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayGuildIntegrationsUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-member-add + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayGuildMemberAddDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-member-remove + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayGuildMemberRemoveDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-member-update + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayGuildMemberUpdateDispatch = DataPayload & { + guild_id: string; +}>; +/** + * https://discord.com/developers/docs/topics/gateway#guild-members-chunk + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayGuildMembersChunkDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-role-create + * https://discord.com/developers/docs/topics/gateway#guild-role-update + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayGuildRoleModifyDispatch = DataPayload; +/** + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayGuildRoleCreateDispatch = GatewayGuildRoleModifyDispatch; +/** + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayGuildRoleUpdateDispatch = GatewayGuildRoleModifyDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#guild-role-delete + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayGuildRoleDeleteDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#invite-create + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayInviteCreateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#invite-delete + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayInviteDeleteDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#message-create + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayMessageCreateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#message-update + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayMessageUpdateDispatch = DataPayload>; +/** + * https://discord.com/developers/docs/topics/gateway#message-delete + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayMessageDeleteDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#message-delete-bulk + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayMessageDeleteBulkDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#message-reaction-add + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayMessageReactionAddDispatch = ReactionData; +/** + * https://discord.com/developers/docs/topics/gateway#message-reaction-remove + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayMessageReactionRemoveDispatch = ReactionData; +/** + * https://discord.com/developers/docs/topics/gateway#message-reaction-remove-all + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayMessageReactionRemoveAllDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#message-reaction-remove-emoji + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayMessageReactionRemoveEmojiDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#presence-update + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayPresenceUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#typing-start + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayTypingStartDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#user-update + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayUserUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#voice-state-update + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayVoiceStateUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#voice-server-update + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayVoiceServerUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#webhooks-update + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export declare type GatewayWebhooksUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#heartbeating + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export interface GatewayHeartbeat { + op: GatewayOPCodes.Heartbeat; + d: number; +} +/** + * https://discord.com/developers/docs/topics/gateway#identify-identify-connection-properties + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export interface GatewayIdentifyProperties { + $os: string; + $browser: string; + $device: string; +} +/** + * https://discord.com/developers/docs/topics/gateway#identify + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export interface GatewayIdentify { + op: GatewayOPCodes.Identify; + d: { + token: string; + properties: GatewayIdentifyProperties; + compress?: boolean; + large_threshold?: number; + shard?: [shard_id: number, shard_count: number]; + presence?: RawGatewayPresenceUpdate; + guild_subscriptions?: boolean; + intents?: number; + }; +} +/** + * https://discord.com/developers/docs/topics/gateway#resume + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export interface GatewayResume { + op: GatewayOPCodes.Resume; + d: { + token: string; + session_id: string; + seq: number; + }; +} +/** + * https://discord.com/developers/docs/topics/gateway#request-guild-members + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export interface GatewayRequestGuildMembers { + op: GatewayOPCodes.RequestGuildMembers; + d: { + guild_id: string | string[]; + query?: string; + limit: number; + presences?: boolean; + user_ids?: string | string[]; + nonce?: string; + }; +} +/** + * https://discord.com/developers/docs/topics/gateway#update-voice-state + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export interface GatewayVoiceStateUpdate { + op: GatewayOPCodes.VoiceStateUpdate; + d: { + guild_id: string; + channel_id: string | null; + self_mute: boolean; + self_deaf: boolean; + }; +} +/** + * https://discord.com/developers/docs/topics/gateway#update-status + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export interface GatewayUpdatePresence { + op: GatewayOPCodes.PresenceUpdate; + d: GatewayPresenceUpdateData; +} +/** + * https://discord.com/developers/docs/topics/gateway#update-status-gateway-status-update-structure + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +export interface GatewayPresenceUpdateData { + since: number | null; + game: GatewayActivity | null; + status: PresenceUpdateStatus; + afk: boolean; +} +/** + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +interface BasePayload { + op: GatewayOPCodes; + s: number; + d?: unknown; + t?: string; +} +/** + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +declare type NonDispatchPayload = Omit; +/** + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +interface DataPayload extends BasePayload { + op: GatewayOPCodes.Dispatch; + t: Event; + d: D; +} +/** + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +declare type ReactionData = DataPayload>; +/** + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +interface MessageReactionRemoveData { + channel_id: string; + message_id: string; + guild_id?: string; +} +//# sourceMappingURL=v6.d.ts.map \ No newline at end of file diff --git a/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v6.d.ts.map b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v6.d.ts.map new file mode 100644 index 0000000..a7b9755 --- /dev/null +++ b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v6.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"v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C,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,KAAK,EAAE,QAAQ,CAAC;CAChB,EACD,CAAC,CACD,CACD,CAAC;AAEF;;GAEG;AACH,UAAU,yBAAyB;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB"} \ No newline at end of file diff --git a/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v6.js b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v6.js new file mode 100644 index 0000000..764c33a --- /dev/null +++ b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v6.js @@ -0,0 +1,167 @@ +"use strict"; +/** + * Types extracted from https://discord.com/developers/docs/topics/gateway + */ +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GatewayDispatchEvents = exports.GatewayIntentBits = exports.VoiceCloseCodes = exports.VoiceOPCodes = exports.GatewayCloseCodes = exports.GatewayOPCodes = exports.GatewayVersion = void 0; +__exportStar(require("./common"), exports); +/** + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +exports.GatewayVersion = '6'; +/** + * https://discord.com/developers/docs/topics/opcodes-and-status-codes#gateway-gateway-opcodes + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +var GatewayOPCodes; +(function (GatewayOPCodes) { + GatewayOPCodes[GatewayOPCodes["Dispatch"] = 0] = "Dispatch"; + GatewayOPCodes[GatewayOPCodes["Heartbeat"] = 1] = "Heartbeat"; + GatewayOPCodes[GatewayOPCodes["Identify"] = 2] = "Identify"; + GatewayOPCodes[GatewayOPCodes["PresenceUpdate"] = 3] = "PresenceUpdate"; + GatewayOPCodes[GatewayOPCodes["VoiceStateUpdate"] = 4] = "VoiceStateUpdate"; + GatewayOPCodes[GatewayOPCodes["Resume"] = 6] = "Resume"; + GatewayOPCodes[GatewayOPCodes["Reconnect"] = 7] = "Reconnect"; + GatewayOPCodes[GatewayOPCodes["RequestGuildMembers"] = 8] = "RequestGuildMembers"; + GatewayOPCodes[GatewayOPCodes["InvalidSession"] = 9] = "InvalidSession"; + GatewayOPCodes[GatewayOPCodes["Hello"] = 10] = "Hello"; + GatewayOPCodes[GatewayOPCodes["HeartbeatAck"] = 11] = "HeartbeatAck"; +})(GatewayOPCodes = exports.GatewayOPCodes || (exports.GatewayOPCodes = {})); +/** + * https://discord.com/developers/docs/topics/opcodes-and-status-codes#gateway-gateway-close-event-codes + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +var GatewayCloseCodes; +(function (GatewayCloseCodes) { + GatewayCloseCodes[GatewayCloseCodes["UnknownError"] = 4000] = "UnknownError"; + GatewayCloseCodes[GatewayCloseCodes["UnknownOpCode"] = 4001] = "UnknownOpCode"; + GatewayCloseCodes[GatewayCloseCodes["DecodeError"] = 4002] = "DecodeError"; + GatewayCloseCodes[GatewayCloseCodes["NotAuthenticated"] = 4003] = "NotAuthenticated"; + GatewayCloseCodes[GatewayCloseCodes["AuthenticationFailed"] = 4004] = "AuthenticationFailed"; + GatewayCloseCodes[GatewayCloseCodes["AlreadyAuthenticated"] = 4005] = "AlreadyAuthenticated"; + GatewayCloseCodes[GatewayCloseCodes["InvalidSeq"] = 4007] = "InvalidSeq"; + GatewayCloseCodes[GatewayCloseCodes["RateLimited"] = 4008] = "RateLimited"; + GatewayCloseCodes[GatewayCloseCodes["SessionTimedOut"] = 4009] = "SessionTimedOut"; + GatewayCloseCodes[GatewayCloseCodes["InvalidShard"] = 4010] = "InvalidShard"; + GatewayCloseCodes[GatewayCloseCodes["ShardingRequired"] = 4011] = "ShardingRequired"; + GatewayCloseCodes[GatewayCloseCodes["InvalidAPIVersion"] = 4012] = "InvalidAPIVersion"; + GatewayCloseCodes[GatewayCloseCodes["InvalidIntents"] = 4013] = "InvalidIntents"; + GatewayCloseCodes[GatewayCloseCodes["DisallowedIntents"] = 4014] = "DisallowedIntents"; +})(GatewayCloseCodes = exports.GatewayCloseCodes || (exports.GatewayCloseCodes = {})); +/** + * https://discord.com/developers/docs/topics/opcodes-and-status-codes#voice-voice-opcodes + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +var VoiceOPCodes; +(function (VoiceOPCodes) { + VoiceOPCodes[VoiceOPCodes["Identify"] = 0] = "Identify"; + VoiceOPCodes[VoiceOPCodes["SelectProtocol"] = 1] = "SelectProtocol"; + VoiceOPCodes[VoiceOPCodes["Ready"] = 2] = "Ready"; + VoiceOPCodes[VoiceOPCodes["Heartbeat"] = 3] = "Heartbeat"; + VoiceOPCodes[VoiceOPCodes["SessionDescription"] = 4] = "SessionDescription"; + VoiceOPCodes[VoiceOPCodes["Speaking"] = 5] = "Speaking"; + VoiceOPCodes[VoiceOPCodes["HeartbeatAck"] = 6] = "HeartbeatAck"; + VoiceOPCodes[VoiceOPCodes["Resume"] = 7] = "Resume"; + VoiceOPCodes[VoiceOPCodes["Hello"] = 8] = "Hello"; + VoiceOPCodes[VoiceOPCodes["Resumed"] = 9] = "Resumed"; + VoiceOPCodes[VoiceOPCodes["ClientDisconnect"] = 13] = "ClientDisconnect"; +})(VoiceOPCodes = exports.VoiceOPCodes || (exports.VoiceOPCodes = {})); +/** + * https://discord.com/developers/docs/topics/opcodes-and-status-codes#voice-voice-close-event-codes + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +var VoiceCloseCodes; +(function (VoiceCloseCodes) { + VoiceCloseCodes[VoiceCloseCodes["UnknownOpCode"] = 4001] = "UnknownOpCode"; + VoiceCloseCodes[VoiceCloseCodes["NotAuthenticated"] = 4003] = "NotAuthenticated"; + VoiceCloseCodes[VoiceCloseCodes["AuthenticationFailed"] = 4004] = "AuthenticationFailed"; + VoiceCloseCodes[VoiceCloseCodes["AlreadyAuthenticated"] = 4005] = "AlreadyAuthenticated"; + VoiceCloseCodes[VoiceCloseCodes["SessionNoLongerValid"] = 4006] = "SessionNoLongerValid"; + VoiceCloseCodes[VoiceCloseCodes["SessionTimeout"] = 4009] = "SessionTimeout"; + VoiceCloseCodes[VoiceCloseCodes["ServerNotFound"] = 4011] = "ServerNotFound"; + VoiceCloseCodes[VoiceCloseCodes["UnknownProtocol"] = 4012] = "UnknownProtocol"; + VoiceCloseCodes[VoiceCloseCodes["Disconnected"] = 4014] = "Disconnected"; + VoiceCloseCodes[VoiceCloseCodes["VoiceServerCrashed"] = 4015] = "VoiceServerCrashed"; + VoiceCloseCodes[VoiceCloseCodes["UnknownEncryptionMode"] = 4016] = "UnknownEncryptionMode"; +})(VoiceCloseCodes = exports.VoiceCloseCodes || (exports.VoiceCloseCodes = {})); +/** + * https://discord.com/developers/docs/topics/gateway#list-of-intents + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +var GatewayIntentBits; +(function (GatewayIntentBits) { + GatewayIntentBits[GatewayIntentBits["GUILDS"] = 1] = "GUILDS"; + GatewayIntentBits[GatewayIntentBits["GUILD_MEMBERS"] = 2] = "GUILD_MEMBERS"; + GatewayIntentBits[GatewayIntentBits["GUILD_BANS"] = 4] = "GUILD_BANS"; + GatewayIntentBits[GatewayIntentBits["GUILD_EMOJIS"] = 8] = "GUILD_EMOJIS"; + GatewayIntentBits[GatewayIntentBits["GUILD_INTEGRATIONS"] = 16] = "GUILD_INTEGRATIONS"; + GatewayIntentBits[GatewayIntentBits["GUILD_WEBHOOKS"] = 32] = "GUILD_WEBHOOKS"; + GatewayIntentBits[GatewayIntentBits["GUILD_INVITES"] = 64] = "GUILD_INVITES"; + GatewayIntentBits[GatewayIntentBits["GUILD_VOICE_STATES"] = 128] = "GUILD_VOICE_STATES"; + GatewayIntentBits[GatewayIntentBits["GUILD_PRESENCES"] = 256] = "GUILD_PRESENCES"; + GatewayIntentBits[GatewayIntentBits["GUILD_MESSAGES"] = 512] = "GUILD_MESSAGES"; + GatewayIntentBits[GatewayIntentBits["GUILD_MESSAGE_REACTIONS"] = 1024] = "GUILD_MESSAGE_REACTIONS"; + GatewayIntentBits[GatewayIntentBits["GUILD_MESSAGE_TYPING"] = 2048] = "GUILD_MESSAGE_TYPING"; + GatewayIntentBits[GatewayIntentBits["DIRECT_MESSAGES"] = 4096] = "DIRECT_MESSAGES"; + GatewayIntentBits[GatewayIntentBits["DIRECT_MESSAGE_REACTIONS"] = 8192] = "DIRECT_MESSAGE_REACTIONS"; + GatewayIntentBits[GatewayIntentBits["DIRECT_MESSAGE_TYPING"] = 16384] = "DIRECT_MESSAGE_TYPING"; +})(GatewayIntentBits = exports.GatewayIntentBits || (exports.GatewayIntentBits = {})); +/** + * https://discord.com/developers/docs/topics/gateway#commands-and-events-gateway-events + * @deprecated Gateway v6 is deprecated and the types will not receive further updates, please update to v8. + */ +var GatewayDispatchEvents; +(function (GatewayDispatchEvents) { + GatewayDispatchEvents["Ready"] = "READY"; + GatewayDispatchEvents["Resumed"] = "RESUMED"; + GatewayDispatchEvents["ChannelCreate"] = "CHANNEL_CREATE"; + GatewayDispatchEvents["ChannelUpdate"] = "CHANNEL_UPDATE"; + GatewayDispatchEvents["ChannelDelete"] = "CHANNEL_DELETE"; + GatewayDispatchEvents["ChannelPinsUpdate"] = "CHANNEL_PINS_UPDATE"; + GatewayDispatchEvents["GuildCreate"] = "GUILD_CREATE"; + GatewayDispatchEvents["GuildUpdate"] = "GUILD_UPDATE"; + GatewayDispatchEvents["GuildDelete"] = "GUILD_DELETE"; + GatewayDispatchEvents["GuildBanAdd"] = "GUILD_BAN_ADD"; + GatewayDispatchEvents["GuildBanRemove"] = "GUILD_BAN_REMOVE"; + GatewayDispatchEvents["GuildEmojisUpdate"] = "GUILD_EMOJIS_UPDATE"; + GatewayDispatchEvents["GuildIntegrationsUpdate"] = "GUILD_INTEGRATIONS_UPDATE"; + GatewayDispatchEvents["GuildMemberAdd"] = "GUILD_MEMBER_ADD"; + GatewayDispatchEvents["GuildMemberRemove"] = "GUILD_MEMBER_REMOVE"; + GatewayDispatchEvents["GuildMemberUpdate"] = "GUILD_MEMBER_UPDATE"; + GatewayDispatchEvents["GuildMembersChunk"] = "GUILD_MEMBERS_CHUNK"; + GatewayDispatchEvents["GuildRoleCreate"] = "GUILD_ROLE_CREATE"; + GatewayDispatchEvents["GuildRoleUpdate"] = "GUILD_ROLE_UPDATE"; + GatewayDispatchEvents["GuildRoleDelete"] = "GUILD_ROLE_DELETE"; + GatewayDispatchEvents["InviteCreate"] = "INVITE_CREATE"; + GatewayDispatchEvents["InviteDelete"] = "INVITE_DELETE"; + GatewayDispatchEvents["MessageCreate"] = "MESSAGE_CREATE"; + GatewayDispatchEvents["MessageUpdate"] = "MESSAGE_UPDATE"; + GatewayDispatchEvents["MessageDelete"] = "MESSAGE_DELETE"; + GatewayDispatchEvents["MessageDeleteBulk"] = "MESSAGE_DELETE_BULK"; + GatewayDispatchEvents["MessageReactionAdd"] = "MESSAGE_REACTION_ADD"; + GatewayDispatchEvents["MessageReactionRemove"] = "MESSAGE_REACTION_REMOVE"; + GatewayDispatchEvents["MessageReactionRemoveAll"] = "MESSAGE_REACTION_REMOVE_ALL"; + GatewayDispatchEvents["MessageReactionRemoveEmoji"] = "MESSAGE_REACTION_REMOVE_EMOJI"; + GatewayDispatchEvents["PresenceUpdate"] = "PRESENCE_UPDATE"; + GatewayDispatchEvents["TypingStart"] = "TYPING_START"; + GatewayDispatchEvents["UserUpdate"] = "USER_UPDATE"; + GatewayDispatchEvents["VoiceStateUpdate"] = "VOICE_STATE_UPDATE"; + GatewayDispatchEvents["VoiceServerUpdate"] = "VOICE_SERVER_UPDATE"; + GatewayDispatchEvents["WebhooksUpdate"] = "WEBHOOKS_UPDATE"; +})(GatewayDispatchEvents = exports.GatewayDispatchEvents || (exports.GatewayDispatchEvents = {})); +// #endregion Shared +//# sourceMappingURL=v6.js.map \ No newline at end of file diff --git a/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v6.js.map b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v6.js.map new file mode 100644 index 0000000..71f63a7 --- /dev/null +++ b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v6.js.map @@ -0,0 +1 @@ +{"version":3,"file":"v6.js","sourceRoot":"","sources":["v6.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;AAkBH,2CAAyB;AAEzB;;GAEG;AACU,QAAA,cAAc,GAAG,GAAG,CAAC;AAElC;;;GAGG;AACH,IAAY,cAaX;AAbD,WAAY,cAAc;IACzB,2DAAQ,CAAA;IACR,6DAAS,CAAA;IACT,2DAAQ,CAAA;IACR,uEAAc,CAAA;IACd,2EAAgB,CAAA;IAEhB,uDAAU,CAAA;IACV,6DAAS,CAAA;IACT,iFAAmB,CAAA;IACnB,uEAAc,CAAA;IACd,sDAAK,CAAA;IACL,oEAAY,CAAA;AACb,CAAC,EAbW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAazB;AAED;;;GAGG;AACH,IAAY,iBAgBX;AAhBD,WAAY,iBAAiB;IAC5B,4EAAmB,CAAA;IACnB,8EAAa,CAAA;IACb,0EAAW,CAAA;IACX,oFAAgB,CAAA;IAChB,4FAAoB,CAAA;IACpB,4FAAoB,CAAA;IAEpB,wEAAiB,CAAA;IACjB,0EAAW,CAAA;IACX,kFAAe,CAAA;IACf,4EAAY,CAAA;IACZ,oFAAgB,CAAA;IAChB,sFAAiB,CAAA;IACjB,gFAAc,CAAA;IACd,sFAAiB,CAAA;AAClB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CAAA;IACnB,yDAAgC,CAAA;IAChC,yDAAgC,CAAA;IAChC,yDAAgC,CAAA;IAChC,kEAAyC,CAAA;IACzC,qDAA4B,CAAA;IAC5B,qDAA4B,CAAA;IAC5B,qDAA4B,CAAA;IAC5B,sDAA6B,CAAA;IAC7B,4DAAmC,CAAA;IACnC,kEAAyC,CAAA;IACzC,8EAAqD,CAAA;IACrD,4DAAmC,CAAA;IACnC,kEAAyC,CAAA;IACzC,kEAAyC,CAAA;IACzC,kEAAyC,CAAA;IACzC,8DAAqC,CAAA;IACrC,8DAAqC,CAAA;IACrC,8DAAqC,CAAA;IACrC,uDAA8B,CAAA;IAC9B,uDAA8B,CAAA;IAC9B,yDAAgC,CAAA;IAChC,yDAAgC,CAAA;IAChC,yDAAgC,CAAA;IAChC,kEAAyC,CAAA;IACzC,oEAA2C,CAAA;IAC3C,0EAAiD,CAAA;IACjD,iFAAwD,CAAA;IACxD,qFAA4D,CAAA;IAC5D,2DAAkC,CAAA;IAClC,qDAA4B,CAAA;IAC5B,mDAA0B,CAAA;IAC1B,gEAAuC,CAAA;IACvC,kEAAyC,CAAA;IACzC,2DAAkC,CAAA;AACnC,CAAC,EArCW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAqChC;AAuoBD,oBAAoB"} \ No newline at end of file diff --git a/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v6.mjs b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v6.mjs new file mode 100644 index 0000000..848edfc --- /dev/null +++ b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v6.mjs @@ -0,0 +1,10 @@ +import mod from "./v6.js"; + +export default mod; +export const GatewayCloseCodes = mod.GatewayCloseCodes; +export const GatewayDispatchEvents = mod.GatewayDispatchEvents; +export const GatewayIntentBits = mod.GatewayIntentBits; +export const GatewayOPCodes = mod.GatewayOPCodes; +export const GatewayVersion = mod.GatewayVersion; +export const VoiceCloseCodes = mod.VoiceCloseCodes; +export const VoiceOPCodes = mod.VoiceOPCodes; diff --git a/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v8.d.ts b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v8.d.ts new file mode 100644 index 0000000..24608ea --- /dev/null +++ b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v8.d.ts @@ -0,0 +1,1455 @@ +/** + * Types extracted from https://discord.com/developers/docs/topics/gateway + */ +import type { Snowflake } from '../globals'; +import type { APIApplication, APIChannel, APIEmoji, APIGuild, APIGuildIntegration, APIGuildMember, APIGuildScheduledEvent, APIInteraction, APIMessage, APIRole, APIStageInstance, APISticker, APIUnavailableGuild, APIUser, GatewayActivity, GatewayPresenceUpdate as RawGatewayPresenceUpdate, GatewayVoiceState, InviteTargetType, PresenceUpdateStatus } from '../payloads/v8/index'; +import type { Nullable } from '../utils/internals'; +export * from './common'; +/** + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare const GatewayVersion = "8"; +/** + * https://discord.com/developers/docs/topics/opcodes-and-status-codes#gateway-gateway-opcodes + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare enum GatewayOpcodes { + /** + * An event was dispatched + */ + Dispatch = 0, + /** + * A bidirectional opcode to maintain an active gateway connection. + * Fired periodically by the client, or fired by the gateway to request an immediate heartbeat from the client. + */ + Heartbeat = 1, + /** + * Starts a new session during the initial handshake + */ + Identify = 2, + /** + * Update the client's presence + */ + PresenceUpdate = 3, + /** + * Used to join/leave or move between voice channels + */ + VoiceStateUpdate = 4, + /** + * Resume a previous session that was disconnected + */ + Resume = 6, + /** + * You should attempt to reconnect and resume immediately + */ + Reconnect = 7, + /** + * Request information about offline guild members in a large guild + */ + RequestGuildMembers = 8, + /** + * The session has been invalidated. You should reconnect and identify/resume accordingly + */ + InvalidSession = 9, + /** + * Sent immediately after connecting, contains the `heartbeat_interval` to use + */ + Hello = 10, + /** + * Sent in response to receiving a heartbeat to acknowledge that it has been received + */ + HeartbeatAck = 11 +} +/** + * https://discord.com/developers/docs/topics/opcodes-and-status-codes#gateway-gateway-close-event-codes + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare enum GatewayCloseCodes { + /** + * We're not sure what went wrong. Try reconnecting? + */ + UnknownError = 4000, + /** + * You sent an invalid Gateway opcode or an invalid payload for an opcode. Don't do that! + * + * See https://discord.com/developers/docs/topics/gateway#payloads-and-opcodes + */ + UnknownOpcode = 4001, + /** + * You sent an invalid payload to us. Don't do that! + * + * See https://discord.com/developers/docs/topics/gateway#sending-payloads + */ + DecodeError = 4002, + /** + * You sent us a payload prior to identifying + * + * See https://discord.com/developers/docs/topics/gateway#identify + */ + NotAuthenticated = 4003, + /** + * The account token sent with your identify payload is incorrect + * + * See https://discord.com/developers/docs/topics/gateway#identify + */ + AuthenticationFailed = 4004, + /** + * You sent more than one identify payload. Don't do that! + */ + AlreadyAuthenticated = 4005, + /** + * The sequence sent when resuming the session was invalid. Reconnect and start a new session + * + * See https://discord.com/developers/docs/topics/gateway#resume + */ + InvalidSeq = 4007, + /** + * Woah nelly! You're sending payloads to us too quickly. Slow it down! You will be disconnected on receiving this + */ + RateLimited = 4008, + /** + * Your session timed out. Reconnect and start a new one + */ + SessionTimedOut = 4009, + /** + * You sent us an invalid shard when identifying + * + * See https://discord.com/developers/docs/topics/gateway#sharding + */ + InvalidShard = 4010, + /** + * The session would have handled too many guilds - you are required to shard your connection in order to connect + * + * See https://discord.com/developers/docs/topics/gateway#sharding + */ + ShardingRequired = 4011, + /** + * You sent an invalid version for the gateway + */ + InvalidAPIVersion = 4012, + /** + * You sent an invalid intent for a Gateway Intent. You may have incorrectly calculated the bitwise value + * + * See https://discord.com/developers/docs/topics/gateway#gateway-intents + */ + InvalidIntents = 4013, + /** + * You sent a disallowed intent for a Gateway Intent. You may have tried to specify an intent that you have not + * enabled or are not whitelisted for + * + * See https://discord.com/developers/docs/topics/gateway#gateway-intents + * + * See https://discord.com/developers/docs/topics/gateway#privileged-intents + */ + DisallowedIntents = 4014 +} +/** + * https://discord.com/developers/docs/topics/gateway#list-of-intents + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare enum GatewayIntentBits { + Guilds = 1, + GuildMembers = 2, + GuildBans = 4, + GuildEmojisAndStickers = 8, + GuildIntegrations = 16, + GuildWebhooks = 32, + GuildInvites = 64, + GuildVoiceStates = 128, + GuildPresences = 256, + GuildMessages = 512, + GuildMessageReactions = 1024, + GuildMessageTyping = 2048, + DirectMessages = 4096, + DirectMessageReactions = 8192, + DirectMessageTyping = 16384, + GuildScheduledEvents = 65536 +} +/** + * https://discord.com/developers/docs/topics/gateway#commands-and-events-gateway-events + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare enum GatewayDispatchEvents { + ChannelCreate = "CHANNEL_CREATE", + ChannelDelete = "CHANNEL_DELETE", + ChannelPinsUpdate = "CHANNEL_PINS_UPDATE", + ChannelUpdate = "CHANNEL_UPDATE", + GuildBanAdd = "GUILD_BAN_ADD", + GuildBanRemove = "GUILD_BAN_REMOVE", + GuildCreate = "GUILD_CREATE", + GuildDelete = "GUILD_DELETE", + GuildEmojisUpdate = "GUILD_EMOJIS_UPDATE", + GuildIntegrationsUpdate = "GUILD_INTEGRATIONS_UPDATE", + GuildMemberAdd = "GUILD_MEMBER_ADD", + GuildMemberRemove = "GUILD_MEMBER_REMOVE", + GuildMembersChunk = "GUILD_MEMBERS_CHUNK", + GuildMemberUpdate = "GUILD_MEMBER_UPDATE", + GuildRoleCreate = "GUILD_ROLE_CREATE", + GuildRoleDelete = "GUILD_ROLE_DELETE", + GuildRoleUpdate = "GUILD_ROLE_UPDATE", + GuildStickersUpdate = "GUILD_STICKERS_UPDATE", + GuildUpdate = "GUILD_UPDATE", + IntegrationCreate = "INTEGRATION_CREATE", + IntegrationDelete = "INTEGRATION_DELETE", + IntegrationUpdate = "INTEGRATION_UPDATE", + InteractionCreate = "INTERACTION_CREATE", + InviteCreate = "INVITE_CREATE", + InviteDelete = "INVITE_DELETE", + MessageCreate = "MESSAGE_CREATE", + MessageDelete = "MESSAGE_DELETE", + MessageDeleteBulk = "MESSAGE_DELETE_BULK", + MessageReactionAdd = "MESSAGE_REACTION_ADD", + MessageReactionRemove = "MESSAGE_REACTION_REMOVE", + MessageReactionRemoveAll = "MESSAGE_REACTION_REMOVE_ALL", + MessageReactionRemoveEmoji = "MESSAGE_REACTION_REMOVE_EMOJI", + MessageUpdate = "MESSAGE_UPDATE", + PresenceUpdate = "PRESENCE_UPDATE", + StageInstanceCreate = "STAGE_INSTANCE_CREATE", + StageInstanceDelete = "STAGE_INSTANCE_DELETE", + StageInstanceUpdate = "STAGE_INSTANCE_UPDATE", + Ready = "READY", + Resumed = "RESUMED", + TypingStart = "TYPING_START", + UserUpdate = "USER_UPDATE", + VoiceServerUpdate = "VOICE_SERVER_UPDATE", + VoiceStateUpdate = "VOICE_STATE_UPDATE", + WebhooksUpdate = "WEBHOOKS_UPDATE", + GuildScheduledEventCreate = "GUILD_SCHEDULED_EVENT_CREATE", + GuildScheduledEventUpdate = "GUILD_SCHEDULED_EVENT_UPDATE", + GuildScheduledEventDelete = "GUILD_SCHEDULED_EVENT_DELETE", + GuildScheduledEventUserAdd = "GUILD_SCHEDULED_EVENT_USER_ADD", + GuildScheduledEventUserRemove = "GUILD_SCHEDULED_EVENT_USER_REMOVE" +} +/** + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewaySendPayload = GatewayHeartbeat | GatewayIdentify | GatewayUpdatePresence | GatewayVoiceStateUpdate | GatewayResume | GatewayRequestGuildMembers; +/** + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayReceivePayload = GatewayHello | GatewayHeartbeatRequest | GatewayHeartbeatAck | GatewayInvalidSession | GatewayReconnect | GatewayDispatchPayload; +/** + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayDispatchPayload = GatewayChannelModifyDispatch | GatewayChannelPinsUpdateDispatch | GatewayGuildBanModifyDispatch | GatewayGuildDeleteDispatch | GatewayGuildEmojisUpdateDispatch | GatewayGuildIntegrationsUpdateDispatch | GatewayGuildMemberAddDispatch | GatewayGuildMemberRemoveDispatch | GatewayGuildMembersChunkDispatch | GatewayGuildMemberUpdateDispatch | GatewayGuildModifyDispatch | GatewayGuildRoleDeleteDispatch | GatewayGuildRoleModifyDispatch | GatewayGuildScheduledEventCreateDispatch | GatewayGuildScheduledEventUpdateDispatch | GatewayGuildScheduledEventDeleteDispatch | GatewayGuildScheduledEventUserAddDispatch | GatewayGuildScheduledEventUserRemoveDispatch | GatewayGuildStickersUpdateDispatch | GatewayIntegrationCreateDispatch | GatewayIntegrationDeleteDispatch | GatewayIntegrationUpdateDispatch | GatewayInteractionCreateDispatch | GatewayInviteCreateDispatch | GatewayInviteDeleteDispatch | GatewayMessageCreateDispatch | GatewayMessageDeleteBulkDispatch | GatewayMessageDeleteDispatch | GatewayMessageReactionAddDispatch | GatewayMessageReactionRemoveAllDispatch | GatewayMessageReactionRemoveDispatch | GatewayMessageReactionRemoveEmojiDispatch | GatewayMessageUpdateDispatch | GatewayPresenceUpdateDispatch | GatewayStageInstanceCreateDispatch | GatewayStageInstanceDeleteDispatch | GatewayStageInstanceUpdateDispatch | GatewayReadyDispatch | GatewayResumedDispatch | GatewayTypingStartDispatch | GatewayUserUpdateDispatch | GatewayVoiceServerUpdateDispatch | GatewayVoiceStateUpdateDispatch | GatewayWebhooksUpdateDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#hello + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayHello extends NonDispatchPayload { + op: GatewayOpcodes.Hello; + d: GatewayHelloData; +} +/** + * https://discord.com/developers/docs/topics/gateway#hello + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayHelloData { + /** + * The interval (in milliseconds) the client should heartbeat with + */ + heartbeat_interval: number; +} +/** + * https://discord.com/developers/docs/topics/gateway#heartbeating + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayHeartbeatRequest extends NonDispatchPayload { + op: GatewayOpcodes.Heartbeat; + d: never; +} +/** + * https://discord.com/developers/docs/topics/gateway#heartbeating-example-gateway-heartbeat-ack + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayHeartbeatAck extends NonDispatchPayload { + op: GatewayOpcodes.HeartbeatAck; + d: never; +} +/** + * https://discord.com/developers/docs/topics/gateway#invalid-session + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayInvalidSession extends NonDispatchPayload { + op: GatewayOpcodes.InvalidSession; + d: GatewayInvalidSessionData; +} +/** + * https://discord.com/developers/docs/topics/gateway#invalid-session + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayInvalidSessionData = boolean; +/** + * https://discord.com/developers/docs/topics/gateway#reconnect + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayReconnect extends NonDispatchPayload { + op: GatewayOpcodes.Reconnect; + d: never; +} +/** + * https://discord.com/developers/docs/topics/gateway#ready + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayReadyDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#ready + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayReadyDispatchData { + /** + * Gateway version + * + * See https://discord.com/developers/docs/topics/gateway#gateways-gateway-versions + */ + v: number; + /** + * Information about the user including email + * + * See https://discord.com/developers/docs/resources/user#user-object + */ + user: APIUser; + /** + * The guilds the user is in + * + * See https://discord.com/developers/docs/resources/guild#unavailable-guild-object + */ + guilds: APIUnavailableGuild[]; + /** + * Used for resuming connections + */ + session_id: string; + /** + * The shard information associated with this session, if sent when identifying + * + * See https://discord.com/developers/docs/topics/gateway#sharding + */ + shard?: [shard_id: number, shard_count: number]; + /** + * Contains `id` and `flags` + * + * See https://discord.com/developers/docs/resources/application#application-object + */ + application: Pick; +} +/** + * https://discord.com/developers/docs/topics/gateway#resumed + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayResumedDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#channel-create + * https://discord.com/developers/docs/topics/gateway#channel-update + * https://discord.com/developers/docs/topics/gateway#channel-delete + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayChannelModifyDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#channel-create + * https://discord.com/developers/docs/topics/gateway#channel-update + * https://discord.com/developers/docs/topics/gateway#channel-delete + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayChannelModifyDispatchData = APIChannel; +/** + * https://discord.com/developers/docs/topics/gateway#channel-create + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayChannelCreateDispatch = GatewayChannelModifyDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#channel-create + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayChannelCreateDispatchData = GatewayChannelModifyDispatchData; +/** + * https://discord.com/developers/docs/topics/gateway#channel-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayChannelUpdateDispatch = GatewayChannelModifyDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#channel-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayChannelUpdateDispatchData = GatewayChannelModifyDispatchData; +/** + * https://discord.com/developers/docs/topics/gateway#channel-delete + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayChannelDeleteDispatch = GatewayChannelModifyDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#channel-delete + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayChannelDeleteDispatchData = GatewayChannelModifyDispatchData; +/** + * https://discord.com/developers/docs/topics/gateway#channel-pins-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayChannelPinsUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#channel-pins-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayChannelPinsUpdateDispatchData { + /** + * The id of the guild + */ + guild_id?: Snowflake; + /** + * The id of the channel + */ + channel_id: Snowflake; + /** + * The time at which the most recent pinned message was pinned + */ + last_pin_timestamp?: string | null; +} +/** + * https://discord.com/developers/docs/topics/gateway#guild-create + * https://discord.com/developers/docs/topics/gateway#guild-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayGuildModifyDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-create + * https://discord.com/developers/docs/topics/gateway#guild-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayGuildModifyDispatchData = APIGuild; +/** + * https://discord.com/developers/docs/topics/gateway#guild-create + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayGuildCreateDispatch = GatewayGuildModifyDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#guild-create + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayGuildCreateDispatchData = GatewayGuildModifyDispatchData; +/** + * https://discord.com/developers/docs/topics/gateway#guild-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayGuildUpdateDispatch = GatewayGuildModifyDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#guild-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayGuildUpdateDispatchData = GatewayGuildModifyDispatchData; +/** + * https://discord.com/developers/docs/topics/gateway#guild-delete + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayGuildDeleteDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-delete + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayGuildDeleteDispatchData = APIUnavailableGuild; +/** + * https://discord.com/developers/docs/topics/gateway#guild-ban-add + * https://discord.com/developers/docs/topics/gateway#guild-ban-remove + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayGuildBanModifyDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-ban-add + * https://discord.com/developers/docs/topics/gateway#guild-ban-remove + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayGuildBanModifyDispatchData { + /** + * ID of the guild + */ + guild_id: Snowflake; + /** + * The banned user + * + * See https://discord.com/developers/docs/resources/user#user-object + */ + user: APIUser; +} +/** + * https://discord.com/developers/docs/topics/gateway#guild-ban-add + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayGuildBanAddDispatch = GatewayGuildBanModifyDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#guild-ban-add + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayGuildBanAddDispatchData = GatewayGuildBanModifyDispatchData; +/** + * https://discord.com/developers/docs/topics/gateway#guild-ban-remove + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayGuildBanRemoveDispatch = GatewayGuildBanModifyDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#guild-ban-remove + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayGuildBanRemoveDispatchData = GatewayGuildBanModifyDispatchData; +/** + * https://discord.com/developers/docs/topics/gateway#guild-emojis-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayGuildEmojisUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-emojis-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayGuildEmojisUpdateDispatchData { + /** + * ID of the guild + */ + guild_id: Snowflake; + /** + * Array of emojis + * + * See https://discord.com/developers/docs/resources/emoji#emoji-object + */ + emojis: APIEmoji[]; +} +/** + * https://discord.com/developers/docs/topics/gateway#guild-stickers-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayGuildStickersUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-stickers-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayGuildStickersUpdateDispatchData { + /** + * ID of the guild + */ + guild_id: Snowflake; + /** + * Array of stickers + * + * See https://discord.com/developers/docs/resources/sticker#sticker-object + */ + stickers: APISticker[]; +} +/** + * https://discord.com/developers/docs/topics/gateway#guild-integrations-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayGuildIntegrationsUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-integrations-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayGuildIntegrationsUpdateDispatchData { + /** + * ID of the guild whose integrations were updated + */ + guild_id: Snowflake; +} +/** + * https://discord.com/developers/docs/topics/gateway#guild-member-add + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayGuildMemberAddDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-member-add + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayGuildMemberAddDispatchData extends APIGuildMember { + /** + * The id of the guild + */ + guild_id: Snowflake; +} +/** + * https://discord.com/developers/docs/topics/gateway#guild-member-remove + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayGuildMemberRemoveDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-member-remove + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayGuildMemberRemoveDispatchData { + /** + * The id of the guild + */ + guild_id: Snowflake; + /** + * The user who was removed + * + * See https://discord.com/developers/docs/resources/user#user-object + */ + user: APIUser; +} +/** + * https://discord.com/developers/docs/topics/gateway#guild-member-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayGuildMemberUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-member-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayGuildMemberUpdateDispatchData = Omit & Partial> & Required> & Nullable> & { + /** + * The id of the guild + */ + guild_id: Snowflake; +}; +/** + * https://discord.com/developers/docs/topics/gateway#guild-members-chunk + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayGuildMembersChunkDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-members-chunk + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayGuildMembersChunkDispatchData { + /** + * The id of the guild + */ + guild_id: Snowflake; + /** + * Set of guild members + * + * See https://discord.com/developers/docs/resources/guild#guild-member-object + */ + members: APIGuildMember[]; + /** + * The chunk index in the expected chunks for this response (`0 <= chunk_index < chunk_count`) + */ + chunk_index?: number; + /** + * The total number of expected chunks for this response + */ + chunk_count?: number; + /** + * If passing an invalid id to `REQUEST_GUILD_MEMBERS`, it will be returned here + */ + not_found?: unknown[]; + /** + * If passing true to `REQUEST_GUILD_MEMBERS`, presences of the returned members will be here + * + * See https://discord.com/developers/docs/topics/gateway#presence + */ + presences?: RawGatewayPresenceUpdate[]; + /** + * The nonce used in the Guild Members Request + * + * See https://discord.com/developers/docs/topics/gateway#request-guild-members + */ + nonce?: string; +} +/** + * https://discord.com/developers/docs/topics/gateway#guild-role-create + * https://discord.com/developers/docs/topics/gateway#guild-role-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayGuildRoleModifyDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-role-create + * https://discord.com/developers/docs/topics/gateway#guild-role-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayGuildRoleModifyDispatchData { + /** + * The id of the guild + */ + guild_id: Snowflake; + /** + * The role created or updated + * + * See https://discord.com/developers/docs/topics/permissions#role-object + */ + role: APIRole; +} +/** + * https://discord.com/developers/docs/topics/gateway#guild-role-create + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayGuildRoleCreateDispatch = GatewayGuildRoleModifyDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#guild-role-create + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayGuildRoleCreateDispatchData = GatewayGuildRoleModifyDispatchData; +/** + * https://discord.com/developers/docs/topics/gateway#guild-role-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayGuildRoleUpdateDispatch = GatewayGuildRoleModifyDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#guild-role-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayGuildRoleUpdateDispatchData = GatewayGuildRoleModifyDispatchData; +/** + * https://discord.com/developers/docs/topics/gateway#guild-role-delete + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayGuildRoleDeleteDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-role-delete + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayGuildRoleDeleteDispatchData { + /** + * The id of the guild + */ + guild_id: Snowflake; + /** + * The id of the role + */ + role_id: Snowflake; +} +/** + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayGuildScheduledEventCreateDispatch = DataPayload; +/** + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayGuildScheduledEventCreateDispatchData = APIGuildScheduledEvent; +/** + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayGuildScheduledEventUpdateDispatch = DataPayload; +/** + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayGuildScheduledEventUpdateDispatchData = APIGuildScheduledEvent; +/** + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayGuildScheduledEventDeleteDispatch = DataPayload; +/** + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayGuildScheduledEventDeleteDispatchData = APIGuildScheduledEvent; +/** + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayGuildScheduledEventUserAddDispatch = DataPayload; +/** + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayGuildScheduledEventUserAddDispatchData { + guild_scheduled_event_id: Snowflake; + user_id: Snowflake; + guild_id: Snowflake; +} +/** + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayGuildScheduledEventUserRemoveDispatch = DataPayload; +/** + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayGuildScheduledEventUserRemoveDispatchData { + guild_scheduled_event_id: Snowflake; + user_id: Snowflake; + guild_id: Snowflake; +} +/** + * https://discord.com/developers/docs/topics/gateway#integration-create + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayIntegrationCreateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#integration-create + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayIntegrationCreateDispatchData = APIGuildIntegration & { + guild_id: Snowflake; +}; +/** + * https://discord.com/developers/docs/topics/gateway#integration-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayIntegrationUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#integration-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayIntegrationUpdateDispatchData = APIGuildIntegration & { + guild_id: Snowflake; +}; +/** + * https://discord.com/developers/docs/topics/gateway#integration-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayIntegrationDeleteDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#integration-delete + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayIntegrationDeleteDispatchData { + /** + * Integration id + */ + id: Snowflake; + /** + * ID of the guild + */ + guild_id: Snowflake; + /** + * ID of the bot/OAuth2 application for this Discord integration + */ + application_id?: Snowflake; +} +/** + * https://discord.com/developers/docs/topics/gateway#interaction-create + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayInteractionCreateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#interaction-create + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayInteractionCreateDispatchData = APIInteraction; +/** + * https://discord.com/developers/docs/topics/gateway#invite-create + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayInviteCreateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#invite-create + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayInviteCreateDispatchData { + /** + * The channel the invite is for + */ + channel_id: Snowflake; + /** + * The unique invite code + * + * See https://discord.com/developers/docs/resources/invite#invite-object + */ + code: string; + /** + * The time at which the invite was created + */ + created_at: number; + /** + * The guild of the invite + */ + guild_id?: Snowflake; + /** + * The user that created the invite + * + * See https://discord.com/developers/docs/resources/user#user-object + */ + inviter?: APIUser; + /** + * How long the invite is valid for (in seconds) + */ + max_age: number; + /** + * The maximum number of times the invite can be used + */ + max_uses: number; + /** + * The type of target for this voice channel invite + * + * See https://discord.com/developers/docs/resources/invite#invite-object-invite-target-types + */ + target_type?: InviteTargetType; + /** + * The user whose stream to display for this voice channel stream invite + * + * See https://discord.com/developers/docs/resources/user#user-object + */ + target_user?: APIUser; + /** + * The embedded application to open for this voice channel embedded application invite + */ + target_application?: Partial; + /** + * Whether or not the invite is temporary (invited users will be kicked on disconnect unless they're assigned a role) + */ + temporary: boolean; + /** + * How many times the invite has been used (always will be `0`) + */ + uses: 0; +} +/** + * https://discord.com/developers/docs/topics/gateway#invite-delete + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayInviteDeleteDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#invite-delete + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayInviteDeleteDispatchData { + /** + * The channel of the invite + */ + channel_id: Snowflake; + /** + * The guild of the invite + */ + guild_id?: Snowflake; + /** + * The unique invite code + * + * See https://discord.com/developers/docs/resources/invite#invite-object + */ + code: string; +} +/** + * https://discord.com/developers/docs/topics/gateway#message-create + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayMessageCreateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#message-create + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayMessageCreateDispatchData = APIMessage; +/** + * https://discord.com/developers/docs/topics/gateway#message-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayMessageUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#message-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayMessageUpdateDispatchData = { + id: Snowflake; + channel_id: Snowflake; +} & Partial; +/** + * https://discord.com/developers/docs/topics/gateway#message-delete + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayMessageDeleteDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#message-delete + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayMessageDeleteDispatchData { + /** + * The id of the message + */ + id: Snowflake; + /** + * The id of the channel + */ + channel_id: Snowflake; + /** + * The id of the guild + */ + guild_id?: Snowflake; +} +/** + * https://discord.com/developers/docs/topics/gateway#message-delete-bulk + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayMessageDeleteBulkDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#message-delete-bulk + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayMessageDeleteBulkDispatchData { + /** + * The ids of the messages + */ + ids: Snowflake[]; + /** + * The id of the channel + */ + channel_id: Snowflake; + /** + * The id of the guild + */ + guild_id?: Snowflake; +} +/** + * https://discord.com/developers/docs/topics/gateway#message-reaction-add + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayMessageReactionAddDispatch = ReactionData; +/** + * https://discord.com/developers/docs/topics/gateway#message-reaction-add + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayMessageReactionAddDispatchData = GatewayMessageReactionAddDispatch['d']; +/** + * https://discord.com/developers/docs/topics/gateway#message-reaction-remove + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayMessageReactionRemoveDispatch = ReactionData; +/** + * https://discord.com/developers/docs/topics/gateway#message-reaction-remove + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayMessageReactionRemoveDispatchData = GatewayMessageReactionRemoveDispatch['d']; +/** + * https://discord.com/developers/docs/topics/gateway#message-reaction-remove-all + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayMessageReactionRemoveAllDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#message-reaction-remove-all + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayMessageReactionRemoveAllDispatchData = MessageReactionRemoveData; +/** + * https://discord.com/developers/docs/topics/gateway#message-reaction-remove-emoji + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayMessageReactionRemoveEmojiDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#message-reaction-remove-emoji + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayMessageReactionRemoveEmojiDispatchData extends MessageReactionRemoveData { + /** + * The emoji that was removed + */ + emoji: APIEmoji; +} +/** + * https://discord.com/developers/docs/topics/gateway#presence-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayPresenceUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#presence-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayPresenceUpdateDispatchData = RawGatewayPresenceUpdate; +/** + * https://discord.com/developers/docs/topics/gateway#stage-instance-create + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayStageInstanceCreateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#stage-instance-create + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayStageInstanceCreateDispatchData = APIStageInstance; +/** + * https://discord.com/developers/docs/topics/gateway#stage-instance-delete + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayStageInstanceDeleteDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#stage-instance-delete + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayStageInstanceDeleteDispatchData = APIStageInstance; +/** + * https://discord.com/developers/docs/topics/gateway#stage-instance-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayStageInstanceUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#stage-instance-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayStageInstanceUpdateDispatchData = APIStageInstance; +/** + * https://discord.com/developers/docs/topics/gateway#typing-start + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayTypingStartDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#typing-start + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayTypingStartDispatchData { + /** + * The id of the channel + */ + channel_id: Snowflake; + /** + * The id of the guild + */ + guild_id?: Snowflake; + /** + * The id of the user + */ + user_id: Snowflake; + /** + * Unix time (in seconds) of when the user started typing + */ + timestamp: number; + /** + * The member who started typing if this happened in a guild + * + * See https://discord.com/developers/docs/resources/guild#guild-member-object + */ + member?: APIGuildMember; +} +/** + * https://discord.com/developers/docs/topics/gateway#user-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayUserUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#user-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayUserUpdateDispatchData = APIUser; +/** + * https://discord.com/developers/docs/topics/gateway#voice-state-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayVoiceStateUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#voice-state-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayVoiceStateUpdateDispatchData = GatewayVoiceState; +/** + * https://discord.com/developers/docs/topics/gateway#voice-server-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayVoiceServerUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#voice-server-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayVoiceServerUpdateDispatchData { + /** + * Voice connection token + */ + token: string; + /** + * The guild this voice server update is for + */ + guild_id: Snowflake; + /** + * The voice server host + * + * A `null` endpoint means that the voice server allocated has gone away and is trying to be reallocated. + * You should attempt to disconnect from the currently connected voice server, and not attempt to reconnect + * until a new voice server is allocated + */ + endpoint: string | null; +} +/** + * https://discord.com/developers/docs/topics/gateway#webhooks-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayWebhooksUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#webhooks-update + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayWebhooksUpdateDispatchData { + /** + * The id of the guild + */ + guild_id: Snowflake; + /** + * The id of the channel + */ + channel_id: Snowflake; +} +/** + * https://discord.com/developers/docs/topics/gateway#heartbeating + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayHeartbeat { + op: GatewayOpcodes.Heartbeat; + d: GatewayHeartbeatData; +} +/** + * https://discord.com/developers/docs/topics/gateway#heartbeating + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayHeartbeatData = number | null; +/** + * https://discord.com/developers/docs/topics/gateway#identify + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayIdentify { + op: GatewayOpcodes.Identify; + d: GatewayIdentifyData; +} +/** + * https://discord.com/developers/docs/topics/gateway#identify + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayIdentifyData { + /** + * Authentication token + */ + token: string; + /** + * Connection properties + * + * See https://discord.com/developers/docs/topics/gateway#identify-identify-connection-properties + */ + properties: GatewayIdentifyProperties; + /** + * Whether this connection supports compression of packets + * + * @default false + */ + compress?: boolean; + /** + * Value between 50 and 250, total number of members where the gateway will stop sending + * offline members in the guild member list + * + * @default 50 + */ + large_threshold?: number; + /** + * Used for Guild Sharding + * + * See https://discord.com/developers/docs/topics/gateway#sharding + */ + shard?: [shard_id: number, shard_count: number]; + /** + * Presence structure for initial presence information + * + * See https://discord.com/developers/docs/topics/gateway#update-presence + */ + presence?: GatewayPresenceUpdateData; + /** + * The Gateway Intents you wish to receive + * + * See https://discord.com/developers/docs/topics/gateway#gateway-intents + */ + intents: number; +} +/** + * https://discord.com/developers/docs/topics/gateway#identify-identify-connection-properties + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayIdentifyProperties { + /** + * Your operating system + */ + $os: string; + /** + * Your library name + */ + $browser: string; + /** + * Your library name + */ + $device: string; +} +/** + * https://discord.com/developers/docs/topics/gateway#resume + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayResume { + op: GatewayOpcodes.Resume; + d: GatewayResumeData; +} +/** + * https://discord.com/developers/docs/topics/gateway#resume + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayResumeData { + /** + * Session token + */ + token: string; + /** + * Session id + */ + session_id: string; + /** + * Last sequence number received + */ + seq: number; +} +/** + * https://discord.com/developers/docs/topics/gateway#request-guild-members + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayRequestGuildMembers { + op: GatewayOpcodes.RequestGuildMembers; + d: GatewayRequestGuildMembersData; +} +/** + * https://discord.com/developers/docs/topics/gateway#request-guild-members + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayRequestGuildMembersData { + /** + * ID of the guild to get members for + */ + guild_id: Snowflake; + /** + * String that username starts with, or an empty string to return all members + */ + query?: string; + /** + * Maximum number of members to send matching the `query`; + * a limit of `0` can be used with an empty string `query` to return all members + */ + limit: number; + /** + * Used to specify if we want the presences of the matched members + */ + presences?: boolean; + /** + * Used to specify which users you wish to fetch + */ + user_ids?: Snowflake | Snowflake[]; + /** + * Nonce to identify the Guild Members Chunk response + * + * Nonce can only be up to 32 bytes. If you send an invalid nonce it will be ignored and the reply member_chunk(s) will not have a `nonce` set. + * + * See https://discord.com/developers/docs/topics/gateway#guild-members-chunk + */ + nonce?: string; +} +/** + * https://discord.com/developers/docs/topics/gateway#update-voice-state + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayVoiceStateUpdate { + op: GatewayOpcodes.VoiceStateUpdate; + d: GatewayVoiceStateUpdateData; +} +/** + * https://discord.com/developers/docs/topics/gateway#update-voice-state + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayVoiceStateUpdateData { + /** + * ID of the guild + */ + guild_id: Snowflake; + /** + * ID of the voice channel client wants to join (`null` if disconnecting) + */ + channel_id: Snowflake | null; + /** + * Is the client muted + */ + self_mute: boolean; + /** + * Is the client deafened + */ + self_deaf: boolean; +} +/** + * https://discord.com/developers/docs/topics/gateway#update-presence + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayUpdatePresence { + op: GatewayOpcodes.PresenceUpdate; + d: GatewayPresenceUpdateData; +} +/** + * https://discord.com/developers/docs/topics/gateway#update-presence-gateway-presence-update-structure + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export interface GatewayPresenceUpdateData { + /** + * Unix time (in milliseconds) of when the client went idle, or `null` if the client is not idle + */ + since: number | null; + /** + * The user's activities + * + * See https://discord.com/developers/docs/topics/gateway#activity-object + */ + activities: GatewayActivityUpdateData[]; + /** + * The user's new status + * + * See https://discord.com/developers/docs/topics/gateway#update-presence-status-types + */ + status: PresenceUpdateStatus; + /** + * Whether or not the client is afk + */ + afk: boolean; +} +/** + * https://discord.com/developers/docs/topics/gateway#activity-object-activity-structure + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +export declare type GatewayActivityUpdateData = Pick; +interface BasePayload { + /** + * Opcode for the payload + */ + op: GatewayOpcodes; + /** + * Event data + */ + d?: unknown; + /** + * Sequence number, used for resuming sessions and heartbeats + */ + s: number; + /** + * The event name for this payload + */ + t?: string; +} +declare type NonDispatchPayload = Omit & { + t: null; + s: null; +}; +interface DataPayload extends BasePayload { + op: GatewayOpcodes.Dispatch; + t: Event; + d: D; +} +declare type ReactionData = DataPayload>; +/** + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +interface MessageReactionRemoveData { + /** + * The id of the channel + */ + channel_id: Snowflake; + /** + * The id of the message + */ + message_id: Snowflake; + /** + * The id of the guild + */ + guild_id?: Snowflake; +} +//# sourceMappingURL=v8.d.ts.map \ No newline at end of file diff --git a/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v8.d.ts.map b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v8.d.ts.map new file mode 100644 index 0000000..0ded498 --- /dev/null +++ b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v8.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"v8.d.ts","sourceRoot":"","sources":["v8.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,KAAK,EACX,cAAc,EACd,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,cAAc,EACd,UAAU,EACV,OAAO,EACP,gBAAgB,EAChB,UAA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AKvF,UAAU,WAAW;IACpB;;OAEG;IACH,EAAE,EAAE,cAAc,CAAC;IACnB;;OAEG;IACH,CAAC,CAAC,EAAE,OAAO,CAAC;IACZ;;OAEG;IACH,CAAC,EAAE,MAAM,CAAC;IACV;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,CAAC;CACX;AAED,aAAK,kBAAkB,GAAG,IAAI,CAAC,WAAW,EAAE,GAAG,GAAG,GAAG,CAAC,GAAG;IACxD,CAAC,EAAE,IAAI,CAAC;IACR,CAAC,EAAE,IAAI,CAAC;CACR,CAAC;AAEF,UAAU,WAAW,CAAC,KAAK,SAAS,qBAAqB,EAAE,CAAC,GAAG,OAAO,CAAE,SAAQ,WAAW;IAC1F,EAAE,EAAE,cAAc,CAAC,QAAQ,CAAC;IAC5B,CAAC,EAAE,KAAK,CAAC;IACT,CAAC,EAAE,CAAC,CAAC;CACL;AAED,aAAK,YAAY,CAAC,CAAC,SAAS,qBAAqB,EAAE,CAAC,SAAS,MAAM,GAAG,KAAK,IAAI,WAAW,CACzF,CAAC,EACD,IAAI,CACH;IACC;;OAEG;IACH,OAAO,EAAE,SAAS,CAAC;IACnB;;OAEG;IACH,UAAU,EAAE,SAAS,CAAC;IACtB;;OAEG;IACH,UAAU,EAAE,SAAS,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;;;OAIG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB;;;;OAIG;IACH,KAAK,EAAE,QAAQ,CAAC;CAChB,EACD,CAAC,CACD,CACD,CAAC;AAEF;;GAEG;AACH,UAAU,yBAAyB;IAClC;;OAEG;IACH,UAAU,EAAE,SAAS,CAAC;IACtB;;OAEG;IACH,UAAU,EAAE,SAAS,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACrB"} \ No newline at end of file diff --git a/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v8.js b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v8.js new file mode 100644 index 0000000..f07761b --- /dev/null +++ b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v8.js @@ -0,0 +1,242 @@ +"use strict"; +/** + * Types extracted from https://discord.com/developers/docs/topics/gateway + */ +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GatewayDispatchEvents = exports.GatewayIntentBits = exports.GatewayCloseCodes = exports.GatewayOpcodes = exports.GatewayVersion = void 0; +__exportStar(require("./common"), exports); +/** + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +exports.GatewayVersion = '8'; +/** + * https://discord.com/developers/docs/topics/opcodes-and-status-codes#gateway-gateway-opcodes + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +var GatewayOpcodes; +(function (GatewayOpcodes) { + /** + * An event was dispatched + */ + GatewayOpcodes[GatewayOpcodes["Dispatch"] = 0] = "Dispatch"; + /** + * A bidirectional opcode to maintain an active gateway connection. + * Fired periodically by the client, or fired by the gateway to request an immediate heartbeat from the client. + */ + GatewayOpcodes[GatewayOpcodes["Heartbeat"] = 1] = "Heartbeat"; + /** + * Starts a new session during the initial handshake + */ + GatewayOpcodes[GatewayOpcodes["Identify"] = 2] = "Identify"; + /** + * Update the client's presence + */ + GatewayOpcodes[GatewayOpcodes["PresenceUpdate"] = 3] = "PresenceUpdate"; + /** + * Used to join/leave or move between voice channels + */ + GatewayOpcodes[GatewayOpcodes["VoiceStateUpdate"] = 4] = "VoiceStateUpdate"; + /** + * Resume a previous session that was disconnected + */ + GatewayOpcodes[GatewayOpcodes["Resume"] = 6] = "Resume"; + /** + * You should attempt to reconnect and resume immediately + */ + GatewayOpcodes[GatewayOpcodes["Reconnect"] = 7] = "Reconnect"; + /** + * Request information about offline guild members in a large guild + */ + GatewayOpcodes[GatewayOpcodes["RequestGuildMembers"] = 8] = "RequestGuildMembers"; + /** + * The session has been invalidated. You should reconnect and identify/resume accordingly + */ + GatewayOpcodes[GatewayOpcodes["InvalidSession"] = 9] = "InvalidSession"; + /** + * Sent immediately after connecting, contains the `heartbeat_interval` to use + */ + GatewayOpcodes[GatewayOpcodes["Hello"] = 10] = "Hello"; + /** + * Sent in response to receiving a heartbeat to acknowledge that it has been received + */ + GatewayOpcodes[GatewayOpcodes["HeartbeatAck"] = 11] = "HeartbeatAck"; +})(GatewayOpcodes = exports.GatewayOpcodes || (exports.GatewayOpcodes = {})); +/** + * https://discord.com/developers/docs/topics/opcodes-and-status-codes#gateway-gateway-close-event-codes + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +var GatewayCloseCodes; +(function (GatewayCloseCodes) { + /** + * We're not sure what went wrong. Try reconnecting? + */ + GatewayCloseCodes[GatewayCloseCodes["UnknownError"] = 4000] = "UnknownError"; + /** + * You sent an invalid Gateway opcode or an invalid payload for an opcode. Don't do that! + * + * See https://discord.com/developers/docs/topics/gateway#payloads-and-opcodes + */ + GatewayCloseCodes[GatewayCloseCodes["UnknownOpcode"] = 4001] = "UnknownOpcode"; + /** + * You sent an invalid payload to us. Don't do that! + * + * See https://discord.com/developers/docs/topics/gateway#sending-payloads + */ + GatewayCloseCodes[GatewayCloseCodes["DecodeError"] = 4002] = "DecodeError"; + /** + * You sent us a payload prior to identifying + * + * See https://discord.com/developers/docs/topics/gateway#identify + */ + GatewayCloseCodes[GatewayCloseCodes["NotAuthenticated"] = 4003] = "NotAuthenticated"; + /** + * The account token sent with your identify payload is incorrect + * + * See https://discord.com/developers/docs/topics/gateway#identify + */ + GatewayCloseCodes[GatewayCloseCodes["AuthenticationFailed"] = 4004] = "AuthenticationFailed"; + /** + * You sent more than one identify payload. Don't do that! + */ + GatewayCloseCodes[GatewayCloseCodes["AlreadyAuthenticated"] = 4005] = "AlreadyAuthenticated"; + /** + * The sequence sent when resuming the session was invalid. Reconnect and start a new session + * + * See https://discord.com/developers/docs/topics/gateway#resume + */ + GatewayCloseCodes[GatewayCloseCodes["InvalidSeq"] = 4007] = "InvalidSeq"; + /** + * Woah nelly! You're sending payloads to us too quickly. Slow it down! You will be disconnected on receiving this + */ + GatewayCloseCodes[GatewayCloseCodes["RateLimited"] = 4008] = "RateLimited"; + /** + * Your session timed out. Reconnect and start a new one + */ + GatewayCloseCodes[GatewayCloseCodes["SessionTimedOut"] = 4009] = "SessionTimedOut"; + /** + * You sent us an invalid shard when identifying + * + * See https://discord.com/developers/docs/topics/gateway#sharding + */ + GatewayCloseCodes[GatewayCloseCodes["InvalidShard"] = 4010] = "InvalidShard"; + /** + * The session would have handled too many guilds - you are required to shard your connection in order to connect + * + * See https://discord.com/developers/docs/topics/gateway#sharding + */ + GatewayCloseCodes[GatewayCloseCodes["ShardingRequired"] = 4011] = "ShardingRequired"; + /** + * You sent an invalid version for the gateway + */ + GatewayCloseCodes[GatewayCloseCodes["InvalidAPIVersion"] = 4012] = "InvalidAPIVersion"; + /** + * You sent an invalid intent for a Gateway Intent. You may have incorrectly calculated the bitwise value + * + * See https://discord.com/developers/docs/topics/gateway#gateway-intents + */ + GatewayCloseCodes[GatewayCloseCodes["InvalidIntents"] = 4013] = "InvalidIntents"; + /** + * You sent a disallowed intent for a Gateway Intent. You may have tried to specify an intent that you have not + * enabled or are not whitelisted for + * + * See https://discord.com/developers/docs/topics/gateway#gateway-intents + * + * See https://discord.com/developers/docs/topics/gateway#privileged-intents + */ + GatewayCloseCodes[GatewayCloseCodes["DisallowedIntents"] = 4014] = "DisallowedIntents"; +})(GatewayCloseCodes = exports.GatewayCloseCodes || (exports.GatewayCloseCodes = {})); +/** + * https://discord.com/developers/docs/topics/gateway#list-of-intents + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +var GatewayIntentBits; +(function (GatewayIntentBits) { + GatewayIntentBits[GatewayIntentBits["Guilds"] = 1] = "Guilds"; + GatewayIntentBits[GatewayIntentBits["GuildMembers"] = 2] = "GuildMembers"; + GatewayIntentBits[GatewayIntentBits["GuildBans"] = 4] = "GuildBans"; + GatewayIntentBits[GatewayIntentBits["GuildEmojisAndStickers"] = 8] = "GuildEmojisAndStickers"; + GatewayIntentBits[GatewayIntentBits["GuildIntegrations"] = 16] = "GuildIntegrations"; + GatewayIntentBits[GatewayIntentBits["GuildWebhooks"] = 32] = "GuildWebhooks"; + GatewayIntentBits[GatewayIntentBits["GuildInvites"] = 64] = "GuildInvites"; + GatewayIntentBits[GatewayIntentBits["GuildVoiceStates"] = 128] = "GuildVoiceStates"; + GatewayIntentBits[GatewayIntentBits["GuildPresences"] = 256] = "GuildPresences"; + GatewayIntentBits[GatewayIntentBits["GuildMessages"] = 512] = "GuildMessages"; + GatewayIntentBits[GatewayIntentBits["GuildMessageReactions"] = 1024] = "GuildMessageReactions"; + GatewayIntentBits[GatewayIntentBits["GuildMessageTyping"] = 2048] = "GuildMessageTyping"; + GatewayIntentBits[GatewayIntentBits["DirectMessages"] = 4096] = "DirectMessages"; + GatewayIntentBits[GatewayIntentBits["DirectMessageReactions"] = 8192] = "DirectMessageReactions"; + GatewayIntentBits[GatewayIntentBits["DirectMessageTyping"] = 16384] = "DirectMessageTyping"; + GatewayIntentBits[GatewayIntentBits["GuildScheduledEvents"] = 65536] = "GuildScheduledEvents"; +})(GatewayIntentBits = exports.GatewayIntentBits || (exports.GatewayIntentBits = {})); +/** + * https://discord.com/developers/docs/topics/gateway#commands-and-events-gateway-events + * @deprecated API and gateway v8 are deprecated and the types will not receive further updates, please update to v10. + */ +var GatewayDispatchEvents; +(function (GatewayDispatchEvents) { + GatewayDispatchEvents["ChannelCreate"] = "CHANNEL_CREATE"; + GatewayDispatchEvents["ChannelDelete"] = "CHANNEL_DELETE"; + GatewayDispatchEvents["ChannelPinsUpdate"] = "CHANNEL_PINS_UPDATE"; + GatewayDispatchEvents["ChannelUpdate"] = "CHANNEL_UPDATE"; + GatewayDispatchEvents["GuildBanAdd"] = "GUILD_BAN_ADD"; + GatewayDispatchEvents["GuildBanRemove"] = "GUILD_BAN_REMOVE"; + GatewayDispatchEvents["GuildCreate"] = "GUILD_CREATE"; + GatewayDispatchEvents["GuildDelete"] = "GUILD_DELETE"; + GatewayDispatchEvents["GuildEmojisUpdate"] = "GUILD_EMOJIS_UPDATE"; + GatewayDispatchEvents["GuildIntegrationsUpdate"] = "GUILD_INTEGRATIONS_UPDATE"; + GatewayDispatchEvents["GuildMemberAdd"] = "GUILD_MEMBER_ADD"; + GatewayDispatchEvents["GuildMemberRemove"] = "GUILD_MEMBER_REMOVE"; + GatewayDispatchEvents["GuildMembersChunk"] = "GUILD_MEMBERS_CHUNK"; + GatewayDispatchEvents["GuildMemberUpdate"] = "GUILD_MEMBER_UPDATE"; + GatewayDispatchEvents["GuildRoleCreate"] = "GUILD_ROLE_CREATE"; + GatewayDispatchEvents["GuildRoleDelete"] = "GUILD_ROLE_DELETE"; + GatewayDispatchEvents["GuildRoleUpdate"] = "GUILD_ROLE_UPDATE"; + GatewayDispatchEvents["GuildStickersUpdate"] = "GUILD_STICKERS_UPDATE"; + GatewayDispatchEvents["GuildUpdate"] = "GUILD_UPDATE"; + GatewayDispatchEvents["IntegrationCreate"] = "INTEGRATION_CREATE"; + GatewayDispatchEvents["IntegrationDelete"] = "INTEGRATION_DELETE"; + GatewayDispatchEvents["IntegrationUpdate"] = "INTEGRATION_UPDATE"; + GatewayDispatchEvents["InteractionCreate"] = "INTERACTION_CREATE"; + GatewayDispatchEvents["InviteCreate"] = "INVITE_CREATE"; + GatewayDispatchEvents["InviteDelete"] = "INVITE_DELETE"; + GatewayDispatchEvents["MessageCreate"] = "MESSAGE_CREATE"; + GatewayDispatchEvents["MessageDelete"] = "MESSAGE_DELETE"; + GatewayDispatchEvents["MessageDeleteBulk"] = "MESSAGE_DELETE_BULK"; + GatewayDispatchEvents["MessageReactionAdd"] = "MESSAGE_REACTION_ADD"; + GatewayDispatchEvents["MessageReactionRemove"] = "MESSAGE_REACTION_REMOVE"; + GatewayDispatchEvents["MessageReactionRemoveAll"] = "MESSAGE_REACTION_REMOVE_ALL"; + GatewayDispatchEvents["MessageReactionRemoveEmoji"] = "MESSAGE_REACTION_REMOVE_EMOJI"; + GatewayDispatchEvents["MessageUpdate"] = "MESSAGE_UPDATE"; + GatewayDispatchEvents["PresenceUpdate"] = "PRESENCE_UPDATE"; + GatewayDispatchEvents["StageInstanceCreate"] = "STAGE_INSTANCE_CREATE"; + GatewayDispatchEvents["StageInstanceDelete"] = "STAGE_INSTANCE_DELETE"; + GatewayDispatchEvents["StageInstanceUpdate"] = "STAGE_INSTANCE_UPDATE"; + GatewayDispatchEvents["Ready"] = "READY"; + GatewayDispatchEvents["Resumed"] = "RESUMED"; + GatewayDispatchEvents["TypingStart"] = "TYPING_START"; + GatewayDispatchEvents["UserUpdate"] = "USER_UPDATE"; + GatewayDispatchEvents["VoiceServerUpdate"] = "VOICE_SERVER_UPDATE"; + GatewayDispatchEvents["VoiceStateUpdate"] = "VOICE_STATE_UPDATE"; + GatewayDispatchEvents["WebhooksUpdate"] = "WEBHOOKS_UPDATE"; + GatewayDispatchEvents["GuildScheduledEventCreate"] = "GUILD_SCHEDULED_EVENT_CREATE"; + GatewayDispatchEvents["GuildScheduledEventUpdate"] = "GUILD_SCHEDULED_EVENT_UPDATE"; + GatewayDispatchEvents["GuildScheduledEventDelete"] = "GUILD_SCHEDULED_EVENT_DELETE"; + GatewayDispatchEvents["GuildScheduledEventUserAdd"] = "GUILD_SCHEDULED_EVENT_USER_ADD"; + GatewayDispatchEvents["GuildScheduledEventUserRemove"] = "GUILD_SCHEDULED_EVENT_USER_REMOVE"; +})(GatewayDispatchEvents = exports.GatewayDispatchEvents || (exports.GatewayDispatchEvents = {})); +// #endregion Shared +//# sourceMappingURL=v8.js.map \ No newline at end of file diff --git a/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v8.js.map b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v8.js.map new file mode 100644 index 0000000..ada6a2d --- /dev/null +++ b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v8.js.map @@ -0,0 +1 @@ +{"version":3,"file":"v8.js","sourceRoot":"","sources":["v8.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;AA0BH,2CAAyB;AAEzB;;GAEG;AACU,QAAA,cAAc,GAAG,GAAG,CAAC;AAElC;;;GAGG;AACH,IAAY,cA8CX;AA9CD,WAAY,cAAc;IACzB;;OAEG;IACH,2DAAQ,CAAA;IACR;;;OAGG;IACH,6DAAS,CAAA;IACT;;OAEG;IACH,2DAAQ,CAAA;IACR;;OAEG;IACH,uEAAc,CAAA;IACd;;OAEG;IACH,2EAAgB,CAAA;IAChB;;OAEG;IACH,uDAAU,CAAA;IACV;;OAEG;IACH,6DAAS,CAAA;IACT;;OAEG;IACH,iFAAmB,CAAA;IACnB;;OAEG;IACH,uEAAc,CAAA;IACd;;OAEG;IACH,sDAAK,CAAA;IACL;;OAEG;IACH,oEAAY,CAAA;AACb,CAAC,EA9CW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QA8CzB;AAED;;;GAGG;AACH,IAAY,iBA8EX;AA9ED,WAAY,iBAAiB;IAC5B;;OAEG;IACH,4EAAmB,CAAA;IACnB;;;;OAIG;IACH,8EAAa,CAAA;IACb;;;;OAIG;IACH,0EAAW,CAAA;IACX;;;;OAIG;IACH,oFAAgB,CAAA;IAChB;;;;OAIG;IACH,4FAAoB,CAAA;IACpB;;OAEG;IACH,4FAAoB,CAAA;IACpB;;;;OAIG;IACH,wEAAi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IACxC,iEAAwC,CAAA;IACxC,iEAAwC,CAAA;IACxC,iEAAwC,CAAA;IACxC,uDAA8B,CAAA;IAC9B,uDAA8B,CAAA;IAC9B,yDAAgC,CAAA;IAChC,yDAAgC,CAAA;IAChC,kEAAyC,CAAA;IACzC,oEAA2C,CAAA;IAC3C,0EAAiD,CAAA;IACjD,iFAAwD,CAAA;IACxD,qFAA4D,CAAA;IAC5D,yDAAgC,CAAA;IAChC,2DAAkC,CAAA;IAClC,sEAA6C,CAAA;IAC7C,sEAA6C,CAAA;IAC7C,sEAA6C,CAAA;IAC7C,wCAAe,CAAA;IACf,4CAAmB,CAAA;IACnB,qDAA4B,CAAA;IAC5B,mDAA0B,CAAA;IAC1B,kEAAyC,CAAA;IACzC,gEAAuC,CAAA;IACvC,2DAAkC,CAAA;IAClC,mFAA0D,CAAA;IAC1D,mFAA0D,CAAA;IAC1D,mFAA0D,CAAA;IAC1D,sFAA6D,CAAA;IAC7D,4FAAmE,CAAA;AACpE,CAAC,EAlDW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAkDhC;AA4gDD,oBAAoB"} \ No newline at end of file diff --git a/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v8.mjs b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v8.mjs new file mode 100644 index 0000000..c5cfed1 --- /dev/null +++ b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v8.mjs @@ -0,0 +1,8 @@ +import mod from "./v8.js"; + +export default mod; +export const GatewayCloseCodes = mod.GatewayCloseCodes; +export const GatewayDispatchEvents = mod.GatewayDispatchEvents; +export const GatewayIntentBits = mod.GatewayIntentBits; +export const GatewayOpcodes = mod.GatewayOpcodes; +export const GatewayVersion = mod.GatewayVersion; diff --git a/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v9.d.ts b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v9.d.ts new file mode 100644 index 0000000..385d7f1 --- /dev/null +++ b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v9.d.ts @@ -0,0 +1,1470 @@ +/** + * Types extracted from https://discord.com/developers/docs/topics/gateway + */ +import type { Snowflake } from '../globals'; +import type { GatewayPresenceUpdate } from '../payloads/v9/gateway'; +import type { APIApplication, APIChannel, APIEmoji, APIGuild, APIGuildIntegration, APIGuildMember, APIGuildScheduledEvent, APIInteraction, APIMessage, APIRole, APIStageInstance, APISticker, APIThreadChannel, APIThreadMember, APIUnavailableGuild, APIUser, GatewayActivity, GatewayPresenceUpdate as RawGatewayPresenceUpdate, GatewayThreadListSync as RawGatewayThreadListSync, GatewayThreadMembersUpdate as RawGatewayThreadMembersUpdate, GatewayVoiceState, InviteTargetType, PresenceUpdateStatus } from '../payloads/v9/index'; +import type { Nullable } from '../utils/internals'; +export * from './common'; +export declare const GatewayVersion = "9"; +/** + * https://discord.com/developers/docs/topics/opcodes-and-status-codes#gateway-gateway-opcodes + */ +export declare enum GatewayOpcodes { + /** + * An event was dispatched + */ + Dispatch = 0, + /** + * A bidirectional opcode to maintain an active gateway connection. + * Fired periodically by the client, or fired by the gateway to request an immediate heartbeat from the client. + */ + Heartbeat = 1, + /** + * Starts a new session during the initial handshake + */ + Identify = 2, + /** + * Update the client's presence + */ + PresenceUpdate = 3, + /** + * Used to join/leave or move between voice channels + */ + VoiceStateUpdate = 4, + /** + * Resume a previous session that was disconnected + */ + Resume = 6, + /** + * You should attempt to reconnect and resume immediately + */ + Reconnect = 7, + /** + * Request information about offline guild members in a large guild + */ + RequestGuildMembers = 8, + /** + * The session has been invalidated. You should reconnect and identify/resume accordingly + */ + InvalidSession = 9, + /** + * Sent immediately after connecting, contains the `heartbeat_interval` to use + */ + Hello = 10, + /** + * Sent in response to receiving a heartbeat to acknowledge that it has been received + */ + HeartbeatAck = 11 +} +/** + * https://discord.com/developers/docs/topics/opcodes-and-status-codes#gateway-gateway-close-event-codes + */ +export declare enum GatewayCloseCodes { + /** + * We're not sure what went wrong. Try reconnecting? + */ + UnknownError = 4000, + /** + * You sent an invalid Gateway opcode or an invalid payload for an opcode. Don't do that! + * + * See https://discord.com/developers/docs/topics/gateway#payloads-and-opcodes + */ + UnknownOpcode = 4001, + /** + * You sent an invalid payload to us. Don't do that! + * + * See https://discord.com/developers/docs/topics/gateway#sending-payloads + */ + DecodeError = 4002, + /** + * You sent us a payload prior to identifying + * + * See https://discord.com/developers/docs/topics/gateway#identify + */ + NotAuthenticated = 4003, + /** + * The account token sent with your identify payload is incorrect + * + * See https://discord.com/developers/docs/topics/gateway#identify + */ + AuthenticationFailed = 4004, + /** + * You sent more than one identify payload. Don't do that! + */ + AlreadyAuthenticated = 4005, + /** + * The sequence sent when resuming the session was invalid. Reconnect and start a new session + * + * See https://discord.com/developers/docs/topics/gateway#resume + */ + InvalidSeq = 4007, + /** + * Woah nelly! You're sending payloads to us too quickly. Slow it down! You will be disconnected on receiving this + */ + RateLimited = 4008, + /** + * Your session timed out. Reconnect and start a new one + */ + SessionTimedOut = 4009, + /** + * You sent us an invalid shard when identifying + * + * See https://discord.com/developers/docs/topics/gateway#sharding + */ + InvalidShard = 4010, + /** + * The session would have handled too many guilds - you are required to shard your connection in order to connect + * + * See https://discord.com/developers/docs/topics/gateway#sharding + */ + ShardingRequired = 4011, + /** + * You sent an invalid version for the gateway + */ + InvalidAPIVersion = 4012, + /** + * You sent an invalid intent for a Gateway Intent. You may have incorrectly calculated the bitwise value + * + * See https://discord.com/developers/docs/topics/gateway#gateway-intents + */ + InvalidIntents = 4013, + /** + * You sent a disallowed intent for a Gateway Intent. You may have tried to specify an intent that you have not + * enabled or are not whitelisted for + * + * See https://discord.com/developers/docs/topics/gateway#gateway-intents + * + * See https://discord.com/developers/docs/topics/gateway#privileged-intents + */ + DisallowedIntents = 4014 +} +/** + * https://discord.com/developers/docs/topics/gateway#list-of-intents + */ +export declare enum GatewayIntentBits { + Guilds = 1, + GuildMembers = 2, + GuildBans = 4, + GuildEmojisAndStickers = 8, + GuildIntegrations = 16, + GuildWebhooks = 32, + GuildInvites = 64, + GuildVoiceStates = 128, + GuildPresences = 256, + GuildMessages = 512, + GuildMessageReactions = 1024, + GuildMessageTyping = 2048, + DirectMessages = 4096, + DirectMessageReactions = 8192, + DirectMessageTyping = 16384, + GuildScheduledEvents = 65536 +} +/** + * https://discord.com/developers/docs/topics/gateway#commands-and-events-gateway-events + */ +export declare enum GatewayDispatchEvents { + ApplicationCommandPermissionsUpdate = "APPLICATION_COMMAND_PERMISSIONS_UPDATE", + ChannelCreate = "CHANNEL_CREATE", + ChannelDelete = "CHANNEL_DELETE", + ChannelPinsUpdate = "CHANNEL_PINS_UPDATE", + ChannelUpdate = "CHANNEL_UPDATE", + GuildBanAdd = "GUILD_BAN_ADD", + GuildBanRemove = "GUILD_BAN_REMOVE", + GuildCreate = "GUILD_CREATE", + GuildDelete = "GUILD_DELETE", + GuildEmojisUpdate = "GUILD_EMOJIS_UPDATE", + GuildIntegrationsUpdate = "GUILD_INTEGRATIONS_UPDATE", + GuildMemberAdd = "GUILD_MEMBER_ADD", + GuildMemberRemove = "GUILD_MEMBER_REMOVE", + GuildMembersChunk = "GUILD_MEMBERS_CHUNK", + GuildMemberUpdate = "GUILD_MEMBER_UPDATE", + GuildRoleCreate = "GUILD_ROLE_CREATE", + GuildRoleDelete = "GUILD_ROLE_DELETE", + GuildRoleUpdate = "GUILD_ROLE_UPDATE", + GuildStickersUpdate = "GUILD_STICKERS_UPDATE", + GuildUpdate = "GUILD_UPDATE", + IntegrationCreate = "INTEGRATION_CREATE", + IntegrationDelete = "INTEGRATION_DELETE", + IntegrationUpdate = "INTEGRATION_UPDATE", + InteractionCreate = "INTERACTION_CREATE", + InviteCreate = "INVITE_CREATE", + InviteDelete = "INVITE_DELETE", + MessageCreate = "MESSAGE_CREATE", + MessageDelete = "MESSAGE_DELETE", + MessageDeleteBulk = "MESSAGE_DELETE_BULK", + MessageReactionAdd = "MESSAGE_REACTION_ADD", + MessageReactionRemove = "MESSAGE_REACTION_REMOVE", + MessageReactionRemoveAll = "MESSAGE_REACTION_REMOVE_ALL", + MessageReactionRemoveEmoji = "MESSAGE_REACTION_REMOVE_EMOJI", + MessageUpdate = "MESSAGE_UPDATE", + PresenceUpdate = "PRESENCE_UPDATE", + StageInstanceCreate = "STAGE_INSTANCE_CREATE", + StageInstanceDelete = "STAGE_INSTANCE_DELETE", + StageInstanceUpdate = "STAGE_INSTANCE_UPDATE", + Ready = "READY", + Resumed = "RESUMED", + ThreadCreate = "THREAD_CREATE", + ThreadDelete = "THREAD_DELETE", + ThreadListSync = "THREAD_LIST_SYNC", + ThreadMembersUpdate = "THREAD_MEMBERS_UPDATE", + ThreadMemberUpdate = "THREAD_MEMBER_UPDATE", + ThreadUpdate = "THREAD_UPDATE", + TypingStart = "TYPING_START", + UserUpdate = "USER_UPDATE", + VoiceServerUpdate = "VOICE_SERVER_UPDATE", + VoiceStateUpdate = "VOICE_STATE_UPDATE", + WebhooksUpdate = "WEBHOOKS_UPDATE", + GuildScheduledEventCreate = "GUILD_SCHEDULED_EVENT_CREATE", + GuildScheduledEventUpdate = "GUILD_SCHEDULED_EVENT_UPDATE", + GuildScheduledEventDelete = "GUILD_SCHEDULED_EVENT_DELETE", + GuildScheduledEventUserAdd = "GUILD_SCHEDULED_EVENT_USER_ADD", + GuildScheduledEventUserRemove = "GUILD_SCHEDULED_EVENT_USER_REMOVE" +} +export declare type GatewaySendPayload = GatewayHeartbeat | GatewayIdentify | GatewayUpdatePresence | GatewayVoiceStateUpdate | GatewayResume | GatewayRequestGuildMembers; +export declare type GatewayReceivePayload = GatewayHello | GatewayHeartbeatRequest | GatewayHeartbeatAck | GatewayInvalidSession | GatewayReconnect | GatewayDispatchPayload; +export declare type GatewayDispatchPayload = GatewayChannelModifyDispatch | GatewayChannelPinsUpdateDispatch | GatewayGuildBanModifyDispatch | GatewayGuildCreateDispatch | GatewayGuildDeleteDispatch | GatewayGuildEmojisUpdateDispatch | GatewayGuildIntegrationsUpdateDispatch | GatewayGuildMemberAddDispatch | GatewayGuildMemberRemoveDispatch | GatewayGuildMembersChunkDispatch | GatewayGuildMemberUpdateDispatch | GatewayGuildModifyDispatch | GatewayGuildRoleDeleteDispatch | GatewayGuildRoleModifyDispatch | GatewayGuildScheduledEventCreateDispatch | GatewayGuildScheduledEventUpdateDispatch | GatewayGuildScheduledEventDeleteDispatch | GatewayGuildScheduledEventUserAddDispatch | GatewayGuildScheduledEventUserRemoveDispatch | GatewayGuildStickersUpdateDispatch | GatewayIntegrationCreateDispatch | GatewayIntegrationDeleteDispatch | GatewayIntegrationUpdateDispatch | GatewayInteractionCreateDispatch | GatewayInviteCreateDispatch | GatewayInviteDeleteDispatch | GatewayMessageCreateDispatch | GatewayMessageDeleteBulkDispatch | GatewayMessageDeleteDispatch | GatewayMessageReactionAddDispatch | GatewayMessageReactionRemoveAllDispatch | GatewayMessageReactionRemoveDispatch | GatewayMessageReactionRemoveEmojiDispatch | GatewayMessageUpdateDispatch | GatewayPresenceUpdateDispatch | GatewayStageInstanceCreateDispatch | GatewayStageInstanceDeleteDispatch | GatewayStageInstanceUpdateDispatch | GatewayReadyDispatch | GatewayResumedDispatch | GatewayThreadListSyncDispatch | GatewayThreadMembersUpdateDispatch | GatewayThreadMemberUpdateDispatch | GatewayThreadModifyDispatch | GatewayTypingStartDispatch | GatewayUserUpdateDispatch | GatewayVoiceServerUpdateDispatch | GatewayVoiceStateUpdateDispatch | GatewayWebhooksUpdateDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#hello + */ +export interface GatewayHello extends NonDispatchPayload { + op: GatewayOpcodes.Hello; + d: GatewayHelloData; +} +/** + * https://discord.com/developers/docs/topics/gateway#hello + */ +export interface GatewayHelloData { + /** + * The interval (in milliseconds) the client should heartbeat with + */ + heartbeat_interval: number; +} +/** + * https://discord.com/developers/docs/topics/gateway#heartbeating + */ +export interface GatewayHeartbeatRequest extends NonDispatchPayload { + op: GatewayOpcodes.Heartbeat; + d: never; +} +/** + * https://discord.com/developers/docs/topics/gateway#heartbeating-example-gateway-heartbeat-ack + */ +export interface GatewayHeartbeatAck extends NonDispatchPayload { + op: GatewayOpcodes.HeartbeatAck; + d: never; +} +/** + * https://discord.com/developers/docs/topics/gateway#invalid-session + */ +export interface GatewayInvalidSession extends NonDispatchPayload { + op: GatewayOpcodes.InvalidSession; + d: GatewayInvalidSessionData; +} +/** + * https://discord.com/developers/docs/topics/gateway#invalid-session + */ +export declare type GatewayInvalidSessionData = boolean; +/** + * https://discord.com/developers/docs/topics/gateway#reconnect + */ +export interface GatewayReconnect extends NonDispatchPayload { + op: GatewayOpcodes.Reconnect; + d: never; +} +/** + * https://discord.com/developers/docs/topics/gateway#ready + */ +export declare type GatewayReadyDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#ready + */ +export interface GatewayReadyDispatchData { + /** + * Gateway version + * + * See https://discord.com/developers/docs/topics/gateway#gateways-gateway-versions + */ + v: number; + /** + * Information about the user including email + * + * See https://discord.com/developers/docs/resources/user#user-object + */ + user: APIUser; + /** + * The guilds the user is in + * + * See https://discord.com/developers/docs/resources/guild#unavailable-guild-object + */ + guilds: APIUnavailableGuild[]; + /** + * Used for resuming connections + */ + session_id: string; + /** + * The shard information associated with this session, if sent when identifying + * + * See https://discord.com/developers/docs/topics/gateway#sharding + */ + shard?: [shard_id: number, shard_count: number]; + /** + * Contains `id` and `flags` + * + * See https://discord.com/developers/docs/resources/application#application-object + */ + application: Pick; +} +/** + * https://discord.com/developers/docs/topics/gateway#resumed + */ +export declare type GatewayResumedDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#channel-create + * https://discord.com/developers/docs/topics/gateway#channel-update + * https://discord.com/developers/docs/topics/gateway#channel-delete + */ +export declare type GatewayChannelModifyDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#channel-create + * https://discord.com/developers/docs/topics/gateway#channel-update + * https://discord.com/developers/docs/topics/gateway#channel-delete + */ +export declare type GatewayChannelModifyDispatchData = APIChannel; +/** + * https://discord.com/developers/docs/topics/gateway#channel-create + */ +export declare type GatewayChannelCreateDispatch = GatewayChannelModifyDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#channel-create + */ +export declare type GatewayChannelCreateDispatchData = GatewayChannelModifyDispatchData; +/** + * https://discord.com/developers/docs/topics/gateway#channel-update + */ +export declare type GatewayChannelUpdateDispatch = GatewayChannelModifyDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#channel-update + */ +export declare type GatewayChannelUpdateDispatchData = GatewayChannelModifyDispatchData; +/** + * https://discord.com/developers/docs/topics/gateway#channel-delete + */ +export declare type GatewayChannelDeleteDispatch = GatewayChannelModifyDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#channel-delete + */ +export declare type GatewayChannelDeleteDispatchData = GatewayChannelModifyDispatchData; +/** + * https://discord.com/developers/docs/topics/gateway#channel-pins-update + */ +export declare type GatewayChannelPinsUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#channel-pins-update + */ +export interface GatewayChannelPinsUpdateDispatchData { + /** + * The id of the guild + */ + guild_id?: Snowflake; + /** + * The id of the channel + */ + channel_id: Snowflake; + /** + * The time at which the most recent pinned message was pinned + */ + last_pin_timestamp?: string | null; +} +/** + * https://discord.com/developers/docs/topics/gateway#guild-update + */ +export declare type GatewayGuildModifyDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-update + */ +export declare type GatewayGuildModifyDispatchData = APIGuild; +/** + * https://discord.com/developers/docs/topics/gateway#guild-create + */ +export declare type GatewayGuildCreateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-create + * https://discord.com/developers/docs/topics/gateway#guild-create-guild-create-extra-fields + */ +export interface GatewayGuildCreateDispatchData extends APIGuild { + /** + * When this guild was joined at + * + * **This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event** + */ + joined_at: string; + /** + * `true` if this is considered a large guild + * + * **This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event** + */ + large: boolean; + /** + * `true` if this guild is unavailable due to an outage + */ + unavailable?: boolean; + /** + * Total number of members in this guild + * + * **This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event** + */ + member_count: number; + /** + * States of members currently in voice channels; lacks the `guild_id` key + * + * **This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event** + * + * See https://discord.com/developers/docs/resources/voice#voice-state-object + */ + voice_states: Omit[]; + /** + * Users in the guild + * + * **This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event** + * + * See https://discord.com/developers/docs/resources/guild#guild-member-object + */ + members: APIGuildMember[]; + /** + * Channels in the guild + * + * **This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event** + * + * See https://discord.com/developers/docs/resources/channel#channel-object + */ + channels: APIChannel[]; + /** + * Threads in the guild + * + * **This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event** + * + * See https://discord.com/developers/docs/resources/channel#channel-object + */ + threads: APIChannel[]; + /** + * Presences of the members in the guild, will only include non-offline members if the size is greater than `large_threshold` + * + * **This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event** + * + * See https://discord.com/developers/docs/topics/gateway#presence-update + */ + presences: GatewayPresenceUpdate[]; + /** + * The stage instances in the guild + * + * **This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event** + * + * See https://discord.com/developers/docs/resources/stage-instance#stage-instance-object-stage-instance-structure + */ + stage_instances: APIStageInstance[]; + /** + * The scheduled events in the guild + * + * **This field is only sent within the [GUILD_CREATE](https://discord.com/developers/docs/topics/gateway#guild-create) event** + * + * https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-object + */ + guild_scheduled_events: APIGuildScheduledEvent[]; +} +/** + * https://discord.com/developers/docs/topics/gateway#guild-update + */ +export declare type GatewayGuildUpdateDispatch = GatewayGuildModifyDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#guild-update + */ +export declare type GatewayGuildUpdateDispatchData = GatewayGuildModifyDispatchData; +/** + * https://discord.com/developers/docs/topics/gateway#guild-delete + */ +export declare type GatewayGuildDeleteDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-delete + */ +export declare type GatewayGuildDeleteDispatchData = APIUnavailableGuild; +/** + * https://discord.com/developers/docs/topics/gateway#guild-ban-add + * https://discord.com/developers/docs/topics/gateway#guild-ban-remove + */ +export declare type GatewayGuildBanModifyDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-ban-add + * https://discord.com/developers/docs/topics/gateway#guild-ban-remove + */ +export interface GatewayGuildBanModifyDispatchData { + /** + * ID of the guild + */ + guild_id: Snowflake; + /** + * The banned user + * + * See https://discord.com/developers/docs/resources/user#user-object + */ + user: APIUser; +} +/** + * https://discord.com/developers/docs/topics/gateway#guild-ban-add + */ +export declare type GatewayGuildBanAddDispatch = GatewayGuildBanModifyDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#guild-ban-add + */ +export declare type GatewayGuildBanAddDispatchData = GatewayGuildBanModifyDispatchData; +/** + * https://discord.com/developers/docs/topics/gateway#guild-ban-remove + */ +export declare type GatewayGuildBanRemoveDispatch = GatewayGuildBanModifyDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#guild-ban-remove + */ +export declare type GatewayGuildBanRemoveDispatchData = GatewayGuildBanModifyDispatchData; +/** + * https://discord.com/developers/docs/topics/gateway#guild-emojis-update + */ +export declare type GatewayGuildEmojisUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-emojis-update + */ +export interface GatewayGuildEmojisUpdateDispatchData { + /** + * ID of the guild + */ + guild_id: Snowflake; + /** + * Array of emojis + * + * See https://discord.com/developers/docs/resources/emoji#emoji-object + */ + emojis: APIEmoji[]; +} +/** + * https://discord.com/developers/docs/topics/gateway#guild-stickers-update + */ +export declare type GatewayGuildStickersUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-stickers-update + */ +export interface GatewayGuildStickersUpdateDispatchData { + /** + * ID of the guild + */ + guild_id: Snowflake; + /** + * Array of stickers + * + * See https://discord.com/developers/docs/resources/sticker#sticker-object + */ + stickers: APISticker[]; +} +/** + * https://discord.com/developers/docs/topics/gateway#guild-integrations-update + */ +export declare type GatewayGuildIntegrationsUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-integrations-update + */ +export interface GatewayGuildIntegrationsUpdateDispatchData { + /** + * ID of the guild whose integrations were updated + */ + guild_id: Snowflake; +} +/** + * https://discord.com/developers/docs/topics/gateway#guild-member-add + */ +export declare type GatewayGuildMemberAddDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-member-add + */ +export interface GatewayGuildMemberAddDispatchData extends APIGuildMember { + /** + * The id of the guild + */ + guild_id: Snowflake; +} +/** + * https://discord.com/developers/docs/topics/gateway#guild-member-remove + */ +export declare type GatewayGuildMemberRemoveDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-member-remove + */ +export interface GatewayGuildMemberRemoveDispatchData { + /** + * The id of the guild + */ + guild_id: Snowflake; + /** + * The user who was removed + * + * See https://discord.com/developers/docs/resources/user#user-object + */ + user: APIUser; +} +/** + * https://discord.com/developers/docs/topics/gateway#guild-member-update + */ +export declare type GatewayGuildMemberUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-member-update + */ +export declare type GatewayGuildMemberUpdateDispatchData = Omit & Partial> & Required> & Nullable> & { + /** + * The id of the guild + */ + guild_id: Snowflake; +}; +/** + * https://discord.com/developers/docs/topics/gateway#guild-members-chunk + */ +export declare type GatewayGuildMembersChunkDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-members-chunk + */ +export interface GatewayGuildMembersChunkDispatchData { + /** + * The id of the guild + */ + guild_id: Snowflake; + /** + * Set of guild members + * + * See https://discord.com/developers/docs/resources/guild#guild-member-object + */ + members: APIGuildMember[]; + /** + * The chunk index in the expected chunks for this response (`0 <= chunk_index < chunk_count`) + */ + chunk_index?: number; + /** + * The total number of expected chunks for this response + */ + chunk_count?: number; + /** + * If passing an invalid id to `REQUEST_GUILD_MEMBERS`, it will be returned here + */ + not_found?: unknown[]; + /** + * If passing true to `REQUEST_GUILD_MEMBERS`, presences of the returned members will be here + * + * See https://discord.com/developers/docs/topics/gateway#presence + */ + presences?: RawGatewayPresenceUpdate[]; + /** + * The nonce used in the Guild Members Request + * + * See https://discord.com/developers/docs/topics/gateway#request-guild-members + */ + nonce?: string; +} +/** + * https://discord.com/developers/docs/topics/gateway#guild-role-create + * https://discord.com/developers/docs/topics/gateway#guild-role-update + */ +export declare type GatewayGuildRoleModifyDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-role-create + * https://discord.com/developers/docs/topics/gateway#guild-role-update + */ +export interface GatewayGuildRoleModifyDispatchData { + /** + * The id of the guild + */ + guild_id: Snowflake; + /** + * The role created or updated + * + * See https://discord.com/developers/docs/topics/permissions#role-object + */ + role: APIRole; +} +/** + * https://discord.com/developers/docs/topics/gateway#guild-role-create + */ +export declare type GatewayGuildRoleCreateDispatch = GatewayGuildRoleModifyDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#guild-role-create + */ +export declare type GatewayGuildRoleCreateDispatchData = GatewayGuildRoleModifyDispatchData; +/** + * https://discord.com/developers/docs/topics/gateway#guild-role-update + */ +export declare type GatewayGuildRoleUpdateDispatch = GatewayGuildRoleModifyDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#guild-role-update + */ +export declare type GatewayGuildRoleUpdateDispatchData = GatewayGuildRoleModifyDispatchData; +/** + * https://discord.com/developers/docs/topics/gateway#guild-role-delete + */ +export declare type GatewayGuildRoleDeleteDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#guild-role-delete + */ +export interface GatewayGuildRoleDeleteDispatchData { + /** + * The id of the guild + */ + guild_id: Snowflake; + /** + * The id of the role + */ + role_id: Snowflake; +} +export declare type GatewayGuildScheduledEventCreateDispatch = DataPayload; +export declare type GatewayGuildScheduledEventCreateDispatchData = APIGuildScheduledEvent; +export declare type GatewayGuildScheduledEventUpdateDispatch = DataPayload; +export declare type GatewayGuildScheduledEventUpdateDispatchData = APIGuildScheduledEvent; +export declare type GatewayGuildScheduledEventDeleteDispatch = DataPayload; +export declare type GatewayGuildScheduledEventDeleteDispatchData = APIGuildScheduledEvent; +export declare type GatewayGuildScheduledEventUserAddDispatch = DataPayload; +export interface GatewayGuildScheduledEventUserAddDispatchData { + guild_scheduled_event_id: Snowflake; + user_id: Snowflake; + guild_id: Snowflake; +} +export declare type GatewayGuildScheduledEventUserRemoveDispatch = DataPayload; +export interface GatewayGuildScheduledEventUserRemoveDispatchData { + guild_scheduled_event_id: Snowflake; + user_id: Snowflake; + guild_id: Snowflake; +} +/** + * https://discord.com/developers/docs/topics/gateway#integration-create + */ +export declare type GatewayIntegrationCreateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#integration-create + */ +export declare type GatewayIntegrationCreateDispatchData = APIGuildIntegration & { + guild_id: Snowflake; +}; +/** + * https://discord.com/developers/docs/topics/gateway#integration-update + */ +export declare type GatewayIntegrationUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#integration-update + */ +export declare type GatewayIntegrationUpdateDispatchData = APIGuildIntegration & { + guild_id: Snowflake; +}; +/** + * https://discord.com/developers/docs/topics/gateway#integration-update + */ +export declare type GatewayIntegrationDeleteDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#integration-delete + */ +export interface GatewayIntegrationDeleteDispatchData { + /** + * Integration id + */ + id: Snowflake; + /** + * ID of the guild + */ + guild_id: Snowflake; + /** + * ID of the bot/OAuth2 application for this Discord integration + */ + application_id?: Snowflake; +} +/** + * https://discord.com/developers/docs/topics/gateway#interaction-create + */ +export declare type GatewayInteractionCreateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#interaction-create + */ +export declare type GatewayInteractionCreateDispatchData = APIInteraction; +/** + * https://discord.com/developers/docs/topics/gateway#invite-create + */ +export declare type GatewayInviteCreateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#invite-create + */ +export interface GatewayInviteCreateDispatchData { + /** + * The channel the invite is for + */ + channel_id: Snowflake; + /** + * The unique invite code + * + * See https://discord.com/developers/docs/resources/invite#invite-object + */ + code: string; + /** + * The time at which the invite was created + */ + created_at: number; + /** + * The guild of the invite + */ + guild_id?: Snowflake; + /** + * The user that created the invite + * + * See https://discord.com/developers/docs/resources/user#user-object + */ + inviter?: APIUser; + /** + * How long the invite is valid for (in seconds) + */ + max_age: number; + /** + * The maximum number of times the invite can be used + */ + max_uses: number; + /** + * The type of target for this voice channel invite + * + * See https://discord.com/developers/docs/resources/invite#invite-object-invite-target-types + */ + target_type?: InviteTargetType; + /** + * The user whose stream to display for this voice channel stream invite + * + * See https://discord.com/developers/docs/resources/user#user-object + */ + target_user?: APIUser; + /** + * The embedded application to open for this voice channel embedded application invite + */ + target_application?: Partial; + /** + * Whether or not the invite is temporary (invited users will be kicked on disconnect unless they're assigned a role) + */ + temporary: boolean; + /** + * How many times the invite has been used (always will be `0`) + */ + uses: 0; +} +/** + * https://discord.com/developers/docs/topics/gateway#invite-delete + */ +export declare type GatewayInviteDeleteDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#invite-delete + */ +export interface GatewayInviteDeleteDispatchData { + /** + * The channel of the invite + */ + channel_id: Snowflake; + /** + * The guild of the invite + */ + guild_id?: Snowflake; + /** + * The unique invite code + * + * See https://discord.com/developers/docs/resources/invite#invite-object + */ + code: string; +} +/** + * https://discord.com/developers/docs/topics/gateway#message-create + */ +export declare type GatewayMessageCreateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#message-create + */ +export declare type GatewayMessageCreateDispatchData = Omit & GatewayMessageEventExtraFields; +/** + * https://discord.com/developers/docs/topics/gateway#message-update + */ +export declare type GatewayMessageUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#message-update + */ +export declare type GatewayMessageUpdateDispatchData = Omit, 'mentions'> & GatewayMessageEventExtraFields & { + /** + * ID of the message + */ + id: Snowflake; + /** + * ID of the channel the message was sent in + */ + channel_id: Snowflake; +}; +export interface GatewayMessageEventExtraFields { + /** + * ID of the guild the message was sent in + */ + guild_id?: Snowflake; + /** + * Member properties for this message's author + * + * The member object exists in `MESSAGE_CREATE` and `MESSAGE_UPDATE` events + * from text-based guild channels + * + * See https://discord.com/developers/docs/resources/guild#guild-member-object + */ + member?: APIGuildMember; + /** + * Users specifically mentioned in the message + * + * The `member` field is only present in `MESSAGE_CREATE` and `MESSAGE_UPDATE` events + * from text-based guild channels + * + * See https://discord.com/developers/docs/resources/user#user-object + * See https://discord.com/developers/docs/resources/guild#guild-member-object + */ + mentions: (APIUser & { + member?: Omit; + })[]; +} +/** + * https://discord.com/developers/docs/topics/gateway#message-delete + */ +export declare type GatewayMessageDeleteDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#message-delete + */ +export interface GatewayMessageDeleteDispatchData { + /** + * The id of the message + */ + id: Snowflake; + /** + * The id of the channel + */ + channel_id: Snowflake; + /** + * The id of the guild + */ + guild_id?: Snowflake; +} +/** + * https://discord.com/developers/docs/topics/gateway#message-delete-bulk + */ +export declare type GatewayMessageDeleteBulkDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#message-delete-bulk + */ +export interface GatewayMessageDeleteBulkDispatchData { + /** + * The ids of the messages + */ + ids: Snowflake[]; + /** + * The id of the channel + */ + channel_id: Snowflake; + /** + * The id of the guild + */ + guild_id?: Snowflake; +} +/** + * https://discord.com/developers/docs/topics/gateway#message-reaction-add + */ +export declare type GatewayMessageReactionAddDispatch = ReactionData; +/** + * https://discord.com/developers/docs/topics/gateway#message-reaction-add + */ +export declare type GatewayMessageReactionAddDispatchData = GatewayMessageReactionAddDispatch['d']; +/** + * https://discord.com/developers/docs/topics/gateway#message-reaction-remove + */ +export declare type GatewayMessageReactionRemoveDispatch = ReactionData; +/** + * https://discord.com/developers/docs/topics/gateway#message-reaction-remove + */ +export declare type GatewayMessageReactionRemoveDispatchData = GatewayMessageReactionRemoveDispatch['d']; +/** + * https://discord.com/developers/docs/topics/gateway#message-reaction-remove-all + */ +export declare type GatewayMessageReactionRemoveAllDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#message-reaction-remove-all + */ +export declare type GatewayMessageReactionRemoveAllDispatchData = MessageReactionRemoveData; +/** + * https://discord.com/developers/docs/topics/gateway#message-reaction-remove-emoji + */ +export declare type GatewayMessageReactionRemoveEmojiDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#message-reaction-remove-emoji + */ +export interface GatewayMessageReactionRemoveEmojiDispatchData extends MessageReactionRemoveData { + /** + * The emoji that was removed + */ + emoji: APIEmoji; +} +/** + * https://discord.com/developers/docs/topics/gateway#presence-update + */ +export declare type GatewayPresenceUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#presence-update + */ +export declare type GatewayPresenceUpdateDispatchData = RawGatewayPresenceUpdate; +/** + * https://discord.com/developers/docs/topics/gateway#stage-instance-create + */ +export declare type GatewayStageInstanceCreateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#stage-instance-create + */ +export declare type GatewayStageInstanceCreateDispatchData = APIStageInstance; +/** + * https://discord.com/developers/docs/topics/gateway#stage-instance-delete + */ +export declare type GatewayStageInstanceDeleteDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#stage-instance-delete + */ +export declare type GatewayStageInstanceDeleteDispatchData = APIStageInstance; +/** + * https://discord.com/developers/docs/topics/gateway#stage-instance-update + */ +export declare type GatewayStageInstanceUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#stage-instance-update + */ +export declare type GatewayStageInstanceUpdateDispatchData = APIStageInstance; +/** + * https://discord.com/developers/docs/topics/gateway#thread-list-sync + */ +export declare type GatewayThreadListSyncDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#thread-list-sync + */ +export declare type GatewayThreadListSyncDispatchData = RawGatewayThreadListSync; +/** + * https://discord.com/developers/docs/topics/gateway#thread-members-update + */ +export declare type GatewayThreadMembersUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#thread-members-update + */ +export declare type GatewayThreadMembersUpdateDispatchData = RawGatewayThreadMembersUpdate; +/** + * https://discord.com/developers/docs/topics/gateway#thread-member-update + */ +export declare type GatewayThreadMemberUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#thread-member-update + */ +export declare type GatewayThreadMemberUpdateDispatchData = APIThreadMember & { + guild_id: Snowflake; +}; +/** + * https://discord.com/developers/docs/topics/gateway#thread-create + * https://discord.com/developers/docs/topics/gateway#thread-update + * https://discord.com/developers/docs/topics/gateway#thread-delete + */ +export declare type GatewayThreadModifyDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#thread-create + */ +export declare type GatewayThreadCreateDispatch = GatewayChannelModifyDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#thread-create + */ +export interface GatewayThreadCreateDispatchData extends APIThreadChannel { + /** + * Whether the thread is newly created or not. + */ + newly_created?: true; +} +/** + * https://discord.com/developers/docs/topics/gateway#thread-update + */ +export declare type GatewayThreadUpdateDispatch = GatewayChannelModifyDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#thread-update + */ +export declare type GatewayThreadUpdateDispatchData = GatewayChannelModifyDispatchData; +/** + * https://discord.com/developers/docs/topics/gateway#thread-delete + */ +export declare type GatewayThreadDeleteDispatch = GatewayChannelModifyDispatch; +/** + * https://discord.com/developers/docs/topics/gateway#thread-delete + */ +export declare type GatewayThreadDeleteDispatchData = GatewayChannelModifyDispatchData; +/** + * https://discord.com/developers/docs/topics/gateway#typing-start + */ +export declare type GatewayTypingStartDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#typing-start + */ +export interface GatewayTypingStartDispatchData { + /** + * The id of the channel + */ + channel_id: Snowflake; + /** + * The id of the guild + */ + guild_id?: Snowflake; + /** + * The id of the user + */ + user_id: Snowflake; + /** + * Unix time (in seconds) of when the user started typing + */ + timestamp: number; + /** + * The member who started typing if this happened in a guild + * + * See https://discord.com/developers/docs/resources/guild#guild-member-object + */ + member?: APIGuildMember; +} +/** + * https://discord.com/developers/docs/topics/gateway#user-update + */ +export declare type GatewayUserUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#user-update + */ +export declare type GatewayUserUpdateDispatchData = APIUser; +/** + * https://discord.com/developers/docs/topics/gateway#voice-state-update + */ +export declare type GatewayVoiceStateUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#voice-state-update + */ +export declare type GatewayVoiceStateUpdateDispatchData = GatewayVoiceState; +/** + * https://discord.com/developers/docs/topics/gateway#voice-server-update + */ +export declare type GatewayVoiceServerUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#voice-server-update + */ +export interface GatewayVoiceServerUpdateDispatchData { + /** + * Voice connection token + */ + token: string; + /** + * The guild this voice server update is for + */ + guild_id: Snowflake; + /** + * The voice server host + * + * A `null` endpoint means that the voice server allocated has gone away and is trying to be reallocated. + * You should attempt to disconnect from the currently connected voice server, and not attempt to reconnect + * until a new voice server is allocated + */ + endpoint: string | null; +} +/** + * https://discord.com/developers/docs/topics/gateway#webhooks-update + */ +export declare type GatewayWebhooksUpdateDispatch = DataPayload; +/** + * https://discord.com/developers/docs/topics/gateway#webhooks-update + */ +export interface GatewayWebhooksUpdateDispatchData { + /** + * The id of the guild + */ + guild_id: Snowflake; + /** + * The id of the channel + */ + channel_id: Snowflake; +} +/** + * https://discord.com/developers/docs/topics/gateway#heartbeating + */ +export interface GatewayHeartbeat { + op: GatewayOpcodes.Heartbeat; + d: GatewayHeartbeatData; +} +/** + * https://discord.com/developers/docs/topics/gateway#heartbeating + */ +export declare type GatewayHeartbeatData = number | null; +/** + * https://discord.com/developers/docs/topics/gateway#identify + */ +export interface GatewayIdentify { + op: GatewayOpcodes.Identify; + d: GatewayIdentifyData; +} +/** + * https://discord.com/developers/docs/topics/gateway#identify + */ +export interface GatewayIdentifyData { + /** + * Authentication token + */ + token: string; + /** + * Connection properties + * + * See https://discord.com/developers/docs/topics/gateway#identify-identify-connection-properties + */ + properties: GatewayIdentifyProperties; + /** + * Whether this connection supports compression of packets + * + * @default false + */ + compress?: boolean; + /** + * Value between 50 and 250, total number of members where the gateway will stop sending + * offline members in the guild member list + * + * @default 50 + */ + large_threshold?: number; + /** + * Used for Guild Sharding + * + * See https://discord.com/developers/docs/topics/gateway#sharding + */ + shard?: [shard_id: number, shard_count: number]; + /** + * Presence structure for initial presence information + * + * See https://discord.com/developers/docs/topics/gateway#update-presence + */ + presence?: GatewayPresenceUpdateData; + /** + * The Gateway Intents you wish to receive + * + * See https://discord.com/developers/docs/topics/gateway#gateway-intents + */ + intents: number; +} +/** + * https://discord.com/developers/docs/topics/gateway#identify-identify-connection-properties + */ +export interface GatewayIdentifyProperties { + /** + * Your operating system + */ + os: string; + /** + * Your library name + */ + browser: string; + /** + * Your library name + */ + device: string; +} +/** + * https://discord.com/developers/docs/topics/gateway#resume + */ +export interface GatewayResume { + op: GatewayOpcodes.Resume; + d: GatewayResumeData; +} +/** + * https://discord.com/developers/docs/topics/gateway#resume + */ +export interface GatewayResumeData { + /** + * Session token + */ + token: string; + /** + * Session id + */ + session_id: string; + /** + * Last sequence number received + */ + seq: number; +} +/** + * https://discord.com/developers/docs/topics/gateway#request-guild-members + */ +export interface GatewayRequestGuildMembers { + op: GatewayOpcodes.RequestGuildMembers; + d: GatewayRequestGuildMembersData; +} +/** + * https://discord.com/developers/docs/topics/gateway#request-guild-members + */ +export interface GatewayRequestGuildMembersData { + /** + * ID of the guild to get members for + */ + guild_id: Snowflake; + /** + * String that username starts with, or an empty string to return all members + */ + query?: string; + /** + * Maximum number of members to send matching the `query`; + * a limit of `0` can be used with an empty string `query` to return all members + */ + limit: number; + /** + * Used to specify if we want the presences of the matched members + */ + presences?: boolean; + /** + * Used to specify which users you wish to fetch + */ + user_ids?: Snowflake | Snowflake[]; + /** + * Nonce to identify the Guild Members Chunk response + * + * Nonce can only be up to 32 bytes. If you send an invalid nonce it will be ignored and the reply member_chunk(s) will not have a `nonce` set. + * + * See https://discord.com/developers/docs/topics/gateway#guild-members-chunk + */ + nonce?: string; +} +/** + * https://discord.com/developers/docs/topics/gateway#update-voice-state + */ +export interface GatewayVoiceStateUpdate { + op: GatewayOpcodes.VoiceStateUpdate; + d: GatewayVoiceStateUpdateData; +} +/** + * https://discord.com/developers/docs/topics/gateway#update-voice-state + */ +export interface GatewayVoiceStateUpdateData { + /** + * ID of the guild + */ + guild_id: Snowflake; + /** + * ID of the voice channel client wants to join (`null` if disconnecting) + */ + channel_id: Snowflake | null; + /** + * Is the client muted + */ + self_mute: boolean; + /** + * Is the client deafened + */ + self_deaf: boolean; +} +/** + * https://discord.com/developers/docs/topics/gateway#update-status + */ +export interface GatewayUpdatePresence { + op: GatewayOpcodes.PresenceUpdate; + d: GatewayPresenceUpdateData; +} +/** + * https://discord.com/developers/docs/topics/gateway#update-presence-gateway-presence-update-structure + */ +export interface GatewayPresenceUpdateData { + /** + * Unix time (in milliseconds) of when the client went idle, or `null` if the client is not idle + */ + since: number | null; + /** + * The user's activities + * + * See https://discord.com/developers/docs/topics/gateway#activity-object + */ + activities: GatewayActivityUpdateData[]; + /** + * The user's new status + * + * See https://discord.com/developers/docs/topics/gateway#update-presence-status-types + */ + status: PresenceUpdateStatus; + /** + * Whether or not the client is afk + */ + afk: boolean; +} +/** + * https://discord.com/developers/docs/topics/gateway#activity-object-activity-structure + */ +export declare type GatewayActivityUpdateData = Pick; +interface BasePayload { + /** + * Opcode for the payload + */ + op: GatewayOpcodes; + /** + * Event data + */ + d?: unknown; + /** + * Sequence number, used for resuming sessions and heartbeats + */ + s: number; + /** + * The event name for this payload + */ + t?: string; +} +declare type NonDispatchPayload = Omit & { + t: null; + s: null; +}; +interface DataPayload extends BasePayload { + op: GatewayOpcodes.Dispatch; + t: Event; + d: D; +} +declare type ReactionData = DataPayload>; +interface MessageReactionRemoveData { + /** + * The id of the channel + */ + channel_id: Snowflake; + /** + * The id of the message + */ + message_id: Snowflake; + /** + * The id of the guild + */ + guild_id?: Snowflake; +} +//# sourceMappingURL=v9.d.ts.map \ No newline at end of file diff --git a/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v9.d.ts.map b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v9.d.ts.map new file mode 100644 index 0000000..990831d --- /dev/null +++ b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v9.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"v9.d.ts","sourceRoot":"","sources":["v9.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AACpE,OAAO,KAAK,EACX,cAAc,EACd,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,cAAc,EACd,UAAU,EACV,OAAO,EACP,gBAAgB,EAChB,UAAU,EACV,gBAAgB,EAChB,eAAe,EACf,mBAAmB,EACnB,OAAO,EACP,eAAe,EACf,qBAAqB,IAAI,wBAAwB,EACjD,qBAAqB,IAAI,wBAAwB,EACjD,0BAA0B,IAAI,6BAA6B,EAC3D,iBAAiB,EACjB,gBAAgB,EAChB,oBAAoB,EACpB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEnD,cAAc,UAAU,CAAC;AAEzB,eAAO,MAAM,cAAc,MAAM,CAAC;AAElC;;GAEG;AACH,oBAAY,cAAc;IACzB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AS,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;;;OAIG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB;;;;OAIG;IACH,KAAK,EAAE,QAAQ,CAAC;CAChB,EACD,CAAC,CACD,CACD,CAAC;AAEF,UAAU,yBAAyB;IAClC;;OAEG;IACH,UAAU,EAAE,SAAS,CAAC;IACtB;;OAEG;IACH,UAAU,EAAE,SAAS,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACrB"} \ No newline at end of file diff --git a/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v9.js b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v9.js new file mode 100644 index 0000000..d4b53f5 --- /dev/null +++ b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v9.js @@ -0,0 +1,242 @@ +"use strict"; +/** + * Types extracted from https://discord.com/developers/docs/topics/gateway + */ +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GatewayDispatchEvents = exports.GatewayIntentBits = exports.GatewayCloseCodes = exports.GatewayOpcodes = exports.GatewayVersion = void 0; +__exportStar(require("./common"), exports); +exports.GatewayVersion = '9'; +/** + * https://discord.com/developers/docs/topics/opcodes-and-status-codes#gateway-gateway-opcodes + */ +var GatewayOpcodes; +(function (GatewayOpcodes) { + /** + * An event was dispatched + */ + GatewayOpcodes[GatewayOpcodes["Dispatch"] = 0] = "Dispatch"; + /** + * A bidirectional opcode to maintain an active gateway connection. + * Fired periodically by the client, or fired by the gateway to request an immediate heartbeat from the client. + */ + GatewayOpcodes[GatewayOpcodes["Heartbeat"] = 1] = "Heartbeat"; + /** + * Starts a new session during the initial handshake + */ + GatewayOpcodes[GatewayOpcodes["Identify"] = 2] = "Identify"; + /** + * Update the client's presence + */ + GatewayOpcodes[GatewayOpcodes["PresenceUpdate"] = 3] = "PresenceUpdate"; + /** + * Used to join/leave or move between voice channels + */ + GatewayOpcodes[GatewayOpcodes["VoiceStateUpdate"] = 4] = "VoiceStateUpdate"; + /** + * Resume a previous session that was disconnected + */ + GatewayOpcodes[GatewayOpcodes["Resume"] = 6] = "Resume"; + /** + * You should attempt to reconnect and resume immediately + */ + GatewayOpcodes[GatewayOpcodes["Reconnect"] = 7] = "Reconnect"; + /** + * Request information about offline guild members in a large guild + */ + GatewayOpcodes[GatewayOpcodes["RequestGuildMembers"] = 8] = "RequestGuildMembers"; + /** + * The session has been invalidated. You should reconnect and identify/resume accordingly + */ + GatewayOpcodes[GatewayOpcodes["InvalidSession"] = 9] = "InvalidSession"; + /** + * Sent immediately after connecting, contains the `heartbeat_interval` to use + */ + GatewayOpcodes[GatewayOpcodes["Hello"] = 10] = "Hello"; + /** + * Sent in response to receiving a heartbeat to acknowledge that it has been received + */ + GatewayOpcodes[GatewayOpcodes["HeartbeatAck"] = 11] = "HeartbeatAck"; +})(GatewayOpcodes = exports.GatewayOpcodes || (exports.GatewayOpcodes = {})); +/** + * https://discord.com/developers/docs/topics/opcodes-and-status-codes#gateway-gateway-close-event-codes + */ +var GatewayCloseCodes; +(function (GatewayCloseCodes) { + /** + * We're not sure what went wrong. Try reconnecting? + */ + GatewayCloseCodes[GatewayCloseCodes["UnknownError"] = 4000] = "UnknownError"; + /** + * You sent an invalid Gateway opcode or an invalid payload for an opcode. Don't do that! + * + * See https://discord.com/developers/docs/topics/gateway#payloads-and-opcodes + */ + GatewayCloseCodes[GatewayCloseCodes["UnknownOpcode"] = 4001] = "UnknownOpcode"; + /** + * You sent an invalid payload to us. Don't do that! + * + * See https://discord.com/developers/docs/topics/gateway#sending-payloads + */ + GatewayCloseCodes[GatewayCloseCodes["DecodeError"] = 4002] = "DecodeError"; + /** + * You sent us a payload prior to identifying + * + * See https://discord.com/developers/docs/topics/gateway#identify + */ + GatewayCloseCodes[GatewayCloseCodes["NotAuthenticated"] = 4003] = "NotAuthenticated"; + /** + * The account token sent with your identify payload is incorrect + * + * See https://discord.com/developers/docs/topics/gateway#identify + */ + GatewayCloseCodes[GatewayCloseCodes["AuthenticationFailed"] = 4004] = "AuthenticationFailed"; + /** + * You sent more than one identify payload. Don't do that! + */ + GatewayCloseCodes[GatewayCloseCodes["AlreadyAuthenticated"] = 4005] = "AlreadyAuthenticated"; + /** + * The sequence sent when resuming the session was invalid. Reconnect and start a new session + * + * See https://discord.com/developers/docs/topics/gateway#resume + */ + GatewayCloseCodes[GatewayCloseCodes["InvalidSeq"] = 4007] = "InvalidSeq"; + /** + * Woah nelly! You're sending payloads to us too quickly. Slow it down! You will be disconnected on receiving this + */ + GatewayCloseCodes[GatewayCloseCodes["RateLimited"] = 4008] = "RateLimited"; + /** + * Your session timed out. Reconnect and start a new one + */ + GatewayCloseCodes[GatewayCloseCodes["SessionTimedOut"] = 4009] = "SessionTimedOut"; + /** + * You sent us an invalid shard when identifying + * + * See https://discord.com/developers/docs/topics/gateway#sharding + */ + GatewayCloseCodes[GatewayCloseCodes["InvalidShard"] = 4010] = "InvalidShard"; + /** + * The session would have handled too many guilds - you are required to shard your connection in order to connect + * + * See https://discord.com/developers/docs/topics/gateway#sharding + */ + GatewayCloseCodes[GatewayCloseCodes["ShardingRequired"] = 4011] = "ShardingRequired"; + /** + * You sent an invalid version for the gateway + */ + GatewayCloseCodes[GatewayCloseCodes["InvalidAPIVersion"] = 4012] = "InvalidAPIVersion"; + /** + * You sent an invalid intent for a Gateway Intent. You may have incorrectly calculated the bitwise value + * + * See https://discord.com/developers/docs/topics/gateway#gateway-intents + */ + GatewayCloseCodes[GatewayCloseCodes["InvalidIntents"] = 4013] = "InvalidIntents"; + /** + * You sent a disallowed intent for a Gateway Intent. You may have tried to specify an intent that you have not + * enabled or are not whitelisted for + * + * See https://discord.com/developers/docs/topics/gateway#gateway-intents + * + * See https://discord.com/developers/docs/topics/gateway#privileged-intents + */ + GatewayCloseCodes[GatewayCloseCodes["DisallowedIntents"] = 4014] = "DisallowedIntents"; +})(GatewayCloseCodes = exports.GatewayCloseCodes || (exports.GatewayCloseCodes = {})); +/** + * https://discord.com/developers/docs/topics/gateway#list-of-intents + */ +var GatewayIntentBits; +(function (GatewayIntentBits) { + GatewayIntentBits[GatewayIntentBits["Guilds"] = 1] = "Guilds"; + GatewayIntentBits[GatewayIntentBits["GuildMembers"] = 2] = "GuildMembers"; + GatewayIntentBits[GatewayIntentBits["GuildBans"] = 4] = "GuildBans"; + GatewayIntentBits[GatewayIntentBits["GuildEmojisAndStickers"] = 8] = "GuildEmojisAndStickers"; + GatewayIntentBits[GatewayIntentBits["GuildIntegrations"] = 16] = "GuildIntegrations"; + GatewayIntentBits[GatewayIntentBits["GuildWebhooks"] = 32] = "GuildWebhooks"; + GatewayIntentBits[GatewayIntentBits["GuildInvites"] = 64] = "GuildInvites"; + GatewayIntentBits[GatewayIntentBits["GuildVoiceStates"] = 128] = "GuildVoiceStates"; + GatewayIntentBits[GatewayIntentBits["GuildPresences"] = 256] = "GuildPresences"; + GatewayIntentBits[GatewayIntentBits["GuildMessages"] = 512] = "GuildMessages"; + GatewayIntentBits[GatewayIntentBits["GuildMessageReactions"] = 1024] = "GuildMessageReactions"; + GatewayIntentBits[GatewayIntentBits["GuildMessageTyping"] = 2048] = "GuildMessageTyping"; + GatewayIntentBits[GatewayIntentBits["DirectMessages"] = 4096] = "DirectMessages"; + GatewayIntentBits[GatewayIntentBits["DirectMessageReactions"] = 8192] = "DirectMessageReactions"; + GatewayIntentBits[GatewayIntentBits["DirectMessageTyping"] = 16384] = "DirectMessageTyping"; + GatewayIntentBits[GatewayIntentBits["GuildScheduledEvents"] = 65536] = "GuildScheduledEvents"; +})(GatewayIntentBits = exports.GatewayIntentBits || (exports.GatewayIntentBits = {})); +/** + * https://discord.com/developers/docs/topics/gateway#commands-and-events-gateway-events + */ +var GatewayDispatchEvents; +(function (GatewayDispatchEvents) { + GatewayDispatchEvents["ApplicationCommandPermissionsUpdate"] = "APPLICATION_COMMAND_PERMISSIONS_UPDATE"; + GatewayDispatchEvents["ChannelCreate"] = "CHANNEL_CREATE"; + GatewayDispatchEvents["ChannelDelete"] = "CHANNEL_DELETE"; + GatewayDispatchEvents["ChannelPinsUpdate"] = "CHANNEL_PINS_UPDATE"; + GatewayDispatchEvents["ChannelUpdate"] = "CHANNEL_UPDATE"; + GatewayDispatchEvents["GuildBanAdd"] = "GUILD_BAN_ADD"; + GatewayDispatchEvents["GuildBanRemove"] = "GUILD_BAN_REMOVE"; + GatewayDispatchEvents["GuildCreate"] = "GUILD_CREATE"; + GatewayDispatchEvents["GuildDelete"] = "GUILD_DELETE"; + GatewayDispatchEvents["GuildEmojisUpdate"] = "GUILD_EMOJIS_UPDATE"; + GatewayDispatchEvents["GuildIntegrationsUpdate"] = "GUILD_INTEGRATIONS_UPDATE"; + GatewayDispatchEvents["GuildMemberAdd"] = "GUILD_MEMBER_ADD"; + GatewayDispatchEvents["GuildMemberRemove"] = "GUILD_MEMBER_REMOVE"; + GatewayDispatchEvents["GuildMembersChunk"] = "GUILD_MEMBERS_CHUNK"; + GatewayDispatchEvents["GuildMemberUpdate"] = "GUILD_MEMBER_UPDATE"; + GatewayDispatchEvents["GuildRoleCreate"] = "GUILD_ROLE_CREATE"; + GatewayDispatchEvents["GuildRoleDelete"] = "GUILD_ROLE_DELETE"; + GatewayDispatchEvents["GuildRoleUpdate"] = "GUILD_ROLE_UPDATE"; + GatewayDispatchEvents["GuildStickersUpdate"] = "GUILD_STICKERS_UPDATE"; + GatewayDispatchEvents["GuildUpdate"] = "GUILD_UPDATE"; + GatewayDispatchEvents["IntegrationCreate"] = "INTEGRATION_CREATE"; + GatewayDispatchEvents["IntegrationDelete"] = "INTEGRATION_DELETE"; + GatewayDispatchEvents["IntegrationUpdate"] = "INTEGRATION_UPDATE"; + GatewayDispatchEvents["InteractionCreate"] = "INTERACTION_CREATE"; + GatewayDispatchEvents["InviteCreate"] = "INVITE_CREATE"; + GatewayDispatchEvents["InviteDelete"] = "INVITE_DELETE"; + GatewayDispatchEvents["MessageCreate"] = "MESSAGE_CREATE"; + GatewayDispatchEvents["MessageDelete"] = "MESSAGE_DELETE"; + GatewayDispatchEvents["MessageDeleteBulk"] = "MESSAGE_DELETE_BULK"; + GatewayDispatchEvents["MessageReactionAdd"] = "MESSAGE_REACTION_ADD"; + GatewayDispatchEvents["MessageReactionRemove"] = "MESSAGE_REACTION_REMOVE"; + GatewayDispatchEvents["MessageReactionRemoveAll"] = "MESSAGE_REACTION_REMOVE_ALL"; + GatewayDispatchEvents["MessageReactionRemoveEmoji"] = "MESSAGE_REACTION_REMOVE_EMOJI"; + GatewayDispatchEvents["MessageUpdate"] = "MESSAGE_UPDATE"; + GatewayDispatchEvents["PresenceUpdate"] = "PRESENCE_UPDATE"; + GatewayDispatchEvents["StageInstanceCreate"] = "STAGE_INSTANCE_CREATE"; + GatewayDispatchEvents["StageInstanceDelete"] = "STAGE_INSTANCE_DELETE"; + GatewayDispatchEvents["StageInstanceUpdate"] = "STAGE_INSTANCE_UPDATE"; + GatewayDispatchEvents["Ready"] = "READY"; + GatewayDispatchEvents["Resumed"] = "RESUMED"; + GatewayDispatchEvents["ThreadCreate"] = "THREAD_CREATE"; + GatewayDispatchEvents["ThreadDelete"] = "THREAD_DELETE"; + GatewayDispatchEvents["ThreadListSync"] = "THREAD_LIST_SYNC"; + GatewayDispatchEvents["ThreadMembersUpdate"] = "THREAD_MEMBERS_UPDATE"; + GatewayDispatchEvents["ThreadMemberUpdate"] = "THREAD_MEMBER_UPDATE"; + GatewayDispatchEvents["ThreadUpdate"] = "THREAD_UPDATE"; + GatewayDispatchEvents["TypingStart"] = "TYPING_START"; + GatewayDispatchEvents["UserUpdate"] = "USER_UPDATE"; + GatewayDispatchEvents["VoiceServerUpdate"] = "VOICE_SERVER_UPDATE"; + GatewayDispatchEvents["VoiceStateUpdate"] = "VOICE_STATE_UPDATE"; + GatewayDispatchEvents["WebhooksUpdate"] = "WEBHOOKS_UPDATE"; + GatewayDispatchEvents["GuildScheduledEventCreate"] = "GUILD_SCHEDULED_EVENT_CREATE"; + GatewayDispatchEvents["GuildScheduledEventUpdate"] = "GUILD_SCHEDULED_EVENT_UPDATE"; + GatewayDispatchEvents["GuildScheduledEventDelete"] = "GUILD_SCHEDULED_EVENT_DELETE"; + GatewayDispatchEvents["GuildScheduledEventUserAdd"] = "GUILD_SCHEDULED_EVENT_USER_ADD"; + GatewayDispatchEvents["GuildScheduledEventUserRemove"] = "GUILD_SCHEDULED_EVENT_USER_REMOVE"; +})(GatewayDispatchEvents = exports.GatewayDispatchEvents || (exports.GatewayDispatchEvents = {})); +// #endregion Shared +//# sourceMappingURL=v9.js.map \ No newline at end of file diff --git a/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v9.js.map b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v9.js.map new file mode 100644 index 0000000..411535b --- /dev/null +++ b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v9.js.map @@ -0,0 +1 @@ +{"version":3,"file":"v9.js","sourceRoot":"","sources":["v9.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;AA+BH,2CAAyB;AAEZ,QAAA,cAAc,GAAG,GAAG,CAAC;AAElC;;GAEG;AACH,IAAY,cA8CX;AA9CD,WAAY,cAAc;IACzB;;OAEG;IACH,2DAAQ,CAAA;IACR;;;OAGG;IACH,6DAAS,CAAA;IACT;;OAEG;IACH,2DAAQ,CAAA;IACR;;OAEG;IACH,uEAAc,CAAA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FAA0D,CAAA;IAC1D,mFAA0D,CAAA;IAC1D,sFAA6D,CAAA;IAC7D,4FAAmE,CAAA;AACpE,CAAC,EAzDW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAyDhC;AAmjDD,oBAAoB"} \ No newline at end of file diff --git a/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v9.mjs b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v9.mjs new file mode 100644 index 0000000..27b1baf --- /dev/null +++ b/node_modules/@discordjs/builders/node_modules/discord-api-types/gateway/v9.mjs @@ -0,0 +1,8 @@ +import mod from "./v9.js"; + +export default mod; +export const GatewayCloseCodes = mod.GatewayCloseCodes; +export const GatewayDispatchEvents = mod.GatewayDispatchEvents; +export const GatewayIntentBits = mod.GatewayIntentBits; +export const GatewayOpcodes = mod.GatewayOpcodes; +export const GatewayVersion = mod.GatewayVersion; diff --git a/node_modules/@discordjs/builders/node_modules/discord-api-types/globals.d.ts b/node_modules/@discordjs/builders/node_modules/discord-api-types/globals.d.ts new file mode 100644 index 0000000..5658aae --- /dev/null +++ b/node_modules/@discordjs/builders/node_modules/discord-api-types/globals.d.ts @@ -0,0 +1,83 @@ +/** + * https://discord.com/developers/docs/reference#snowflakes + */ +export declare type Snowflake = string; +/** + * https://discord.com/developers/docs/topics/permissions + * @internal + */ +export declare type Permissions = string; +/** + * https://discord.com/developers/docs/reference#message-formatting-formats + */ +export declare const FormattingPatterns: { + /** + * Regular expression for matching a user mention, strictly without a nickname + * + * The `id` group property is present on the `exec` result of this expression + */ + readonly User: RegExp; + /** + * Regular expression for matching a user mention, strictly with a nickname + * + * The `id` group property is present on the `exec` result of this expression + * @deprecated Passing `!` in user mentions is no longer necessary / supported, and future message contents won't have it + */ + readonly UserWithNickname: RegExp; + /** + * Regular expression for matching a user mention, with or without a nickname + * + * The `id` group property is present on the `exec` result of this expression + * @deprecated Passing `!` in user mentions is no longer necessary / supported, and future message contents won't have it + */ + readonly UserWithOptionalNickname: RegExp; + /** + * Regular expression for matching a channel mention + * + * The `id` group property is present on the `exec` result of this expression + */ + readonly Channel: RegExp; + /** + * Regular expression for matching a role mention + * + * The `id` group property is present on the `exec` result of this expression + */ + readonly Role: RegExp; + /** + * Regular expression for matching a custom emoji, either static or animated + * + * The `animated`, `name` and `id` group properties are present on the `exec` result of this expression + */ + readonly Emoji: RegExp; + /** + * Regular expression for matching strictly an animated custom emoji + * + * The `animated`, `name` and `id` group properties are present on the `exec` result of this expression + */ + readonly AnimatedEmoji: RegExp; + /** + * Regular expression for matching strictly a static custom emoji + * + * The `name` and `id` group properties are present on the `exec` result of this expression + */ + readonly StaticEmoji: RegExp; + /** + * Regular expression for matching a timestamp, either default or custom styled + * + * The `timestamp` and `style` group properties are present on the `exec` result of this expression + */ + readonly Timestamp: RegExp; + /** + * Regular expression for matching strictly default styled timestamps + * + * The `timestamp` group property is present on the `exec` result of this expression + */ + readonly DefaultStyledTimestamp: RegExp; + /** + * Regular expression for matching strictly custom styled timestamps + * + * The `timestamp` and `style` group properties are present on the `exec` result of this expression + */ + readonly StyledTimestamp: RegExp; +}; +//# sourceMappingURL=globals.d.ts.map \ No newline at end of file diff --git a/node_modules/@discordjs/builders/node_modules/discord-api-types/globals.d.ts.map b/node_modules/@discordjs/builders/node_modules/discord-api-types/globals.d.ts.map new file mode 100644 index 0000000..3ace4f5 --- /dev/null +++ b/node_modules/@discordjs/builders/node_modules/discord-api-types/globals.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"globals.d.ts","sourceRoot":"","sources":["globals.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,SAAS,GAAG,MAAM,CAAC;AAE/B;;;GAGG;AACH,oBAAY,WAAW,GAAG,MAAM,CAAC;AAEjC;;GAEG;AACH,eAAO,MAAM,kBAAkB;IAC9B;;;;OAIG;;IAEH;;;;;OAKG;;IAEH;;;;;OAKG;;IAEH;;;;OAIG;;IAEH;;;;OAIG;;IAEH;;;;OAIG;;IAEH;;;;OAIG;;IAEH;;;;OAIG;;IAEH;;;;OAIG;;IAEH;;;;OAIG;;IAEH;;;;OAIG;;CAEM,CAAC"} \ No newline at end of file diff --git a/node_modules/@discordjs/builders/node_modules/discord-api-types/globals.js b/node_modules/@discordjs/builders/node_modules/discord-api-types/globals.js new file mode 100644 index 0000000..2b53b68 --- /dev/null +++ b/node_modules/@discordjs/builders/node_modules/discord-api-types/globals.js @@ -0,0 +1,82 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.FormattingPatterns = void 0; +/** + * https://discord.com/developers/docs/reference#message-formatting-formats + */ +exports.FormattingPatterns = { + /** + * Regular expression for matching a user mention, strictly without a nickname + * + * The `id` group property is present on the `exec` result of this expression + */ + User: /<@(?\d{17,20})>/, + /** + * Regular expression for matching a user mention, strictly with a nickname + * + * The `id` group property is present on the `exec` result of this expression + * @deprecated Passing `!` in user mentions is no longer necessary / supported, and future message contents won't have it + */ + UserWithNickname: /<@!(?\d{17,20})>/, + /** + * Regular expression for matching a user mention, with or without a nickname + * + * The `id` group property is present on the `exec` result of this expression + * @deprecated Passing `!` in user mentions is no longer necessary / supported, and future message contents won't have it + */ + UserWithOptionalNickname: /<@!?(?\d{17,20})>/, + /** + * Regular expression for matching a channel mention + * + * The `id` group property is present on the `exec` result of this expression + */ + Channel: /<#(?\d{17,20})>/, + /** + * Regular expression for matching a role mention + * + * The `id` group property is present on the `exec` result of this expression + */ + Role: /<@&(?\d{17,20})>/, + /** + * Regular expression for matching a custom emoji, either static or animated + * + * The `animated`, `name` and `id` group properties are present on the `exec` result of this expression + */ + Emoji: /<(?a)?:(?\w{2,32}):(?\d{17,20})>/, + /** + * Regular expression for matching strictly an animated custom emoji + * + * The `animated`, `name` and `id` group properties are present on the `exec` result of this expression + */ + AnimatedEmoji: /<(?a):(?\w{2,32}):(?\d{17,20})>/, + /** + * Regular expression for matching strictly a static custom emoji + * + * The `name` and `id` group properties are present on the `exec` result of this expression + */ + StaticEmoji: /<:(?\w{2,32}):(?\d{17,20})>/, + /** + * Regular expression for matching a timestamp, either default or custom styled + * + * The `timestamp` and `style` group properties are present on the `exec` result of this expression + */ + Timestamp: /-?\d{1,13})(:(?