import { type RESTError } from "https://deno.land/x/discord_api_types@0.37.40/payloads/common.ts";
v10v6v8v9APIActionRowComponentAPIAllowedMentionsAPIApplicationAPIApplicationCommandAPIApplicationCommandAutocompleteResponseAPIApplicationCommandChannelOptionAPIApplicationCommandInteractionDataIntegerOptionAPIApplicationCommandInteractionDataNumberOptionAPIApplicationCommandInteractionDataStringOptionAPIApplicationCommandInteractionDataSubcommandGroupOptionAPIApplicationCommandInteractionDataSubcommandOptionAPIApplicationCommandOptionBaseAPIApplicationCommandOptionChoiceAPIApplicationCommandPermissionAPIApplicationCommandSubcommandGroupOptionAPIApplicationCommandSubcommandOptionAPIApplicationInstallParamsAPIApplicationRoleConnectionAPIApplicationRoleConnectionMetadataAPIAttachmentAPIAuditLogAPIAuditLogEntryAPIAuditLogOptionsAPIAutoModerationActionAPIAutoModerationActionMetadataAPIAutoModerationRuleAPIAutoModerationRuleTriggerMetadataAPIBanAPIBaseComponentAPIBaseInteractionAPIBaseSelectMenuComponentAPIButtonComponentBaseAPIButtonComponentWithCustomIdAPIButtonComponentWithURLAPIChannelBaseAPIChannelMentionAPIChannelSelectComponentAPIChatInputApplicationCommandInteractionDataAPICommandAutocompleteInteractionResponseCallbackDataAPIConnectionAPIDMChannelAPIDMChannelBaseAPIEmbedAPIEmbedAuthorAPIEmbedFieldAPIEmbedFooterAPIEmbedImageAPIEmbedProviderAPIEmbedThumbnailAPIEmbedVideoAPIEmojiAPIExtendedInviteAPIExternalGuildScheduledEventAPIFollowedChannelAPIGatewayBotInfoAPIGatewayInfoAPIGatewaySessionStartLimitAPIGroupDMChannelAPIGuildAPIGuildApplicationCommandPermissionsAPIGuildChannelAPIGuildForumChannelAPIGuildForumDefaultReactionEmojiAPIGuildForumTagAPIGuildIntegrationAPIGuildIntegrationApplicationAPIGuildMemberAPIGuildMembershipScreeningAPIGuildMembershipScreeningFieldAPIGuildPreviewAPIGuildScheduledEventEntityMetadataAPIGuildScheduledEventUserAPIGuildTextChannelAPIGuildWelcomeScreenAPIGuildWelcomeScreenChannelAPIGuildWidgetAPIGuildWidgetChannelAPIGuildWidgetMemberAPIGuildWidgetSettingsAPIIntegrationAccountAPIInteractionDataOptionBaseAPIInteractionDataResolvedAPIInteractionDataResolvedChannelAPIInteractionDataResolvedGuildMemberAPIInteractionGuildMemberAPIInteractionResponseChannelMessageWithSourceAPIInteractionResponseDeferredChannelMessageWithSourceAPIInteractionResponseDeferredMessageUpdateAPIInteractionResponsePongAPIInteractionResponseUpdateMessageAPIInviteAPIInviteStageInstanceAPIMessageAPIMessageActivityAPIMessageApplicationCommandInteractionDataAPIMessageApplicationCommandInteractionDataResolvedAPIMessageChannelSelectInteractionDataAPIMessageComponentBaseInteractionDataAPIMessageComponentEmojiAPIMessageInteractionAPIMessageMentionableSelectInteractionDataAPIMessageReferenceAPIMessageRoleSelectInteractionDataAPIMessageRoleSubscriptionDataAPIMessageStringSelectInteractionDataAPIMessageUserSelectInteractionDataAPIModalInteractionResponseAPIModalInteractionResponseCallbackDataAPIModalSubmissionAPIOverwriteAPIPartialChannelAPIPartialEmojiAPIPartialGuildAPIReactionAPIRoleAPIRoleTagsAPISelectMenuOptionAPIStageInstanceAPIStageInstanceGuildScheduledEventAPIStickerAPIStickerPackAPIStringSelectComponentAPITeamAPITeamMemberAPITemplateAPITemplateSerializedSourceGuildAPITextBasedChannelAPITextInputComponentAPIThreadChannelAPIThreadListAPIThreadMemberAPIThreadMetadataAPIUnavailableGuildAPIUserAPIUserApplicationCommandInteractionDataAPIVoiceChannelBaseAPIVoiceGuildScheduledEventAPIVoiceRegionAPIWebhookGatewayActivityGatewayActivityButtonGatewayActivityPartyGatewayActivityTimestampsGatewayPresenceClientStatusGatewayPresenceUpdateGatewayThreadListSyncGatewayThreadMembersUpdateGatewayVoiceStateModalSubmitActionRowComponentModalSubmitComponentRESTErrorRESTErrorFieldInformationRESTErrorGroupWrapperRESTRateLimitAPIActionRowComponentTypesAPIApplicationCommandAttachmentOptionAPIApplicationCommandAutocompleteDMInteractionAPIApplicationCommandAutocompleteGuildInteractionAPIApplicationCommandAutocompleteInteractionAPIApplicationCommandBasicOptionAPIApplicationCommandBooleanOptionAPIApplicationCommandDMInteractionAPIApplicationCommandGuildInteractionAPIApplicationCommandIntegerOptionAPIApplicationCommandInteractionAPIApplicationCommandInteractionDataAPIApplicationCommandInteractionDataAttachmentOptionAPIApplicationCommandInteractionDataBasicOptionAPIApplicationCommandInteractionDataBooleanOptionAPIApplicationCommandInteractionDataChannelOptionAPIApplicationCommandInteractionDataMentionableOptionAPIApplicationCommandInteractionDataOptionAPIApplicationCommandInteractionDataRoleOptionAPIApplicationCommandInteractionDataUserOptionAPIApplicationCommandInteractionWrapperAPIApplicationCommandMentionableOptionAPIApplicationCommandNumberOptionAPIApplicationCommandOptionAPIApplicationCommandOptionWithAutocompleteOrChoicesWrapperAPIApplicationCommandRoleOptionAPIApplicationCommandStringOptionAPIApplicationCommandUserOptionAPIAuditLogChangeAPIAuditLogChangeKey$AddAPIAuditLogChangeKey$RemoveAPIAuditLogChangeKeyActionsAPIAuditLogChangeKeyAFKChannelIdAPIAuditLogChangeKeyAFKTimeoutAPIAuditLogChangeKeyAllowAPIAuditLogChangeKeyApplicationIdAPIAuditLogChangeKeyArchivedAPIAuditLogChangeKeyAssetAPIAuditLogChangeKeyAutoArchiveDurationAPIAuditLogChangeKeyAvailableAPIAuditLogChangeKeyAvatarHashAPIAuditLogChangeKeyBannerHashAPIAuditLogChangeKeyBitrateAPIAuditLogChangeKeyChannelIdAPIAuditLogChangeKeyCodeAPIAuditLogChangeKeyColorAPIAuditLogChangeKeyCommunicationDisabledUntilAPIAuditLogChangeKeyDeafAPIAuditLogChangeKeyDefaultAutoArchiveDurationAPIAuditLogChangeKeyDefaultMessageNotificationsAPIAuditLogChangeKeyDenyAPIAuditLogChangeKeyDescriptionAPIAuditLogChangeKeyDiscoverySplashHashAPIAuditLogChangeKeyEnabledAPIAuditLogChangeKeyEnableEmoticonsAPIAuditLogChangeKeyEntityTypeAPIAuditLogChangeKeyEventTypeAPIAuditLogChangeKeyExemptChannelsAPIAuditLogChangeKeyExemptRolesAPIAuditLogChangeKeyExpireBehaviorAPIAuditLogChangeKeyExpireGracePeriodAPIAuditLogChangeKeyExplicitContentFilterAPIAuditLogChangeKeyFormatTypeAPIAuditLogChangeKeyGuildIdAPIAuditLogChangeKeyHoistAPIAuditLogChangeKeyIconHashAPIAuditLogChangeKeyIdAPIAuditLogChangeKeyImageHashAPIAuditLogChangeKeyInviterIdAPIAuditLogChangeKeyLocationAPIAuditLogChangeKeyLockedAPIAuditLogChangeKeyMaxAgeAPIAuditLogChangeKeyMaxUsesAPIAuditLogChangeKeyMentionableAPIAuditLogChangeKeyMFALevelAPIAuditLogChangeKeyMuteAPIAuditLogChangeKeyNameAPIAuditLogChangeKeyNickAPIAuditLogChangeKeyNSFWAPIAuditLogChangeKeyOwnerIdAPIAuditLogChangeKeyPermissionOverwritesAPIAuditLogChangeKeyPermissionsAPIAuditLogChangeKeyPositionAPIAuditLogChangeKeyPreferredLocaleAPIAuditLogChangeKeyPrivacyLevelAPIAuditLogChangeKeyPruneDeleteDaysAPIAuditLogChangeKeyPublicUpdatesChannelIdAPIAuditLogChangeKeyRateLimitPerUserAPIAuditLogChangeKeyRegionAPIAuditLogChangeKeyRulesChannelIdAPIAuditLogChangeKeySnowflakeAPIAuditLogChangeKeySplashHashAPIAuditLogChangeKeyStatusAPIAuditLogChangeKeySystemChannelIdAPIAuditLogChangeKeyTagsAPIAuditLogChangeKeyTemporaryAPIAuditLogChangeKeyTopicAPIAuditLogChangeKeyTriggerMetadataAPIAuditLogChangeKeyTriggerTypeAPIAuditLogChangeKeyTypeAPIAuditLogChangeKeyUserLimitAPIAuditLogChangeKeyUsesAPIAuditLogChangeKeyVanityURLCodeAPIAuditLogChangeKeyVerificationLevelAPIAuditLogChangeKeyWidgetChannelIdAPIAuditLogChangeKeyWidgetEnabledAPIButtonComponentAPIChannelAPIChatInputApplicationCommandDMInteractionAPIChatInputApplicationCommandGuildInteractionAPIChatInputApplicationCommandInteractionAPIChatInputApplicationCommandInteractionDataResolvedAPIContextMenuDMInteractionAPIContextMenuGuildInteractionAPIContextMenuInteractionAPIContextMenuInteractionDataAPIDMInteractionAPIDMInteractionWrapperAPIGuildCategoryChannelAPIGuildIntegrationTypeAPIGuildInteractionAPIGuildInteractionWrapperAPIGuildScheduledEventAPIGuildStageVoiceChannelAPIGuildVoiceChannelAPIInteractionAPIInteractionResponseAPIInteractionResponseCallbackDataAPIInviteGuildAPIMentionableSelectComponentAPIMessageActionRowComponentAPIMessageApplicationCommandDMInteractionAPIMessageApplicationCommandGuildInteractionAPIMessageApplicationCommandInteractionAPIMessageButtonInteractionDataAPIMessageComponentAPIMessageComponentButtonInteractionAPIMessageComponentDMInteractionAPIMessageComponentGuildInteractionAPIMessageComponentInteractionAPIMessageComponentInteractionDataAPIMessageComponentSelectMenuInteractionAPIMessageSelectMenuInteractionDataAPIModalActionRowComponentAPIModalComponentAPIModalSubmitDMInteractionAPIModalSubmitGuildInteractionAPIModalSubmitInteractionAPINewsChannelAPIPingInteractionAPIRoleSelectComponentAPISelectMenuComponentAPIStickerItemAPITextChannelAPIUserApplicationCommandDMInteractionAPIUserApplicationCommandGuildInteractionAPIUserApplicationCommandInteractionAPIUserApplicationCommandInteractionDataResolvedAPIUserInteractionDataResolvedAPIUserSelectComponentAuditLogRuleTriggerTypeGatewayActivityAssetsGatewayActivityEmojiGatewayActivitySecretsGuildChannelTypeGuildTextChannelTypeLocalizationMapPartialAPIMessageInteractionGuildMemberRESTErrorDataTextChannelTypeAPIApplicationCommandPermissionsConstantPermissionFlagsBitsActivityFlagsActivityPlatformActivityTypeAllowedMentionsTypesApplicationCommandOptionTypeApplicationCommandPermissionTypeApplicationCommandTypeApplicationFlagsApplicationRoleConnectionMetadataTypeAuditLogEventAuditLogOptionsTypeAutoModerationActionTypeAutoModerationRuleEventTypeAutoModerationRuleKeywordPresetTypeAutoModerationRuleTriggerTypeButtonStyleChannelFlagsChannelTypeComponentTypeConnectionServiceConnectionVisibilityEmbedTypeForumLayoutTypeGuildDefaultMessageNotificationsGuildExplicitContentFilterGuildFeatureGuildHubTypeGuildMemberFlagsGuildMFALevelGuildNSFWLevelGuildPremiumTierGuildScheduledEventEntityTypeGuildScheduledEventPrivacyLevelGuildScheduledEventStatusGuildSystemChannelFlagsGuildVerificationLevelGuildWidgetStyleIntegrationExpireBehaviorInteractionResponseTypeInteractionTypeInviteTargetTypeMembershipScreeningFieldTypeMessageActivityTypeMessageFlagsMessageTypeOAuth2ScopesOverwriteTypePresenceUpdateStatusSortOrderTypeStageInstancePrivacyLevelStickerFormatTypeStickerTypeTeamMemberMembershipStateTextInputStyleThreadAutoArchiveDurationThreadMemberFlagsUserFlagsUserPremiumTypeVideoQualityModeWebhookType
mod.ts (default module)
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
v
v
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E
E