@openclaw/discord 2026.8.1-beta.2 → 2026.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{account-inspect-CqzrH14k.js → account-inspect-BDfKyuvL.js} +1 -1
- package/dist/account-inspect-api.js +1 -1
- package/dist/{accounts-DJTf1LtA.js → accounts-CfQ-vSyf.js} +34 -1
- package/dist/action-runtime-api.js +1 -1
- package/dist/{activities-api-DS7vpdtp.js → activities-api-Dl-TOyOX.js} +134 -175
- package/dist/activities-api.js +1 -1
- package/dist/api.js +17 -17
- package/dist/{approval-handler.runtime-B6yEV79q.js → approval-handler.runtime-q4Zqo44V.js} +29 -106
- package/dist/{audit-Db-rlntl.js → audit-DgrvFPGt.js} +5 -5
- package/dist/{channel-CnnbJSt5.js → channel-BsQUalPw.js} +72 -50
- package/dist/{channel-actions.runtime-CLKrx6tr.js → channel-actions.runtime-UMGGIfSy.js} +31 -45
- package/dist/channel-config-api.js +1 -1
- package/dist/channel-plugin-api.js +1 -1
- package/dist/channel-type-CVLZyGYS.js +7 -0
- package/dist/{channel.setup-BFAO-V1P.js → channel.setup-rPs4dsk_.js} +5 -5
- package/dist/{outbound-session-route-DxLkrgKQ.js → components-Dk35LTf_.js} +34 -76
- package/dist/{config-schema-BgEskFAs.js → config-schema-CxPqtVI1.js} +46 -14
- package/dist/conversation-binding-route-BjvX4e35.js +43 -0
- package/dist/{directory-config-BVX7Cflc.js → directory-config-B7DY_pNG.js} +2 -2
- package/dist/directory-contract-api.js +1 -1
- package/dist/{directory-live-DGIGxpIo.js → directory-live-DuAXKkan.js} +3 -3
- package/dist/doctor-contract-api.js +2 -2
- package/dist/{doctor-BzC-TLnB.js → doctor-zQTtn6hm.js} +33 -12
- package/dist/{handle-action.guild-admin-BNVTUISF.js → handle-action.guild-admin-DZewwLr1.js} +9 -5
- package/dist/index.js +3 -4
- package/dist/ingress-identity-CzZKcPK8.js +60 -0
- package/dist/{message-handler-Unk_f10F.js → message-handler-C5By3yl5.js} +82 -6
- package/dist/{message-handler.preflight-C9zecxR9.js → message-handler.preflight-DrszWuHw.js} +44 -118
- package/dist/{message-handler.process-DWQ6UHHu.js → message-handler.process-DyFPDLCt.js} +205 -235
- package/dist/{message-utils-BSCPVgy0.js → message-text-Ca8M6TU8.js} +43 -42
- package/dist/{outbound-adapter-D9nRivT1.js → outbound-adapter-Dif8p481.js} +118 -91
- package/dist/{outbound-components-cTzwBJ60.js → outbound-components-wjv7yyAj.js} +5 -4
- package/dist/outbound-session-route-Bn4uXaoE.js +665 -0
- package/dist/owner-access-UlYi9t0M.js +107 -0
- package/dist/{pluralkit-DdiJ9KMK.js → pluralkit-9EuEN4UD.js} +1 -1
- package/dist/{probe-Bl-k5_Ku.js → probe-n6ZXxK8V.js} +1 -1
- package/dist/{probe.runtime-M9fREKvp.js → probe.runtime-CN4bdPfZ.js} +1 -1
- package/dist/{provider-DvSNb-2v.js → provider-LXiOcJrH.js} +887 -1350
- package/dist/{provider-session.runtime-BUEqD0rA.js → provider-session.runtime-DSNe7r2W.js} +3 -3
- package/dist/provider.runtime-DiInaDXO.js +2 -0
- package/dist/{realtime-session.runtime-C7wen-aF.js → realtime-session.runtime-DOViOIjY.js} +129 -134
- package/dist/{resolve-allowlist-common-D04lpEzb.js → resolve-allowlist-common-BLoYaxEG.js} +2 -2
- package/dist/{resolve-channels-Dm7jEeg6.js → resolve-channels-D2yl_2CN.js} +5 -4
- package/dist/{resolve-users-bktrCUUU.js → resolve-users-BLxfqajZ.js} +2 -2
- package/dist/{retry-CLpJcXXf.js → retry-DqHCW6PV.js} +187 -19
- package/dist/{runtime-DGsSyDTS.js → runtime-BYamRVPN.js} +89 -86
- package/dist/{runtime-DoHjckYm.js → runtime-DrxVBTtp.js} +9 -10
- package/dist/runtime-api.js +19 -25
- package/dist/{sdk-runtime-QpY8PvCh.js → sdk-runtime-6tfgYDjY.js} +57 -89
- package/dist/{secret-config-contract-B1akrlyY.js → secret-config-contract-B3i6WxV5.js} +53 -25
- package/dist/secret-contract-api.js +1 -1
- package/dist/{security-audit-jGnJF__m.js → security-audit-DKfK-iPY.js} +11 -12
- package/dist/security-audit-contract-api.js +1 -1
- package/dist/{security-audit.runtime-CPN0xFYz.js → security-audit.runtime-sKZyKgpx.js} +1 -1
- package/dist/{send-B7Q6Oc1I.js → send-UJHiAm4C.js} +82 -19
- package/dist/{send.components-iJyFXw9L.js → send.components-CrBJpGT_.js} +22 -39
- package/dist/{send.outbound-DS5tHwfR.js → send.outbound-D7JYmfm9.js} +77 -78
- package/dist/{send.shared-BmwFjW6T.js → send.shared-DZJ1akvQ.js} +136 -121
- package/dist/{sender-identity-QtalnCYv.js → sender-identity-BJtfyise.js} +1 -1
- package/dist/setup-plugin-api.js +1 -1
- package/dist/{shared-BIXIX6uJ.js → shared-Dii2HTn7.js} +41 -14
- package/dist/subagent-hooks-JyGrtQIl.js +49 -0
- package/dist/subagent-hooks-api.js +1 -6
- package/dist/{system-events-CTqDf6_s.js → system-events-BEmcj4xJ.js} +2 -2
- package/dist/{target-resolver-maOKSqO0.js → target-resolver-V-IYae6s.js} +3 -3
- package/dist/targets-CQp53cGj.js +3 -0
- package/dist/{thread-bindings-3L8p82GV.js → thread-bindings-DvYP79fy.js} +28 -26
- package/dist/{thread-bindings.manager-DCIH6WDC.js → thread-bindings.manager-Clm77DBM.js} +11 -14
- package/dist/{thread-bindings.session-updates-bJ2KQFY6.js → thread-bindings.session-updates-CJb-BpPL.js} +1 -1
- package/dist/{thread-bindings.state-aeV8HNgV.js → thread-bindings.state-D8OMdk4O.js} +1 -1
- package/dist/threading-CXuu_7o9.js +478 -0
- package/dist/transcripts-source-BLEMH_yi.js +270 -0
- package/dist/transcripts-source-api.js +7 -2
- package/dist/{typing-CS-nNVoe.js → typing-B9snnwMe.js} +1 -1
- package/dist/{voice-runtime-BEdqNcST.js → voice-runtime-DY6_o73o.js} +250 -150
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/README.md +19 -19
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/v1.js +7 -3
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist/v7.js +5 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist-node/v1.js +7 -3
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/dist-node/v7.js +5 -2
- package/node_modules/@discord/embedded-app-sdk/node_modules/uuid/package.json +4 -3
- package/node_modules/@discordjs/voice/node_modules/@types/node/README.md +1 -1
- package/node_modules/@discordjs/voice/node_modules/@types/node/child_process.d.ts +0 -1
- package/node_modules/@discordjs/voice/node_modules/@types/node/crypto.d.ts +6 -6
- package/node_modules/@discordjs/voice/node_modules/@types/node/dns/promises.d.ts +5 -5
- package/node_modules/@discordjs/voice/node_modules/@types/node/dns.d.ts +5 -5
- package/node_modules/@discordjs/voice/node_modules/@types/node/fs.d.ts +7 -0
- package/node_modules/@discordjs/voice/node_modules/@types/node/http.d.ts +30 -0
- package/node_modules/@discordjs/voice/node_modules/@types/node/http2.d.ts +4 -4
- package/node_modules/@discordjs/voice/node_modules/@types/node/os.d.ts +30 -30
- package/node_modules/@discordjs/voice/node_modules/@types/node/package.json +2 -2
- package/node_modules/@discordjs/voice/node_modules/@types/node/perf_hooks.d.ts +2 -1
- package/node_modules/@discordjs/voice/node_modules/@types/node/process.d.ts +42 -43
- package/node_modules/@discordjs/voice/node_modules/@types/node/quic.d.ts +1049 -84
- package/node_modules/@discordjs/voice/node_modules/@types/node/sqlite.d.ts +14 -1
- package/node_modules/@discordjs/voice/node_modules/@types/node/stream/iter.d.ts +3 -2
- package/node_modules/@discordjs/voice/node_modules/@types/node/test.d.ts +61 -0
- package/node_modules/@discordjs/voice/node_modules/@types/node/v8.d.ts +20 -23
- package/node_modules/discord-api-types/CHANGELOG.md +8 -0
- package/node_modules/discord-api-types/package.json +4 -4
- package/node_modules/discord-api-types/payloads/v10/channel.d.ts +2 -2
- package/node_modules/discord-api-types/payloads/v10/channel.d.ts.map +1 -1
- package/node_modules/discord-api-types/payloads/v10/gateway.d.ts +4 -0
- package/node_modules/discord-api-types/payloads/v10/gateway.d.ts.map +1 -1
- package/node_modules/discord-api-types/payloads/v10/gateway.js.map +1 -1
- package/node_modules/discord-api-types/payloads/v10/message.d.ts +4 -1
- package/node_modules/discord-api-types/payloads/v10/message.d.ts.map +1 -1
- package/node_modules/discord-api-types/payloads/v10/message.js +1 -0
- package/node_modules/discord-api-types/payloads/v10/message.js.map +1 -1
- package/node_modules/discord-api-types/payloads/v9/channel.d.ts +2 -2
- package/node_modules/discord-api-types/payloads/v9/channel.d.ts.map +1 -1
- package/node_modules/discord-api-types/payloads/v9/gateway.d.ts +4 -0
- package/node_modules/discord-api-types/payloads/v9/gateway.d.ts.map +1 -1
- package/node_modules/discord-api-types/payloads/v9/gateway.js.map +1 -1
- package/node_modules/discord-api-types/payloads/v9/message.d.ts +4 -1
- package/node_modules/discord-api-types/payloads/v9/message.d.ts.map +1 -1
- package/node_modules/discord-api-types/payloads/v9/message.js +1 -0
- package/node_modules/discord-api-types/payloads/v9/message.js.map +1 -1
- package/node_modules/typebox/build/format/date.d.mts +1 -1
- package/node_modules/typebox/build/format/date.mjs +1 -1
- package/node_modules/typebox/build/format/date_time.d.mts +2 -2
- package/node_modules/typebox/build/format/date_time.mjs +3 -3
- package/node_modules/typebox/build/format/email.d.mts +1 -1
- package/node_modules/typebox/build/format/email.mjs +2 -2
- package/node_modules/typebox/build/format/hostname.mjs +2 -10
- package/node_modules/typebox/build/format/idn_email.d.mts +1 -1
- package/node_modules/typebox/build/format/idn_email.mjs +3 -3
- package/node_modules/typebox/build/format/idn_hostname.d.mts +1 -0
- package/node_modules/typebox/build/format/idn_hostname.mjs +3 -11
- package/node_modules/typebox/build/format/idna/format/bidi.d.mts +3 -0
- package/node_modules/typebox/build/format/idna/format/bidi.mjs +98 -0
- package/node_modules/typebox/build/format/idna/format/puny.d.mts +3 -0
- package/node_modules/typebox/build/format/idna/format/puny.mjs +144 -0
- package/node_modules/typebox/build/format/idna/hostname.d.mts +1 -0
- package/node_modules/typebox/build/format/idna/hostname.mjs +16 -0
- package/node_modules/typebox/build/format/idna/idn-hostname.d.mts +1 -0
- package/node_modules/typebox/build/format/idna/idn-hostname.mjs +23 -0
- package/node_modules/typebox/build/format/idna/index.d.mts +2 -0
- package/node_modules/typebox/build/format/idna/index.mjs +2 -0
- package/node_modules/typebox/build/format/idna/label/ascii.d.mts +1 -0
- package/node_modules/typebox/build/format/idna/label/ascii.mjs +9 -0
- package/node_modules/typebox/build/format/idna/label/puny.d.mts +1 -0
- package/node_modules/typebox/build/format/idna/label/puny.mjs +28 -0
- package/node_modules/typebox/build/format/idna/label/unicode.d.mts +1 -0
- package/node_modules/typebox/build/format/idna/label/unicode.mjs +106 -0
- package/node_modules/typebox/build/format/idna/pattern/pattern.d.mts +30 -0
- package/node_modules/typebox/build/format/idna/pattern/pattern.mjs +70 -0
- package/node_modules/typebox/build/format/ipv4.d.mts +0 -1
- package/node_modules/typebox/build/format/ipv4.mjs +2 -32
- package/node_modules/typebox/build/format/ipv6.mjs +2 -61
- package/node_modules/typebox/build/format/iri.d.mts +2 -2
- package/node_modules/typebox/build/format/iri.mjs +26 -8
- package/node_modules/typebox/build/format/iri_reference.d.mts +2 -2
- package/node_modules/typebox/build/format/iri_reference.mjs +9 -55
- package/node_modules/typebox/build/format/regex.d.mts +1 -2
- package/node_modules/typebox/build/format/regex.mjs +2 -6
- package/node_modules/typebox/build/format/time.d.mts +2 -2
- package/node_modules/typebox/build/format/time.mjs +19 -14
- package/node_modules/typebox/build/format/uri.d.mts +1 -1
- package/node_modules/typebox/build/format/uri.mjs +3 -130
- package/node_modules/typebox/build/format/uri_reference.d.mts +1 -1
- package/node_modules/typebox/build/format/uri_reference.mjs +2 -3
- package/node_modules/typebox/build/format/uri_template.d.mts +2 -3
- package/node_modules/typebox/build/format/uri_template.mjs +4 -5
- package/node_modules/typebox/build/format/url.d.mts +3 -3
- package/node_modules/typebox/build/format/url.mjs +4 -5
- package/node_modules/typebox/build/guard/emit.d.mts +3 -1
- package/node_modules/typebox/build/guard/emit.mjs +12 -5
- package/node_modules/typebox/build/guard/guard.d.mts +8 -2
- package/node_modules/typebox/build/guard/guard.mjs +25 -4
- package/node_modules/typebox/build/guard/string.d.mts +2 -2
- package/node_modules/typebox/build/guard/string.mjs +7 -7
- package/node_modules/typebox/build/schema/engine/_context.mjs +3 -3
- package/node_modules/typebox/build/schema/engine/_functions.mjs +1 -2
- package/node_modules/typebox/build/schema/engine/_regexp.d.mts +2 -0
- package/node_modules/typebox/build/schema/engine/_regexp.mjs +4 -0
- package/node_modules/typebox/build/schema/engine/_stack.mjs +12 -13
- package/node_modules/typebox/build/schema/engine/additionalItems.mjs +17 -7
- package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +4 -3
- package/node_modules/typebox/build/schema/engine/contains.mjs +18 -6
- package/node_modules/typebox/build/schema/engine/enum.mjs +1 -1
- package/node_modules/typebox/build/schema/engine/items.mjs +26 -6
- package/node_modules/typebox/build/schema/engine/maxContains.mjs +3 -3
- package/node_modules/typebox/build/schema/engine/minContains.mjs +14 -4
- package/node_modules/typebox/build/schema/engine/not.mjs +4 -2
- package/node_modules/typebox/build/schema/engine/oneOf.mjs +7 -6
- package/node_modules/typebox/build/schema/engine/pattern.mjs +3 -2
- package/node_modules/typebox/build/schema/engine/patternProperties.mjs +4 -3
- package/node_modules/typebox/build/schema/engine/ref.mjs +1 -7
- package/node_modules/typebox/build/schema/engine/schema.mjs +13 -4
- package/node_modules/typebox/build/schema/engine/type.mjs +1 -1
- package/node_modules/typebox/build/schema/resolve/resolve.d.mts +4 -1
- package/node_modules/typebox/build/schema/resolve/resolve.mjs +202 -1
- package/node_modules/typebox/build/schema/static/propertyNames.d.mts +5 -0
- package/node_modules/typebox/build/schema/static/propertyNames.mjs +3 -0
- package/node_modules/typebox/build/schema/static/schema.d.mts +3 -0
- package/node_modules/typebox/build/schema/types/index.d.mts +0 -2
- package/node_modules/typebox/build/schema/types/index.mjs +0 -2
- package/node_modules/typebox/build/system/memory/clone.mjs +14 -11
- package/node_modules/typebox/build/system/memory/discard.mjs +6 -5
- package/node_modules/typebox/build/system/settings/settings.d.mts +9 -0
- package/node_modules/typebox/build/system/settings/settings.mjs +2 -0
- package/node_modules/typebox/build/type/engine/call/distribute_arguments.d.mts +6 -1
- package/node_modules/typebox/build/type/engine/call/distribute_arguments.mjs +16 -3
- package/node_modules/typebox/build/type/engine/call/instantiate.mjs +34 -4
- package/node_modules/typebox/build/type/engine/evaluate/broaden.d.mts +5 -5
- package/node_modules/typebox/build/type/engine/evaluate/broaden.mjs +20 -26
- package/node_modules/typebox/build/type/engine/evaluate/compare.d.mts +6 -10
- package/node_modules/typebox/build/type/engine/evaluate/compare.mjs +9 -13
- package/node_modules/typebox/build/type/engine/evaluate/composite.d.mts +7 -4
- package/node_modules/typebox/build/type/engine/evaluate/composite.mjs +12 -19
- package/node_modules/typebox/build/type/engine/evaluate/distribute.d.mts +4 -20
- package/node_modules/typebox/build/type/engine/evaluate/distribute.mjs +8 -20
- package/node_modules/typebox/build/type/engine/evaluate/evaluate.d.mts +4 -4
- package/node_modules/typebox/build/type/engine/evaluate/evaluate.mjs +11 -8
- package/node_modules/typebox/build/type/engine/evaluate/flatten.d.mts +1 -1
- package/node_modules/typebox/build/type/engine/evaluate/flatten.mjs +3 -4
- package/node_modules/typebox/build/type/engine/evaluate/narrow.d.mts +17 -2
- package/node_modules/typebox/build/type/engine/evaluate/narrow.mjs +26 -6
- package/node_modules/typebox/build/type/engine/exclude/operation.mjs +3 -4
- package/node_modules/typebox/build/type/engine/extract/operation.d.mts +1 -1
- package/node_modules/typebox/build/type/engine/extract/operation.mjs +3 -4
- package/node_modules/typebox/build/type/engine/priority/priority.d.mts +2 -2
- package/node_modules/typebox/build/type/engine/priority/priority.mjs +3 -4
- package/node_modules/typebox/build/type/script/mapping.d.mts +32 -29
- package/node_modules/typebox/build/type/script/mapping.mjs +18 -25
- package/node_modules/typebox/build/type/script/parser.d.mts +19 -25
- package/node_modules/typebox/build/type/script/parser.mjs +27 -23
- package/node_modules/typebox/build/value/errors/errors.d.mts +2 -2
- package/node_modules/typebox/build/value/errors/errors.mjs +1 -1
- package/node_modules/typebox/package.json +27 -27
- package/node_modules/typebox/readme.md +79 -82
- package/node_modules/undici/docs/docs/api/Client.md +21 -8
- package/node_modules/undici/lib/api/readable.js +33 -43
- package/node_modules/undici/lib/core/connect.js +16 -2
- package/node_modules/undici/lib/core/symbols.js +1 -0
- package/node_modules/undici/lib/dispatcher/client-h1.js +3 -3
- package/node_modules/undici/lib/dispatcher/client-h2.js +179 -10
- package/node_modules/undici/lib/dispatcher/client.js +74 -29
- package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +28 -6
- package/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +15 -1
- package/node_modules/undici/lib/handler/retry-handler.js +7 -2
- package/node_modules/undici/lib/interceptor/cache.js +5 -2
- package/node_modules/undici/lib/interceptor/deduplicate.js +1 -1
- package/node_modules/undici/lib/mock/mock-utils.js +213 -24
- package/node_modules/undici/lib/util/cache.js +2 -4
- package/node_modules/undici/lib/web/websocket/websocket.js +22 -0
- package/node_modules/undici/package.json +1 -1
- package/node_modules/undici/types/client.d.ts +40 -0
- package/node_modules/ws/lib/permessage-deflate.js +3 -1
- package/node_modules/ws/package.json +1 -1
- package/openclaw.plugin.json +24 -10
- package/package.json +8 -10
- package/skills/discord/SKILL.md +1 -1
- package/dist/approval-message-safety-AcIxvrf3.js +0 -140
- package/dist/audit-core-xwjIczO0.js +0 -105
- package/dist/channel-actions-5s_hjYKd.js +0 -208
- package/dist/channel-api-CAJ0wMoV.js +0 -21
- package/dist/inbound-event-delivery-De2qxTrP.js +0 -39
- package/dist/provider.runtime-C9PnJZbZ.js +0 -2
- package/dist/runtime-api.actions.js +0 -3
- package/dist/runtime-api.lookup.js +0 -7
- package/dist/runtime-api.monitor-CHxrFPnW.js +0 -5
- package/dist/runtime-api.monitor.js +0 -8
- package/dist/runtime-api.send.js +0 -7
- package/dist/runtime-api.threads.js +0 -5
- package/dist/send.reactions-BAn0iiVQ.js +0 -78
- package/dist/send.receipt-IPI1p-SP.js +0 -66
- package/dist/subagent-hooks-CTt5KCJr.js +0 -120
- package/dist/subagent-progress-DhaE_h8a.js +0 -109
- package/dist/targets-yUFTHoAx.js +0 -3
- package/dist/transcripts-source-CfFMexGt.js +0 -123
- package/node_modules/p-map/index.d.ts +0 -155
- package/node_modules/p-map/index.js +0 -285
- package/node_modules/p-map/license +0 -9
- package/node_modules/p-map/package.json +0 -57
- package/node_modules/p-map/readme.md +0 -190
- package/node_modules/typebox/build/format/_idna.d.mts +0 -2
- package/node_modules/typebox/build/format/_idna.mjs +0 -246
- package/node_modules/typebox/build/format/_puny.d.mts +0 -1
- package/node_modules/typebox/build/format/_puny.mjs +0 -77
- package/node_modules/typebox/build/schema/resolve/ref.d.mts +0 -3
- package/node_modules/typebox/build/schema/resolve/ref.mjs +0 -146
- package/node_modules/typebox/build/schema/types/contentEncoding.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/contentEncoding.mjs +0 -13
- package/node_modules/typebox/build/schema/types/contentMediaType.d.mts +0 -9
- package/node_modules/typebox/build/schema/types/contentMediaType.mjs +0 -13
- package/dist/{allow-list-DnxIlPP2.js → allow-list-BDMimASD.js} +1 -1
- package/dist/{doctor-contract-DLa-BTiU.js → doctor-contract-DsWvKIXF.js} +1 -1
|
@@ -2,22 +2,24 @@ import { t as parseDiscordRetryAfterBodySeconds } from "./retry-after-DdLPmPoa.j
|
|
|
2
2
|
import "node:module";
|
|
3
3
|
import { redactIdentifier, redactSensitiveFieldValue } from "openclaw/plugin-sdk/logging-core";
|
|
4
4
|
import { ApplicationCommandOptionType, ApplicationCommandType, ButtonStyle, ComponentType, GatewayDispatchEvents, InteractionContextType, InteractionResponseType, InteractionType, MessageFlags, Routes, TextInputStyle } from "discord-api-types/v10";
|
|
5
|
+
import { Type } from "typebox";
|
|
6
|
+
import { Check } from "typebox/value";
|
|
5
7
|
import { createHash } from "node:crypto";
|
|
6
8
|
import { asDateTimestampMs, clampTimerTimeoutMs, parseStrictNonNegativeInteger, resolveExpiresAtMsFromDurationMs, resolveIntegerOption, resolveTimerTimeoutMs } from "openclaw/plugin-sdk/number-runtime";
|
|
7
9
|
import { expectDefined } from "openclaw/plugin-sdk/expect-runtime";
|
|
8
|
-
import { Type } from "typebox";
|
|
9
|
-
import { Check } from "typebox/value";
|
|
10
10
|
import { inspect } from "node:util";
|
|
11
11
|
import { gunzipSync } from "node:zlib";
|
|
12
12
|
import { readResponseWithLimit } from "openclaw/plugin-sdk/response-limit-runtime";
|
|
13
13
|
import { collectErrorGraphCandidates, extractErrorCode, formatErrorMessage, readErrorName } from "openclaw/plugin-sdk/error-runtime";
|
|
14
14
|
import { classifyTransientNetworkErrorCode, createChannelApiRetryRunner, parseRetryAfterHeaderSeconds, resolveRetryConfig, retryAsync } from "openclaw/plugin-sdk/retry-runtime";
|
|
15
|
-
import { sleepWithAbort } from "openclaw/plugin-sdk/runtime-env";
|
|
16
15
|
import { buildMessagingTarget, parseMentionPrefixOrAtUserTarget, requireTargetKind } from "openclaw/plugin-sdk/channel-targets";
|
|
16
|
+
import { sleepWithAbort } from "openclaw/plugin-sdk/runtime-env";
|
|
17
17
|
import { resolveAllowlistMatchByCandidates } from "openclaw/plugin-sdk/allow-from";
|
|
18
18
|
import { chunkMarkdownTextWithMode } from "openclaw/plugin-sdk/reply-chunking";
|
|
19
19
|
import { chunkTextForOutbound } from "openclaw/plugin-sdk/text-chunking";
|
|
20
20
|
import { isSingleUseReplyToMode } from "openclaw/plugin-sdk/reply-reference";
|
|
21
|
+
import { createMessageReceiptFromOutboundResults } from "openclaw/plugin-sdk/channel-outbound";
|
|
22
|
+
import { attachChannelToResults } from "openclaw/plugin-sdk/channel-send-result";
|
|
21
23
|
//#region \0rolldown/runtime.js
|
|
22
24
|
var __defProp = Object.defineProperty;
|
|
23
25
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -65,6 +67,11 @@ async function overwriteGuildApplicationCommands(rest, clientId, guildId, body)
|
|
|
65
67
|
}
|
|
66
68
|
//#endregion
|
|
67
69
|
//#region extensions/discord/src/internal/api.guild.ts
|
|
70
|
+
const discordGuildEmojiListSchema = Type.Array(Type.Object({
|
|
71
|
+
id: Type.Union([Type.String(), Type.Null()]),
|
|
72
|
+
name: Type.Union([Type.String(), Type.Null()]),
|
|
73
|
+
animated: Type.Optional(Type.Boolean())
|
|
74
|
+
}, { additionalProperties: true }));
|
|
68
75
|
async function getGuild(rest, guildId) {
|
|
69
76
|
return await rest.get(Routes.guild(guildId));
|
|
70
77
|
}
|
|
@@ -117,7 +124,9 @@ async function createGuildBan(rest, guildId, userId, data) {
|
|
|
117
124
|
await rest.put(Routes.guildBan(guildId, userId), data);
|
|
118
125
|
}
|
|
119
126
|
async function listGuildEmojis(rest, guildId) {
|
|
120
|
-
|
|
127
|
+
const emojis = await rest.get(Routes.guildEmojis(guildId));
|
|
128
|
+
if (!Check(discordGuildEmojiListSchema, emojis)) throw new Error("Invalid Discord guild emoji response.");
|
|
129
|
+
return emojis;
|
|
121
130
|
}
|
|
122
131
|
async function createGuildEmoji(rest, guildId, data) {
|
|
123
132
|
return await rest.post(Routes.guildEmojis(guildId), data);
|
|
@@ -810,15 +819,12 @@ var Embed = class {
|
|
|
810
819
|
};
|
|
811
820
|
//#endregion
|
|
812
821
|
//#region extensions/discord/src/internal/payload.ts
|
|
813
|
-
function
|
|
814
|
-
return component.
|
|
815
|
-
}
|
|
816
|
-
function payloadHasV2Components(payload) {
|
|
817
|
-
return Boolean(payload.components?.some((component) => component.isV2));
|
|
822
|
+
function hasDiscordV2Components(components) {
|
|
823
|
+
return Boolean(components?.some((component) => "isV2" in component && component.isV2 || "type" in component && component.type !== ComponentType.ActionRow));
|
|
818
824
|
}
|
|
819
825
|
function normalizePayloadFlags(payload) {
|
|
820
826
|
const flags = payload.ephemeral ? (payload.flags ?? 0) | MessageFlags.Ephemeral : payload.flags;
|
|
821
|
-
if (!
|
|
827
|
+
if (!hasDiscordV2Components(payload.components)) return flags;
|
|
822
828
|
if (payload.content || payload.embeds?.length) throw new Error("Discord Components V2 payloads cannot include content or embeds");
|
|
823
829
|
return (flags ?? 0) | MessageFlags.IsComponentsV2;
|
|
824
830
|
}
|
|
@@ -828,7 +834,7 @@ function serializePayload(payload) {
|
|
|
828
834
|
return stripUndefinedFields({
|
|
829
835
|
content: payload.content,
|
|
830
836
|
embeds: payload.embeds?.map((entry) => "serialize" in entry ? entry.serialize() : entry),
|
|
831
|
-
components: payload.components?.map((entry) =>
|
|
837
|
+
components: payload.components?.map((entry) => "serialize" in entry ? entry.serialize() : entry),
|
|
832
838
|
allowed_mentions: payload.allowed_mentions ?? payload.allowedMentions,
|
|
833
839
|
flags,
|
|
834
840
|
tts: payload.tts,
|
|
@@ -993,6 +999,12 @@ var Guild = class extends Base {
|
|
|
993
999
|
get name() {
|
|
994
1000
|
return this.rawDataValue?.name ?? "";
|
|
995
1001
|
}
|
|
1002
|
+
get icon() {
|
|
1003
|
+
return this.rawDataValue?.icon;
|
|
1004
|
+
}
|
|
1005
|
+
get iconUrl() {
|
|
1006
|
+
return this.icon ? `https://cdn.discordapp.com/icons/${this.id}/${this.icon}.png` : null;
|
|
1007
|
+
}
|
|
996
1008
|
};
|
|
997
1009
|
var GuildMember = class extends Base {
|
|
998
1010
|
constructor(client, rawData) {
|
|
@@ -1163,6 +1175,9 @@ var DiscordEntityCache = class {
|
|
|
1163
1175
|
return new GuildMember(this.params.client, raw);
|
|
1164
1176
|
});
|
|
1165
1177
|
}
|
|
1178
|
+
async fetchGuildEmojis(guildId, fetcher) {
|
|
1179
|
+
return await this.fetchCached(`guild-emojis:${guildId}`, fetcher);
|
|
1180
|
+
}
|
|
1166
1181
|
invalidateForGatewayEvent(type, data) {
|
|
1167
1182
|
const raw = data && typeof data === "object" ? data : {};
|
|
1168
1183
|
const channelUpdate = GatewayDispatchEvents.ChannelUpdate;
|
|
@@ -1170,11 +1185,13 @@ var DiscordEntityCache = class {
|
|
|
1170
1185
|
const threadUpdate = GatewayDispatchEvents.ThreadUpdate;
|
|
1171
1186
|
const threadDelete = GatewayDispatchEvents.ThreadDelete;
|
|
1172
1187
|
const guildUpdate = GatewayDispatchEvents.GuildUpdate;
|
|
1188
|
+
const guildEmojisUpdate = GatewayDispatchEvents.GuildEmojisUpdate;
|
|
1173
1189
|
const guildMemberAdd = GatewayDispatchEvents.GuildMemberAdd;
|
|
1174
1190
|
const guildMemberRemove = GatewayDispatchEvents.GuildMemberRemove;
|
|
1175
1191
|
const guildMemberUpdate = GatewayDispatchEvents.GuildMemberUpdate;
|
|
1176
1192
|
if (type === channelUpdate || type === channelDelete || type === threadUpdate || type === threadDelete) this.deleteId("channel", raw.id);
|
|
1177
1193
|
if (type === guildUpdate) this.deleteId("guild", raw.id);
|
|
1194
|
+
if (type === guildEmojisUpdate) this.deleteId("guild-emojis", raw.guild_id);
|
|
1178
1195
|
if (type === guildMemberAdd || type === guildMemberRemove || type === guildMemberUpdate) {
|
|
1179
1196
|
const guildId = raw.guild_id;
|
|
1180
1197
|
const user = raw.user && typeof raw.user === "object" ? raw.user : {};
|
|
@@ -1381,12 +1398,9 @@ function findCommandOption(options, name) {
|
|
|
1381
1398
|
if (!name) return;
|
|
1382
1399
|
return options?.find((option) => option.name === name);
|
|
1383
1400
|
}
|
|
1384
|
-
function hasCommandOptions(command) {
|
|
1385
|
-
return "options" in command;
|
|
1386
|
-
}
|
|
1387
1401
|
function resolveFocusedCommandOptionAutocompleteHandler(command, interaction) {
|
|
1388
1402
|
const focusedName = interaction.options.getFocused()?.name;
|
|
1389
|
-
const autocomplete = findCommandOption(
|
|
1403
|
+
const autocomplete = findCommandOption(command.commandKind === "group" ? findSelectedSubcommand(command.subcommands, interaction)?.options : command.options, focusedName)?.autocomplete;
|
|
1390
1404
|
return typeof autocomplete === "function" ? autocomplete : void 0;
|
|
1391
1405
|
}
|
|
1392
1406
|
var BaseCommand = class {
|
|
@@ -1417,6 +1431,7 @@ var BaseCommand = class {
|
|
|
1417
1431
|
var Command = class extends BaseCommand {
|
|
1418
1432
|
constructor(..._args) {
|
|
1419
1433
|
super(..._args);
|
|
1434
|
+
this.commandKind = "leaf";
|
|
1420
1435
|
this.type = ApplicationCommandType.ChatInput;
|
|
1421
1436
|
}
|
|
1422
1437
|
async autocomplete(interaction) {
|
|
@@ -1438,6 +1453,7 @@ var Command = class extends BaseCommand {
|
|
|
1438
1453
|
var CommandWithSubcommands = class extends BaseCommand {
|
|
1439
1454
|
constructor(..._args2) {
|
|
1440
1455
|
super(..._args2);
|
|
1456
|
+
this.commandKind = "group";
|
|
1441
1457
|
this.type = ApplicationCommandType.ChatInput;
|
|
1442
1458
|
}
|
|
1443
1459
|
async run(interaction) {
|
|
@@ -1660,6 +1676,7 @@ var BaseInteraction = class {
|
|
|
1660
1676
|
this.message = null;
|
|
1661
1677
|
this.response = new InteractionResponseController();
|
|
1662
1678
|
this.pendingResponse = Promise.resolve();
|
|
1679
|
+
this.sentFollowUp = false;
|
|
1663
1680
|
this.id = rawData.id;
|
|
1664
1681
|
this.token = rawData.token;
|
|
1665
1682
|
this.user = readInteractionUser(rawData, client);
|
|
@@ -1676,6 +1693,14 @@ var BaseInteraction = class {
|
|
|
1676
1693
|
set responseState(nextState) {
|
|
1677
1694
|
this.response.state = nextState;
|
|
1678
1695
|
}
|
|
1696
|
+
/**
|
|
1697
|
+
* True once a follow-up message has been delivered. Follow-ups are visible to
|
|
1698
|
+
* the user but never advance `responseState`, so this is the only record that
|
|
1699
|
+
* the interaction has already produced output.
|
|
1700
|
+
*/
|
|
1701
|
+
get hasSentFollowUp() {
|
|
1702
|
+
return this.sentFollowUp;
|
|
1703
|
+
}
|
|
1679
1704
|
enqueueResponse(operation) {
|
|
1680
1705
|
const result = this.pendingResponse.then(operation);
|
|
1681
1706
|
this.pendingResponse = result.then(() => void 0, () => void 0);
|
|
@@ -1710,6 +1735,24 @@ var BaseInteraction = class {
|
|
|
1710
1735
|
async editReply(payload) {
|
|
1711
1736
|
return await this.enqueueResponse(() => this.performReplyEdit(payload));
|
|
1712
1737
|
}
|
|
1738
|
+
/**
|
|
1739
|
+
* Edits the deferred placeholder only if this interaction is still an
|
|
1740
|
+
* unanswered spinner when the queue reaches this operation.
|
|
1741
|
+
*
|
|
1742
|
+
* Both conditions are re-read inside the queue. A follow-up that was still in
|
|
1743
|
+
* flight when the caller decided to report will have settled — and recorded
|
|
1744
|
+
* itself in `sentFollowUp` — by the time this runs, so the decision cannot be
|
|
1745
|
+
* made against state that is about to change.
|
|
1746
|
+
*
|
|
1747
|
+
* Resolves true when the edit was sent.
|
|
1748
|
+
*/
|
|
1749
|
+
async editDeferredPlaceholderIfUnanswered(payload) {
|
|
1750
|
+
return await this.enqueueResponse(async () => {
|
|
1751
|
+
if (this.responseState !== "deferred" || this.sentFollowUp) return false;
|
|
1752
|
+
await this.performReplyEdit(payload);
|
|
1753
|
+
return true;
|
|
1754
|
+
});
|
|
1755
|
+
}
|
|
1713
1756
|
async performReplyEdit(payload) {
|
|
1714
1757
|
const body = serializePayload(payload);
|
|
1715
1758
|
const query = needsComponentsV2Query(body) ? { with_components: true } : void 0;
|
|
@@ -1739,7 +1782,9 @@ var BaseInteraction = class {
|
|
|
1739
1782
|
}
|
|
1740
1783
|
async performFollowUp(payload) {
|
|
1741
1784
|
const body = serializePayload(payload);
|
|
1742
|
-
|
|
1785
|
+
const result = await createWebhookMessage(this.client.rest, this.client.options.clientId, this.token, { body }, needsComponentsV2Query(body) ? { with_components: true } : void 0);
|
|
1786
|
+
this.sentFollowUp = true;
|
|
1787
|
+
return result;
|
|
1743
1788
|
}
|
|
1744
1789
|
};
|
|
1745
1790
|
var CommandInteraction = class extends BaseInteraction {
|
|
@@ -1825,12 +1870,20 @@ async function dispatchInteraction(client, rawData) {
|
|
|
1825
1870
|
await optionAutocomplete(autocompleteInteraction);
|
|
1826
1871
|
return;
|
|
1827
1872
|
}
|
|
1828
|
-
if ("
|
|
1873
|
+
if (command.commandKind === "leaf") await command.autocomplete(autocompleteInteraction);
|
|
1829
1874
|
return;
|
|
1830
1875
|
}
|
|
1876
|
+
try {
|
|
1877
|
+
await dispatchAcknowledgeableInteraction(client, rawData, interaction);
|
|
1878
|
+
} catch (error) {
|
|
1879
|
+
await reportInteractionFailure(interaction);
|
|
1880
|
+
throw error;
|
|
1881
|
+
}
|
|
1882
|
+
}
|
|
1883
|
+
async function dispatchAcknowledgeableInteraction(client, rawData, interaction) {
|
|
1831
1884
|
if (rawData.type === InteractionType.ApplicationCommand) {
|
|
1832
1885
|
const command = client.commands.find((entry) => entry.name === readInteractionName(rawData));
|
|
1833
|
-
if (command
|
|
1886
|
+
if (command) {
|
|
1834
1887
|
await deferCommandInteractionIfNeeded(command, interaction);
|
|
1835
1888
|
await command.run(interaction);
|
|
1836
1889
|
}
|
|
@@ -1863,6 +1916,44 @@ async function dispatchInteraction(client, rawData) {
|
|
|
1863
1916
|
if (modal) await modal.run(interaction, modal.customIdParser(customId).data);
|
|
1864
1917
|
}
|
|
1865
1918
|
}
|
|
1919
|
+
/**
|
|
1920
|
+
* Fixed text. The thrown error is deliberately not echoed here: an interaction
|
|
1921
|
+
* response is visible to the whole channel, and handler exceptions routinely
|
|
1922
|
+
* carry absolute paths, config keys, and provider responses. The rethrow keeps
|
|
1923
|
+
* the detail in the Gateway log where operators already look for it.
|
|
1924
|
+
*/
|
|
1925
|
+
const INTERACTION_FAILURE_NOTICE = "Command failed. Check the Gateway logs for details.";
|
|
1926
|
+
/**
|
|
1927
|
+
* Best-effort user-visible notice for a failed interaction. Never throws: a
|
|
1928
|
+
* reporting failure must not mask the original error.
|
|
1929
|
+
*
|
|
1930
|
+
* Deliberately narrow. It reports only for `deferred`, where a spinner is known
|
|
1931
|
+
* to exist and the original response is a placeholder this dispatch created:
|
|
1932
|
+
*
|
|
1933
|
+
* - `deferred` the deferring callback succeeded (state advances only
|
|
1934
|
+
* after a REST success), so editing the original response
|
|
1935
|
+
* resolves a spinner that would otherwise hang forever.
|
|
1936
|
+
* - `deferred-update` a component acknowledgement. Discord leaves no spinner,
|
|
1937
|
+
* and the original response is the message the component is
|
|
1938
|
+
* attached to, so editing it would overwrite content the
|
|
1939
|
+
* user is still reading.
|
|
1940
|
+
* - `unacknowledged` nothing is known to have reached Discord. A second
|
|
1941
|
+
* initial callback risks "already acknowledged" if the
|
|
1942
|
+
* first one landed after all, and Discord already shows its
|
|
1943
|
+
* own "did not respond" notice.
|
|
1944
|
+
* - `replied` the user has seen a message, and nextReplyAction() would
|
|
1945
|
+
* turn this into a contradictory follow-up beside it.
|
|
1946
|
+
*/
|
|
1947
|
+
async function reportInteractionFailure(interaction) {
|
|
1948
|
+
if (interaction.responseState !== "deferred") return;
|
|
1949
|
+
if (interaction.hasSentFollowUp) return;
|
|
1950
|
+
try {
|
|
1951
|
+
await interaction.editDeferredPlaceholderIfUnanswered({
|
|
1952
|
+
content: INTERACTION_FAILURE_NOTICE,
|
|
1953
|
+
allowed_mentions: { parse: [] }
|
|
1954
|
+
});
|
|
1955
|
+
} catch {}
|
|
1956
|
+
}
|
|
1866
1957
|
function resolveConditionalComponentOption(value, interaction) {
|
|
1867
1958
|
return typeof value === "function" ? value(interaction) : value;
|
|
1868
1959
|
}
|
|
@@ -2772,6 +2863,9 @@ var Client = class {
|
|
|
2772
2863
|
async fetchMember(guildId, userId) {
|
|
2773
2864
|
return await this.entityCache.fetchMember(guildId, userId);
|
|
2774
2865
|
}
|
|
2866
|
+
async fetchGuildEmojis(guildId, fetcher) {
|
|
2867
|
+
return await this.entityCache.fetchGuildEmojis(guildId, fetcher);
|
|
2868
|
+
}
|
|
2775
2869
|
async deployCommands(options = {}) {
|
|
2776
2870
|
return await this.commandDeployer.deploy(options);
|
|
2777
2871
|
}
|
|
@@ -2965,6 +3059,7 @@ var discord_exports = /* @__PURE__ */ __exportAll({
|
|
|
2965
3059
|
getThreadMember: () => getThreadMember,
|
|
2966
3060
|
getUser: () => getUser,
|
|
2967
3061
|
getWebhookMessage: () => getWebhookMessage,
|
|
3062
|
+
hasDiscordV2Components: () => hasDiscordV2Components,
|
|
2968
3063
|
isUnknownDiscordVoiceStateError: () => isUnknownDiscordVoiceStateError,
|
|
2969
3064
|
listApplicationCommands: () => listApplicationCommands,
|
|
2970
3065
|
listChannelArchivedThreads: () => listChannelArchivedThreads,
|
|
@@ -3125,6 +3220,79 @@ function resolveDiscordReplyMessageId(reply, isFirst) {
|
|
|
3125
3220
|
return reply && (isFirst || reply.scope === "all") ? reply.messageId : void 0;
|
|
3126
3221
|
}
|
|
3127
3222
|
//#endregion
|
|
3223
|
+
//#region extensions/discord/src/send.receipt.ts
|
|
3224
|
+
function toDiscordOutboundDeliveryResult(result) {
|
|
3225
|
+
const { channelId, ...delivery } = result;
|
|
3226
|
+
return {
|
|
3227
|
+
...delivery,
|
|
3228
|
+
target: {
|
|
3229
|
+
kind: "channel",
|
|
3230
|
+
id: channelId
|
|
3231
|
+
}
|
|
3232
|
+
};
|
|
3233
|
+
}
|
|
3234
|
+
function createDiscordSendReceiptFromResults(params) {
|
|
3235
|
+
const receipt = createMessageReceiptFromOutboundResults({
|
|
3236
|
+
results: attachChannelToResults("discord", params.results),
|
|
3237
|
+
threadId: params.threadId
|
|
3238
|
+
});
|
|
3239
|
+
return {
|
|
3240
|
+
...receipt,
|
|
3241
|
+
parts: receipt.parts.map(({ platformMessageId, kind, threadId, replyToId, raw }, index) => ({
|
|
3242
|
+
platformMessageId,
|
|
3243
|
+
kind,
|
|
3244
|
+
index,
|
|
3245
|
+
threadId,
|
|
3246
|
+
replyToId,
|
|
3247
|
+
raw
|
|
3248
|
+
}))
|
|
3249
|
+
};
|
|
3250
|
+
}
|
|
3251
|
+
function createDiscordSendReceipt(params) {
|
|
3252
|
+
return createMessageReceiptFromOutboundResults({
|
|
3253
|
+
results: params.platformMessageIds.map((messageId) => messageId.trim()).filter((messageId) => messageId && messageId !== "unknown").map((messageId, index) => {
|
|
3254
|
+
const result = {
|
|
3255
|
+
channel: "discord",
|
|
3256
|
+
messageId
|
|
3257
|
+
};
|
|
3258
|
+
if (params.channelId) result.channelId = params.channelId;
|
|
3259
|
+
if (params.reply?.scope === "first" && index === 0) {
|
|
3260
|
+
const rawResult = {
|
|
3261
|
+
channel: "discord",
|
|
3262
|
+
messageId
|
|
3263
|
+
};
|
|
3264
|
+
if (params.channelId) rawResult.channelId = params.channelId;
|
|
3265
|
+
result.receipt = createMessageReceiptFromOutboundResults({
|
|
3266
|
+
results: [rawResult],
|
|
3267
|
+
kind: params.kind,
|
|
3268
|
+
threadId: params.threadId,
|
|
3269
|
+
replyToId: params.reply.messageId
|
|
3270
|
+
});
|
|
3271
|
+
}
|
|
3272
|
+
return result;
|
|
3273
|
+
}),
|
|
3274
|
+
kind: params.kind,
|
|
3275
|
+
threadId: params.threadId,
|
|
3276
|
+
replyToId: params.reply?.scope === "all" ? params.reply.messageId : void 0
|
|
3277
|
+
});
|
|
3278
|
+
}
|
|
3279
|
+
function createDiscordSendResult(params) {
|
|
3280
|
+
const messageId = params.result.id || "unknown";
|
|
3281
|
+
const channelId = params.result.channel_id ?? params.fallbackChannelId;
|
|
3282
|
+
const receiptParams = {
|
|
3283
|
+
platformMessageIds: params.result.platformMessageIds?.length ? params.result.platformMessageIds : [messageId],
|
|
3284
|
+
channelId,
|
|
3285
|
+
kind: params.kind
|
|
3286
|
+
};
|
|
3287
|
+
if (params.threadId != null) receiptParams.threadId = String(params.threadId);
|
|
3288
|
+
if (params.reply) receiptParams.reply = params.reply;
|
|
3289
|
+
return {
|
|
3290
|
+
messageId,
|
|
3291
|
+
channelId,
|
|
3292
|
+
receipt: createDiscordSendReceipt(receiptParams)
|
|
3293
|
+
};
|
|
3294
|
+
}
|
|
3295
|
+
//#endregion
|
|
3128
3296
|
//#region extensions/discord/src/chunk.ts
|
|
3129
3297
|
const DEFAULT_MAX_CHARS = 2e3;
|
|
3130
3298
|
const DEFAULT_MAX_LINES = 17;
|
|
@@ -3447,4 +3615,4 @@ function createDiscordRetryRunner(params) {
|
|
|
3447
3615
|
};
|
|
3448
3616
|
}
|
|
3449
3617
|
//#endregion
|
|
3450
|
-
export {
|
|
3618
|
+
export { TextInput as $, listGuildRoles as $t, ThreadUpdateListener as A, getChannel as At, readRetryAfter as B, addGuildMemberRole as Bt, MessageCreateListener as C, listMessageReactionUsers as Ct, ReadyListener as D, deleteChannelMessage as Dt, PresenceUpdateListener as E, deleteChannel as Et, DiscordError as F, listChannelPins as Ft, User as G, createGuildSticker as Gt, CommandWithSubcommands as H, createGuildChannel as Ht, RateLimitError as I, pinChannelMessage as It, Embed as J, getGuildMember as Jt, hasDiscordV2Components as K, deleteChannelPermission as Kt, isUnknownDiscordVoiceStateError as L, searchGuildMessages as Lt, Client as M, getThreadMember as Mt, Plugin as N, listChannelArchivedThreads as Nt, ResumedListener as O, editChannel as Ot, RequestClient as P, listChannelMessages as Pt, RadioGroup as Q, listGuildEmojis as Qt, readDiscordCode as R, sendChannelTyping as Rt, InteractionCreateListener as S, deleteOwnMessageReaction as St, MessageReactionRemoveListener as T, createThread as Tt, Guild as U, createGuildEmoji as Ut, Command as V, createGuildBan as Vt, Message as W, createGuildScheduledEvent as Wt, Label as X, listGuildActiveThreads as Xt, CheckboxGroup as Y, getGuildVoiceState as Yt, Modal as Z, listGuildChannels as Zt, parseDiscordTarget as _, stripUndefinedFields as _t, chunkDiscordTextWithMode as a, timeoutGuildMember as an, MediaGallery as at, GuildCreateListener as b, getCurrentUser as bt, createDiscordSendResult as c, Row as ct, resolveDiscordReplyMessageId as d, StringSelectMenu as dt, listGuildScheduledEvents as en, Button as et, resolveDiscordReplyReference as f, TextDisplay as ft, normalizeDiscordOutboundTarget as g, parseCustomId as gt, normalizeDiscordMessagingTarget as h, BaseMessageInteractiveComponent as ht, recordDiscordMessageCreateAmbiguity as i, removeGuildMemberRole as in, LinkButton as it, VoiceStateUpdateListener as j, getChannelMessage as jt, ThreadDeleteListener as k, editChannelMessage as kt, toDiscordOutboundDeliveryResult as l, Section as lt, looksLikeDiscordTargetId as m, UserSelectMenu as mt, createDiscordRetryRunner as n, putChannelPermission as nn, Container as nt, createDiscordSendReceipt as o, __exportAll as on, MentionableSelectMenu as ot, allowFromContainsDiscordUserId as p, Thumbnail as pt, serializePayload as q, getGuild as qt, hasDiscordMessageCreateAmbiguity as r, removeGuildMember as rn, File as rt, createDiscordSendReceiptFromResults as s, RoleSelectMenu as st, classifyDiscordDeliveryFailure as t, moveGuildChannels as tn, ChannelSelectMenu as tt, createReusableDiscordReplyReference as u, Separator as ut, resolveDiscordChannelId as v, createChannelWebhook as vt, MessageReactionAddListener as w, createChannelMessage as wt, GuildDeleteListener as x, createOwnMessageReaction as xt, discord_exports as y, createUserDmChannel as yt, readDiscordMessage as z, unpinChannelMessage as zt };
|