@fluxerjs/core 3.3.0 → 3.5.0

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.
@@ -1,5 +1,5 @@
1
1
  import * as _fluxerjs_types from '@fluxerjs/types';
2
- import { APIGuild, APIRole, SystemChannelFlagsValue, DefaultMessageNotifications, GuildVerificationLevel, GuildMFALevel, GuildExplicitContentFilter, SplashCardAlignment, GuildNSFWLevel, ContentWarningLevel, GuildFeature, EmbedType, ChannelType, APIChannel, APIUserPartial, APIBan, APIEmoji, APISticker, InviteType, APIInvite, WebhookType, APIWebhook, RESTPostAPIEmbed, AuditLogActionType, APIInstanceEndpoints, APIInstance, APIGuildMember, APIMessageReaction, APIMessageSticker, MessageType, APIChannelPartial, OverwriteType, APIChannelOverwrite, APIForumTag, APIDefaultReactionEmoji, ForumSortOrder, ForumTagSetting, ForumLayout, APIThreadMember, GatewayMessageReactionAddDispatchData, GatewayMessageReactionRemoveDispatchData, APIMessage, GatewayVoiceStateUpdateDispatchData, GatewayVoiceStateAckDispatchData, GatewayVoiceServerUpdateDispatchData, GatewayEntranceSoundPlayDispatchData, GatewayVoiceStatesSyncData, GatewayUserConnectionsUpdateDispatchData, GatewayWebAuthnCredentialsUpdateDispatchData, GatewayReceivePayload, APIGatewayBotResponse, APIEmojiMetadata, APIStickerMetadata, APIApplicationMe, APIOAuthApplication, APIPreloadMessagesResponse, APIBulkMessageFetchResponse, GatewaySendPayload, Routes } from '@fluxerjs/types';
2
+ import { APIGuild, APIRole, SystemChannelFlagsValue, DefaultMessageNotifications, GuildVerificationLevel, GuildMFALevel, GuildExplicitContentFilter, SplashCardAlignment, GuildNSFWLevel, ContentWarningLevel, GuildFeature, EmbedType, ChannelType, APIChannel, APIUserPartial, APIBan, APIEmoji, APISticker, InviteType, APIInvite, StageInstancePrivacyLevel, APIStageInstance, WebhookType, APIWebhook, RESTPostAPIEmbed, AuditLogActionType, APIInstanceEndpoints, APIInstance, APIGuildMember, APIMessageReaction, APIMessageSticker, MessageType, APIChannelPartial, OverwriteType, APIChannelOverwrite, APIStageCount, APIForumTag, APIDefaultReactionEmoji, ForumSortOrder, ForumTagSetting, ForumLayout, APIThreadMember, GatewayMessageReactionAddDispatchData, GatewayMessageReactionRemoveDispatchData, APIMessage, GatewayVoiceStateUpdateDispatchData, GatewayVoiceStateAckDispatchData, GatewayVoiceServerUpdateDispatchData, GatewayEntranceSoundPlayDispatchData, GatewayVoiceSignalDispatchData, GatewayGuildHealthUpdateDispatchData, GatewayOperatorPassUpdateDispatchData, GatewayVoiceStatesSyncData, GatewayVoiceJoinQueuedDispatchData, GatewayStageVoiceStatesSyncDispatchData, GatewayStageAudienceListUpdateDispatchData, GatewayUserConnectionsUpdateDispatchData, GatewayWebAuthnCredentialsUpdateDispatchData, GatewayReceivePayload, APIGatewayBotResponse, APIEmojiMetadata, APIStickerMetadata, APIApplicationMe, APIOAuthApplication, APIPreloadMessagesResponse, APIBulkMessageFetchResponse, GatewaySendPayload, Routes } from '@fluxerjs/types';
3
3
  import * as _fluxerjs_collection from '@fluxerjs/collection';
4
4
  import { LimitedCollection, Collection } from '@fluxerjs/collection';
5
5
  import { PermissionsBitField, LogLevel, Logger, MessageFlagsResolvable, PermissionResolvable, MessageFlagsBitField } from '@fluxerjs/util';
@@ -173,6 +173,7 @@ interface FetchGuildMembersOptions {
173
173
  */
174
174
  declare class GuildMemberManager extends LimitedCollection<string, GuildMember> {
175
175
  private readonly guild;
176
+ private readonly pendingFetches;
176
177
  constructor(guild: Guild);
177
178
  /**
178
179
  * Get a guild member from cache or fetch from the API if not present.
@@ -313,6 +314,8 @@ declare class User extends Base {
313
314
  readonly system: boolean;
314
315
  /** Banner hash for profile. */
315
316
  banner: string | null;
317
+ /** True when this user was created from an ID-only stub and not yet hydrated from REST/gateway. */
318
+ partial: boolean;
316
319
  constructor(client: Client, data: APIUserPartial & {
317
320
  banner?: string | null;
318
321
  });
@@ -320,6 +323,8 @@ declare class User extends Base {
320
323
  _patch(data: APIUserPartial & {
321
324
  banner?: string | null;
322
325
  }): void;
326
+ /** Fetch the full user from REST when this instance is a partial stub. */
327
+ fetch(): Promise<User>;
323
328
  private cdnOpts;
324
329
  /**
325
330
  * User avatar CDN URL (null if no custom avatar set).
@@ -453,6 +458,8 @@ declare class Role extends Base {
453
458
  mentionable: boolean;
454
459
  /** Unicode emoji for this role (null = none). */
455
460
  unicodeEmoji: string | null;
461
+ /** Role icon image hash (null = none). */
462
+ icon: string | null;
456
463
  /** Hoist position (null = not hoisted). */
457
464
  hoistPosition: number | null;
458
465
  constructor(client: Client, data: APIRole, guildId: string);
@@ -652,6 +659,61 @@ declare class Invite extends Base {
652
659
  delete(): Promise<void>;
653
660
  }
654
661
 
662
+ /** Options for {@link StageInstance.edit}. */
663
+ interface StageInstanceEditOptions {
664
+ /** New topic (1-120 characters after trimming). Posts a `StageTopic` system message. */
665
+ topic?: string;
666
+ reason?: string;
667
+ }
668
+ /** Options for {@link StageInstance.delete}. */
669
+ interface StageInstanceDeleteOptions {
670
+ /**
671
+ * Also disconnect everyone from the stage (needs `MOVE_MEMBERS`). By default speakers move to
672
+ * the audience and everyone stays connected.
673
+ */
674
+ disconnectAll?: boolean;
675
+ reason?: string;
676
+ }
677
+ /**
678
+ * A live stage in a stage channel. A stage channel has at most one instance, and the stage is live
679
+ * while it has one. Starting, editing and ending a stage needs a stage moderator
680
+ * (`MANAGE_CHANNELS`, `MUTE_MEMBERS` and `MOVE_MEMBERS` in the channel, or `ADMINISTRATOR`).
681
+ */
682
+ declare class StageInstance extends Base {
683
+ readonly client: Client;
684
+ readonly id: string;
685
+ readonly guildId: string;
686
+ readonly channelId: string;
687
+ topic: string;
688
+ /** Always {@link StageInstancePrivacyLevel.GuildOnly} on Fluxer. */
689
+ privacyLevel: StageInstancePrivacyLevel;
690
+ /** Always `true` on Fluxer. */
691
+ discoverableDisabled: boolean;
692
+ /** Always null on Fluxer. */
693
+ guildScheduledEventId: string | null;
694
+ constructor(client: Client, data: APIStageInstance);
695
+ /** @internal Patch in place from a newer payload. */
696
+ _patch(data: Partial<APIStageInstance>): void;
697
+ get guild(): Guild | null;
698
+ get channel(): StageChannel | null;
699
+ /** Unix timestamp (ms) when the stage started, from its snowflake ID. */
700
+ get createdTimestamp(): number;
701
+ get createdAt(): Date;
702
+ /**
703
+ * Change the live stage. Needs a stage moderator.
704
+ * Fires `STAGE_INSTANCE_UPDATE`.
705
+ */
706
+ edit(options: StageInstanceEditOptions): Promise<this>;
707
+ /** Change the stage topic. Shorthand for {@link edit}. */
708
+ setTopic(topic: string, reason?: string): Promise<this>;
709
+ /**
710
+ * End the stage. Needs a stage moderator. Speakers move to the audience, raised hands are
711
+ * lowered, and everyone stays connected unless `disconnectAll` is set.
712
+ */
713
+ delete(options?: StageInstanceDeleteOptions): Promise<void>;
714
+ toJSON(): APIStageInstance;
715
+ }
716
+
655
717
  /** Execute-webhook options: shared message fields plus username/avatar overrides. */
656
718
  type WebhookSendOptions = Pick<MessageSendOptions, 'content' | 'embeds' | 'tts' | 'allowedMentions' | 'files' | 'attachments'> & {
657
719
  username?: string;
@@ -739,6 +801,11 @@ declare class Guild extends Base {
739
801
  readonly id: string;
740
802
  /** Whether the guild is currently available through the gateway. */
741
803
  available: boolean;
804
+ /**
805
+ * True when only guild metadata is known (e.g. created from `GET /guilds/{id}`)
806
+ * and nested channels/roles have not been synced yet. `guilds.resolve()` hydrates partial guilds.
807
+ */
808
+ partial: boolean;
742
809
  /** Guild name. */
743
810
  name: string;
744
811
  /** Icon hash (use {@link iconURL} to get full CDN URL). */
@@ -811,6 +878,10 @@ declare class Guild extends Base {
811
878
  emojis: LimitedCollection<string, GuildEmoji>;
812
879
  /** Cached stickers in this guild. */
813
880
  stickers: LimitedCollection<string, GuildSticker>;
881
+ /** Live stages in this guild's stage channels, keyed by stage instance ID. */
882
+ stageInstances: Collection<string, StageInstance>;
883
+ /** Most participants a stage can have while speakers use video, or null if unknown. */
884
+ maxStageVideoChannelUsers: number | null;
814
885
  /**
815
886
  * Construct a guild from API data.
816
887
  * @param data - API guild from GET /guilds/{id} or gateway GUILD_CREATE
@@ -888,6 +959,8 @@ declare class Guild extends Base {
888
959
  resetRoleHoistPositions(): Promise<Role[]>;
889
960
  /** Ban a user from the guild. Requires Ban Members. `banDurationSeconds`: 0 = permanent. */
890
961
  ban(userId: string, options?: GuildBanOptions): Promise<void>;
962
+ /** Fetch a single ban by user ID. Requires Ban Members. */
963
+ fetchBan(userId: string): Promise<GuildBan>;
891
964
  /** Fetch all bans in this guild. Requires Ban Members. */
892
965
  fetchBans(): Promise<GuildBan[]>;
893
966
  /** Unban a user from the guild. Requires Ban Members. */
@@ -973,7 +1046,7 @@ declare class Guild extends Base {
973
1046
  }
974
1047
 
975
1048
  /**
976
- * Optional cache size limits (FIFO eviction when exceeded).
1049
+ * Optional cache size limits (LRU eviction when exceeded).
977
1050
  *
978
1051
  * | Value | Meaning |
979
1052
  * |-------|---------|
@@ -1269,17 +1342,18 @@ declare class CacheController {
1269
1342
  /**
1270
1343
  * Channel cache + fetch/send helpers.
1271
1344
  * Extends {@link LimitedCollection} (`.get()`, `.set()`, `.filter()`, …).
1272
- * FIFO-evicts (and keeps guild indexes / message caches aligned) at `cache.channels`.
1345
+ * LRU-evicts (and keeps guild indexes / message caches aligned) at `cache.channels`.
1273
1346
  */
1274
1347
  declare class ChannelManager extends LimitedCollection<string, Channel> {
1275
1348
  private readonly client;
1349
+ private readonly pendingFetches;
1276
1350
  constructor(client: Client);
1277
1351
  /**
1278
1352
  * Remove a channel from cache. Does not delete it on the API.
1279
1353
  * Use {@link Channel.delete} after {@link fetch} to delete the channel.
1280
1354
  */
1281
1355
  delete(key: string): boolean;
1282
- /** Retrieve from cache, otherwise {@link fetch}. */
1356
+ /** Retrieve from cache (hydrating partial stubs), otherwise {@link fetch}. */
1283
1357
  resolve(channelId: string): Promise<Channel>;
1284
1358
  /**
1285
1359
  * Fetch a channel by ID. The returned {@link Channel} has {@link Channel.delete}
@@ -1294,6 +1368,7 @@ declare class ChannelManager extends LimitedCollection<string, Channel> {
1294
1368
  fetch(channelId: string, options?: {
1295
1369
  force?: boolean;
1296
1370
  }): Promise<Channel>;
1371
+ private fetchFresh;
1297
1372
  /**
1298
1373
  * Fetch a message by channel + message ID (no channel resolve required).
1299
1374
  * Prefer `channel.messages.fetch(messageId)` when you already have a text channel.
@@ -1336,10 +1411,11 @@ declare class ClientUser extends User {
1336
1411
  /**
1337
1412
  * Guild cache and manager with fetch.
1338
1413
  * Extends {@link LimitedCollection} so you can use `.get()`, `.set()`, `.filter()`, etc.
1339
- * FIFO-evicts (and cascades nested caches) when at the resolved `cache.guilds` limit.
1414
+ * LRU-evicts (and cascades nested caches) when at the resolved `cache.guilds` limit.
1340
1415
  */
1341
1416
  declare class GuildManager extends LimitedCollection<string, Guild> {
1342
1417
  private readonly client;
1418
+ private readonly pendingFetches;
1343
1419
  constructor(client: Client);
1344
1420
  /**
1345
1421
  * Remove a guild from cache and cascade its channels / message caches.
@@ -1348,6 +1424,7 @@ declare class GuildManager extends LimitedCollection<string, Guild> {
1348
1424
  delete(key: string): boolean;
1349
1425
  /**
1350
1426
  * Get a guild from cache or fetch from the API if not present.
1427
+ * Partial (metadata-only) cached guilds are hydrated first.
1351
1428
  * @param guildId - Snowflake of the guild
1352
1429
  * @returns The guild
1353
1430
  * @throws FluxerError with GUILD_NOT_FOUND if missing
@@ -1355,12 +1432,15 @@ declare class GuildManager extends LimitedCollection<string, Guild> {
1355
1432
  resolve(guildId: string): Promise<Guild>;
1356
1433
  /**
1357
1434
  * Fetch a guild by ID.
1358
- * Returns the cached guild unless `force` is set, in which case REST metadata is applied via `_patch`.
1435
+ * Returns the cached guild unless `force` is set, in which case REST metadata
1436
+ * is applied via `_patch`. Use {@link resolve} to also hydrate nested caches.
1359
1437
  * @throws FluxerError with GUILD_NOT_FOUND if missing
1360
1438
  */
1361
1439
  fetch(guildId: string, options?: {
1362
1440
  force?: boolean;
1363
1441
  }): Promise<Guild>;
1442
+ /** Best-effort nested sync for a metadata-only guild. Failures keep `partial` set. */
1443
+ private hydrate;
1364
1444
  }
1365
1445
 
1366
1446
  type MemberPayload = APIGuildMember & {
@@ -1384,14 +1464,18 @@ interface FetchedUserWithProfile {
1384
1464
  */
1385
1465
  declare class UserManager extends LimitedCollection<string, User> {
1386
1466
  private readonly client;
1467
+ private readonly pendingFetches;
1387
1468
  constructor(client: Client);
1388
1469
  /** Remove matching users (skips `client.user`). Returns count removed. */
1389
1470
  sweep(filter?: (user: User, id: string) => boolean): number;
1390
- /** Fetch a user by ID and update cache. Returns cache unless `force` is set. */
1471
+ /**
1472
+ * Fetch a user by ID and update cache. Returns the cached user unless `force` is set
1473
+ * or the cached entry is only a partial stub (e.g. from a reaction event).
1474
+ */
1391
1475
  fetch(userId: string, options?: {
1392
1476
  force?: boolean;
1393
1477
  }): Promise<User>;
1394
- /** Return a cached user, otherwise {@link fetch}. */
1478
+ /** Return a cached (non-partial) user, otherwise {@link fetch}. */
1395
1479
  resolve(userId: string): Promise<User>;
1396
1480
  /**
1397
1481
  * Fetch user + profiles (+ optional guild member). Ideal for userinfo commands.
@@ -1508,6 +1592,7 @@ declare const Events: {
1508
1592
  readonly GuildEmojisUpdate: "guildEmojisUpdate";
1509
1593
  readonly GuildStickersUpdate: "guildStickersUpdate";
1510
1594
  readonly GuildCountsUpdate: "guildCountsUpdate";
1595
+ readonly GuildHealthUpdate: "guildHealthUpdate";
1511
1596
  readonly ChannelMemberCountsUpdate: "channelMemberCountsUpdate";
1512
1597
  readonly GuildMemberAdd: "guildMemberAdd";
1513
1598
  readonly GuildMemberUpdate: "guildMemberUpdate";
@@ -1542,7 +1627,16 @@ declare const Events: {
1542
1627
  readonly VoiceStateAck: "voiceStateAck";
1543
1628
  readonly VoiceServerUpdate: "voiceServerUpdate";
1544
1629
  readonly EntranceSoundPlay: "entranceSoundPlay";
1630
+ readonly VoiceSignal: "voiceSignal";
1631
+ readonly OperatorPassUpdate: "operatorPassUpdate";
1545
1632
  readonly VoiceStatesSync: "voiceStatesSync";
1633
+ readonly VoiceJoinQueued: "voiceJoinQueued";
1634
+ readonly StageInstanceCreate: "stageInstanceCreate";
1635
+ readonly StageInstanceUpdate: "stageInstanceUpdate";
1636
+ readonly StageInstanceDelete: "stageInstanceDelete";
1637
+ readonly StageCountsUpdate: "stageCountsUpdate";
1638
+ readonly StageVoiceStatesSync: "stageVoiceStatesSync";
1639
+ readonly StageAudienceListUpdate: "stageAudienceListUpdate";
1546
1640
  readonly WebhooksUpdate: "webhooksUpdate";
1547
1641
  readonly Resumed: "resumed";
1548
1642
  readonly Error: "error";
@@ -1567,7 +1661,7 @@ interface ResolvedInstance {
1567
1661
  declare const INSTANCE_DISCOVERY_PATH: "/.well-known/fluxer";
1568
1662
  /**
1569
1663
  * Absolute unversioned discovery URL for an origin.
1570
- * Hosted Fluxer: `https://fluxer.app/.well-known/fluxer` (may 308 to `api_public`).
1664
+ * Hosted Fluxer: `https://fluxer.com/.well-known/fluxer` (may 308 to `api_public`).
1571
1665
  */
1572
1666
  declare function instanceDiscoveryUrl(origin: string): string;
1573
1667
  /** Strip trailing `/vN` and trailing slash from an API origin. */
@@ -1696,6 +1790,7 @@ declare const DMChannel_base: (abstract new (...args: any[]) => {
1696
1790
  name: string | null;
1697
1791
  icon: string | null;
1698
1792
  lastPinTimestamp: string | null;
1793
+ partial: boolean;
1699
1794
  get createdTimestamp(): number;
1700
1795
  get createdAt(): Date;
1701
1796
  _patch(data: APIChannelPartial | APIChannel): void;
@@ -1710,6 +1805,8 @@ declare const DMChannel_base: (abstract new (...args: any[]) => {
1710
1805
  isDM(): this is DMChannel;
1711
1806
  isPersonalNotes(): boolean;
1712
1807
  isVoice(): this is VoiceChannel;
1808
+ isStage(): this is StageChannel;
1809
+ isVoiceBased(): this is VoiceChannel | StageChannel;
1713
1810
  isLink(): this is LinkChannel;
1714
1811
  bulkDelete(countOrIds: number | readonly string[]): Promise<string[]>;
1715
1812
  bulkDeleteMyMessages(options?: SudoVerificationOptions): Promise<void>;
@@ -1876,6 +1973,7 @@ declare const TextChannel_base: (abstract new (...args: any[]) => {
1876
1973
  name: string | null;
1877
1974
  icon: string | null;
1878
1975
  lastPinTimestamp: string | null;
1976
+ partial: boolean;
1879
1977
  get createdTimestamp(): number;
1880
1978
  get createdAt(): Date;
1881
1979
  _patch(data: _fluxerjs_types.APIChannelPartial | APIChannel): void;
@@ -1890,6 +1988,8 @@ declare const TextChannel_base: (abstract new (...args: any[]) => {
1890
1988
  isDM(): this is DMChannel;
1891
1989
  isPersonalNotes(): boolean;
1892
1990
  isVoice(): this is VoiceChannel;
1991
+ isStage(): this is StageChannel;
1992
+ isVoiceBased(): this is VoiceChannel | StageChannel;
1893
1993
  isLink(): this is LinkChannel;
1894
1994
  bulkDelete(countOrIds: number | readonly string[]): Promise<string[]>;
1895
1995
  bulkDeleteMyMessages(options?: SudoVerificationOptions): Promise<void>;
@@ -1954,6 +2054,13 @@ declare class TextChannel extends TextChannel_base {
1954
2054
  * Same fields and slowmode as a text channel. Published messages are copied into channels that follow it.
1955
2055
  */
1956
2056
  declare class AnnouncementChannel extends TextChannel {
2057
+ /**
2058
+ * Follow this announcement channel into `webhookChannelId` (a channel in a guild
2059
+ * where the bot can manage webhooks). Published messages are copied there.
2060
+ */
2061
+ follow(webhookChannelId: string): Promise<_fluxerjs_types.APIFollowedChannel>;
2062
+ /** Fetch follower counts for this announcement channel. */
2063
+ fetchFollowerStats(): Promise<_fluxerjs_types.APIChannelFollowerStats>;
1957
2064
  }
1958
2065
  /** A category channel (container for organizing channels). */
1959
2066
  declare class CategoryChannel extends GuildChannel {
@@ -1969,6 +2076,7 @@ declare const VoiceChannel_base: (abstract new (...args: any[]) => {
1969
2076
  name: string | null;
1970
2077
  icon: string | null;
1971
2078
  lastPinTimestamp: string | null;
2079
+ partial: boolean;
1972
2080
  get createdTimestamp(): number;
1973
2081
  get createdAt(): Date;
1974
2082
  _patch(data: _fluxerjs_types.APIChannelPartial | APIChannel): void;
@@ -1983,6 +2091,8 @@ declare const VoiceChannel_base: (abstract new (...args: any[]) => {
1983
2091
  isDM(): this is DMChannel;
1984
2092
  isPersonalNotes(): boolean;
1985
2093
  isVoice(): this is VoiceChannel;
2094
+ isStage(): this is StageChannel;
2095
+ isVoiceBased(): this is VoiceChannel | StageChannel;
1986
2096
  isLink(): this is LinkChannel;
1987
2097
  bulkDelete(countOrIds: number | readonly string[]): Promise<string[]>;
1988
2098
  bulkDeleteMyMessages(options?: SudoVerificationOptions): Promise<void>;
@@ -2033,6 +2143,8 @@ declare class VoiceChannel extends VoiceChannel_base {
2033
2143
  voiceConnectionLimit?: number | null;
2034
2144
  /** RTC region override for this channel. */
2035
2145
  rtcRegion?: string | null;
2146
+ /** Whether voice in this channel is peer-to-peer (`rtc_p2p`). */
2147
+ rtcP2p?: boolean;
2036
2148
  constructor(client: Client, data: APIChannel);
2037
2149
  /**
2038
2150
  * Set slowmode (seconds between messages). Pass `0` to disable.
@@ -2041,6 +2153,70 @@ declare class VoiceChannel extends VoiceChannel_base {
2041
2153
  setSlowmode(seconds: number): Promise<this>;
2042
2154
  protected applyEditPatch(data: APIChannel): void;
2043
2155
  }
2156
+ /** Speaker, audience and raised-hand counts of a stage channel (from `STAGE_COUNTS_UPDATE`). */
2157
+ interface StageCounts {
2158
+ listenerCount: number;
2159
+ speakerCount: number;
2160
+ requestCount: number;
2161
+ /** Whether speakers can share video right now (null when not sent). */
2162
+ videoEnabled: boolean | null;
2163
+ }
2164
+ /** Options for {@link StageChannel.createStageInstance}. */
2165
+ interface StageInstanceCreateOptions {
2166
+ /** Stage topic (1-120 characters after trimming). */
2167
+ topic: string;
2168
+ /** Mention everyone who can view the channel in the start message. Needs `MENTION_EVERYONE`. */
2169
+ sendStartNotification?: boolean;
2170
+ reason?: string;
2171
+ }
2172
+ /**
2173
+ * A stage channel (type 13): a voice channel for events where a few speakers talk to an audience.
2174
+ * It has text chat like a voice channel, and a stage is live while it has a {@link StageInstance}.
2175
+ *
2176
+ * Everyone joins in the audience. Bots with `MUTE_MEMBERS` can make themselves speakers with
2177
+ * {@link setSuppressed}`(false)`; `@fluxerjs/voice` can do it on join with `{ speaker: true }`.
2178
+ */
2179
+ declare class StageChannel extends VoiceChannel {
2180
+ /** Last known stage counts, or null until Fluxer sends them. */
2181
+ counts: StageCounts | null;
2182
+ /** The cached live stage of this channel, or null when the stage isn't live (or not cached). */
2183
+ get stageInstance(): StageInstance | null;
2184
+ /** Whether the stage is live according to the cache. */
2185
+ get isLive(): boolean;
2186
+ /**
2187
+ * Start a stage in this channel. Needs a stage moderator (`MANAGE_CHANNELS`, `MUTE_MEMBERS` and
2188
+ * `MOVE_MEMBERS`). When the caller is connected to the stage, they become a speaker.
2189
+ */
2190
+ createStageInstance(options: StageInstanceCreateOptions): Promise<StageInstance>;
2191
+ /** Fetch the live stage of this channel. Rejects with `UNKNOWN_STAGE_INSTANCE` when not live. */
2192
+ fetchStageInstance(): Promise<StageInstance>;
2193
+ /**
2194
+ * Move a member (or yourself when `user` is omitted) between the audience and the speakers.
2195
+ *
2196
+ * - Yourself, `false`: become a speaker (needs `MUTE_MEMBERS`), or accept an open invite.
2197
+ * - Yourself, `true`: move to the audience, or decline an invite.
2198
+ * - Another member, `false`: invite them to speak (a bot becomes a speaker at once). Needs `MUTE_MEMBERS`.
2199
+ * - Another member, `true`: move them to the audience and clear a raised hand or invite.
2200
+ */
2201
+ setSuppressed(suppressed: boolean, user?: string | {
2202
+ id: string;
2203
+ }): Promise<void>;
2204
+ /** Invite a member to speak (a bot becomes a speaker at once). Needs `MUTE_MEMBERS`. */
2205
+ inviteToSpeak(user: string | {
2206
+ id: string;
2207
+ }): Promise<void>;
2208
+ /** Move a speaker (or yourself when `user` is omitted) to the audience. */
2209
+ moveToAudience(user?: string | {
2210
+ id: string;
2211
+ }): Promise<void>;
2212
+ /**
2213
+ * Raise (`true`) or lower (`false`) your hand. Raising needs a live stage and
2214
+ * `REQUEST_TO_SPEAK`; lowering also accepts an open invite to speak.
2215
+ */
2216
+ setRequestToSpeak(raised?: boolean): Promise<void>;
2217
+ /** @internal Apply a stage count object. */
2218
+ _patchCounts(data: APIStageCount): void;
2219
+ }
2044
2220
  /** A link channel (redirects to an external URL). */
2045
2221
  declare class LinkChannel extends GuildChannel {
2046
2222
  /** External URL this channel links to. */
@@ -2139,6 +2315,7 @@ declare const ThreadChannel_base: (abstract new (...args: any[]) => {
2139
2315
  name: string | null;
2140
2316
  icon: string | null;
2141
2317
  lastPinTimestamp: string | null;
2318
+ partial: boolean;
2142
2319
  get createdTimestamp(): number;
2143
2320
  get createdAt(): Date;
2144
2321
  _patch(data: _fluxerjs_types.APIChannelPartial | APIChannel): void;
@@ -2153,6 +2330,8 @@ declare const ThreadChannel_base: (abstract new (...args: any[]) => {
2153
2330
  isDM(): this is DMChannel;
2154
2331
  isPersonalNotes(): boolean;
2155
2332
  isVoice(): this is VoiceChannel;
2333
+ isStage(): this is StageChannel;
2334
+ isVoiceBased(): this is VoiceChannel | StageChannel;
2156
2335
  isLink(): this is LinkChannel;
2157
2336
  bulkDelete(countOrIds: number | readonly string[]): Promise<string[]>;
2158
2337
  bulkDeleteMyMessages(options?: SudoVerificationOptions): Promise<void>;
@@ -2454,6 +2633,16 @@ interface ChannelMemberCountsUpdatePayload {
2454
2633
  onlineCount: number;
2455
2634
  }>;
2456
2635
  }
2636
+ /** Counts of a stage channel changed (`STAGE_COUNTS_UPDATE`). */
2637
+ interface StageCountsUpdatePayload {
2638
+ guildId: string;
2639
+ channelId: string;
2640
+ listenerCount: number;
2641
+ speakerCount: number;
2642
+ requestCount: number;
2643
+ /** Whether speakers can share video right now (null when not sent). */
2644
+ videoEnabled: boolean | null;
2645
+ }
2457
2646
  /** Role update with optional previous snapshot. */
2458
2647
  interface GuildRoleUpdatePayload {
2459
2648
  /** Role after the update (cached instance). */
@@ -2808,6 +2997,10 @@ declare class Message extends Base {
2808
2997
  startThread(options: StartThreadFromMessageOptions): Promise<ThreadChannel>;
2809
2998
  /** Fetch the latest version of this message from the API. */
2810
2999
  fetch(): Promise<Message>;
3000
+ /** Publish this announcement message to channels following its channel. */
3001
+ crosspost(): Promise<Message>;
3002
+ /** Fetch the source guild of a crossposted (followed-channel) message. */
3003
+ fetchCrosspostSource(): Promise<_fluxerjs_types.APICrosspostSource>;
2811
3004
  /** Delete this message. */
2812
3005
  delete(reason?: string): Promise<void>;
2813
3006
  /** Delete a specific attachment from this message. */
@@ -2872,6 +3065,7 @@ declare class MessageManager {
2872
3065
  private readonly channelId;
2873
3066
  /** Structure cache keyed by message id (identity for {@link get}). */
2874
3067
  private readonly _structures;
3068
+ private readonly pendingFetches;
2875
3069
  constructor(client: Client, channelId: string);
2876
3070
  /** Retrieve a cached message by ID, or `undefined` if missing / caching disabled. */
2877
3071
  get(messageId: string): Message | undefined;
@@ -2885,6 +3079,7 @@ declare class MessageManager {
2885
3079
  private wrap;
2886
3080
  /** Fetch a single message from the API. */
2887
3081
  private fetchOne;
3082
+ private fetchOneFresh;
2888
3083
  /** Fetch multiple messages from the API with pagination/filtering. */
2889
3084
  private fetchMany;
2890
3085
  }
@@ -2909,6 +3104,11 @@ declare abstract class Channel extends Base {
2909
3104
  icon: string | null;
2910
3105
  /** ISO8601 timestamp of the last pinned message update. */
2911
3106
  lastPinTimestamp: string | null;
3107
+ /**
3108
+ * True when built from a partial payload (e.g. a DM stub) and not yet hydrated
3109
+ * with a full channel object. `channels.resolve()` refetches partial channels.
3110
+ */
3111
+ partial: boolean;
2912
3112
  constructor(client: Client, data: APIChannelPartial);
2913
3113
  /** Unix timestamp (ms) when this channel was created, derived from its snowflake ID. */
2914
3114
  get createdTimestamp(): number;
@@ -2949,8 +3149,12 @@ declare abstract class Channel extends Base {
2949
3149
  isDM(): this is DMChannel;
2950
3150
  /** Check if this is a personal notes channel. */
2951
3151
  isPersonalNotes(): boolean;
2952
- /** Check if this is a voice channel. */
3152
+ /** Check if this is a voice channel (type 2 only; see {@link isVoiceBased} to include stages). */
2953
3153
  isVoice(): this is VoiceChannel;
3154
+ /** Check if this is a stage channel (type 13). */
3155
+ isStage(): this is StageChannel;
3156
+ /** Check if this is a voice or stage channel, i.e. one `@fluxerjs/voice` can join. */
3157
+ isVoiceBased(): this is VoiceChannel | StageChannel;
2954
3158
  /** Check if this is a link channel. */
2955
3159
  isLink(): this is LinkChannel;
2956
3160
  /**
@@ -3191,7 +3395,20 @@ interface ClientEvents {
3191
3395
  [Events.VoiceStateAck]: [data: GatewayVoiceStateAckDispatchData];
3192
3396
  [Events.VoiceServerUpdate]: [data: GatewayVoiceServerUpdateDispatchData];
3193
3397
  [Events.EntranceSoundPlay]: [data: GatewayEntranceSoundPlayDispatchData];
3398
+ [Events.VoiceSignal]: [data: GatewayVoiceSignalDispatchData];
3399
+ [Events.GuildHealthUpdate]: [data: GatewayGuildHealthUpdateDispatchData];
3400
+ [Events.OperatorPassUpdate]: [data: GatewayOperatorPassUpdateDispatchData];
3194
3401
  [Events.VoiceStatesSync]: [data: GatewayVoiceStatesSyncData];
3402
+ [Events.VoiceJoinQueued]: [data: GatewayVoiceJoinQueuedDispatchData];
3403
+ [Events.StageInstanceCreate]: [stageInstance: StageInstance];
3404
+ [Events.StageInstanceUpdate]: [
3405
+ oldStageInstance: StageInstance | null,
3406
+ newStageInstance: StageInstance
3407
+ ];
3408
+ [Events.StageInstanceDelete]: [stageInstance: StageInstance];
3409
+ [Events.StageCountsUpdate]: [payload: StageCountsUpdatePayload];
3410
+ [Events.StageVoiceStatesSync]: [data: GatewayStageVoiceStatesSyncDispatchData];
3411
+ [Events.StageAudienceListUpdate]: [data: GatewayStageAudienceListUpdateDispatchData];
3195
3412
  [Events.MessageDeleteBulk]: [payload: MessageDeleteBulkPayload];
3196
3413
  [Events.GuildBanAdd]: [ban: GuildBan];
3197
3414
  [Events.GuildBanRemove]: [ban: GuildBan];
@@ -3304,7 +3521,7 @@ declare class Client extends EventEmitter {
3304
3521
  * Wires REST from `endpoints.api_public`. `endpoints.api` / `api_client` stay on the instance for inspection.
3305
3522
  * Does not log in. Call {@link login} with a token afterward.
3306
3523
  *
3307
- * @param origin - Origin used only to fetch discovery (e.g. `https://fluxer.app` or `https://my.instance`)
3524
+ * @param origin - Origin used only to fetch discovery (e.g. `https://fluxer.com` or `https://my.instance`)
3308
3525
  * @param options - Client options (must not conflict with discovered `endpoints.api_public`)
3309
3526
  * @param connectOptions - Optional abort signal for the discovery request
3310
3527
  */
@@ -3356,6 +3573,27 @@ declare class Client extends EventEmitter {
3356
3573
  * @returns Sticker metadata (name, pack, tags, etc.)
3357
3574
  */
3358
3575
  fetchStickerMetadata(stickerId: string): Promise<APIStickerMetadata>;
3576
+ /** Fetch the source guild of a custom emoji. */
3577
+ fetchEmojiSource(emojiId: string): Promise<_fluxerjs_types.APIExpressionSourceGuild>;
3578
+ /** Fetch the source guild of a custom sticker. */
3579
+ fetchStickerSource(stickerId: string): Promise<_fluxerjs_types.APIExpressionSourceGuild>;
3580
+ /** List discovery categories. */
3581
+ fetchDiscoveryCategories(): Promise<_fluxerjs_types.APIDiscoveryCategory[]>;
3582
+ /** Search discoverable guilds. */
3583
+ searchDiscoveryGuilds(options?: _fluxerjs_types.APIDiscoveryGuildSearchOptions): Promise<_fluxerjs_types.APIDiscoveryGuildList>;
3584
+ /** Fetch experiment assignments for this account. */
3585
+ fetchExperiments(): Promise<_fluxerjs_types.APIExperimentAssignments>;
3586
+ /** Refresh expiring attachment CDN URLs. */
3587
+ refreshAttachmentUrls(attachmentUrls: string[]): Promise<_fluxerjs_types.APIRefreshAttachmentUrlsResponse>;
3588
+ /** List instance custom guild badges (`GET /instance/badges`). */
3589
+ fetchInstanceBadges(options?: {
3590
+ ids?: string;
3591
+ after?: string;
3592
+ limit?: number;
3593
+ version?: string;
3594
+ }): Promise<_fluxerjs_types.APIInstanceBadges>;
3595
+ /** Fetch forum/media thread post data for a channel. */
3596
+ fetchChannelPostData(channelId: string, threadIds: string[]): Promise<_fluxerjs_types.APIThreadPostDataResponse>;
3359
3597
  /**
3360
3598
  * Fetch the current application (`/applications/@me`).
3361
3599
  * @returns Application metadata (owner, flags, RPC origins, etc.)
@@ -3557,4 +3795,4 @@ declare class Client extends EventEmitter {
3557
3795
  static get Routes(): typeof Routes;
3558
3796
  }
3559
3797
 
3560
- export { GuildSticker as $, AnnouncementChannel as A, Base as B, CacheController as C, DEFAULT_CACHE_LIMITS as D, Events as E, type FetchMessagesOptions as F, type FetchedThreads as G, type FetchedUserWithProfile as H, ForumChannel as I, type ForumUnreadEntry as J, type ForumUnreadsPayload as K, Guild as L, GuildBan as M, GuildChannel as N, type GuildCountsUpdatePayload as O, GuildEmoji as P, type GuildEmojisUpdatePayload as Q, GuildManager as R, GuildMember as S, GuildMemberManager as T, GuildMemberRoleManager as U, type GuildMemberSearchHit as V, type GuildMemberSearchPayload as W, type GuildMembersChunkPayload as X, type GuildRoleDeletePayload as Y, GuildRoleManager as Z, type GuildRoleUpdatePayload as _, type AuditLogChange as a, type UploadFileForSend as a$, type GuildStickersUpdatePayload as a0, INSTANCE_DISCOVERY_PATH as a1, Invite as a2, type InviteChannelSnapshot as a3, type InviteDeletePayload as a4, type InviteGuildSnapshot as a5, LinkChannel as a6, MediaChannel as a7, Message as a8, type MessageAttachment as a9, type PermissionOverwriteEditOptions as aA, PermissionOverwriteManager as aB, type PinnedMessagesPage as aC, type PresenceActivity as aD, type PresenceUpdateBulkPayload as aE, type PresenceUpdatePayload as aF, ReactionCollector as aG, type ReactionCollectorEndReason as aH, type ReactionCollectorOptions as aI, type ReactionEmojiPayload as aJ, type ReplyOptions as aK, type ResolvedCacheLimits as aL, type ResolvedInstance as aM, Role as aN, type RoleResolvable as aO, type TextBasedChannel as aP, TextChannel as aQ, ThreadChannel as aR, type ThreadListSyncPayload as aS, ThreadManager as aT, ThreadMember as aU, type ThreadMemberListEntry as aV, type ThreadMemberListUpdatePayload as aW, ThreadMemberManager as aX, type ThreadMembersUpdatePayload as aY, type ThreadSearchPage as aZ, type TypingStartPayload as a_, type MessageCall as aa, MessageCollector as ab, type MessageCollectorEndReason as ac, type MessageCollectorOptions as ad, type MessageDeleteBulkPayload as ae, type MessageEditOptions as af, type MessageEmbed as ag, type MessageEmbedAuthor as ah, type MessageEmbedField as ai, type MessageEmbedFooter as aj, type MessageEmbedMedia as ak, MessageManager as al, MessageReaction as am, type MessageReactionAddManyEntry as an, type MessageReactionAddManyPayload as ao, MessageReactionManager as ap, type MessageReactionPayload as aq, type MessageReactionRemoveAllPayload as ar, type MessageReactionRemoveEmojiPayload as as, type MessageReference as at, type MessageSnapshot as au, MessageSticker as av, PartialGuildMember as aw, PartialMessage as ax, type PartialUserGuildPayload as ay, PermissionOverwrite as az, type AuditLogEntryPayload as b, User as b0, UserManager as b1, type VanityURLPayload as b2, VoiceChannel as b3, Webhook as b4, type WebhookEditOptions as b5, type WebhookMessageEditOptions as b6, type WebhookSendOptions as b7, type WebhooksUpdatePayload as b8, fetchActiveThreads as b9, instanceDiscoveryUrl as ba, inviteUrl as bb, normalizeApiOrigin as bc, normalizeCacheLimit as bd, parseInstanceDiscovery as be, resolveCacheLimits as bf, resolveInstanceEndpoints as bg, type AuditLogFetchPayload as c, type BulkFetchMessagesChannelResult as d, type BulkFetchMessagesOptions as e, type BulkFetchMessagesResult as f, type CacheSizeLimits as g, type CacheStats as h, CategoryChannel as i, Channel as j, ChannelManager as k, type ChannelMemberCountsUpdatePayload as l, type ChannelPinsUpdatePayload as m, type ChannelRecipientPayload as n, Client as o, type ClientEventListener as p, type ClientEventMethods as q, type ClientEventName as r, type ClientEvents as s, type ClientOptions as t, ClientUser as u, type CollectedReaction as v, DEFAULT_INSTANCE_ENDPOINTS as w, DMChannel as x, type DiscoveryOrigin as y, type FetchPinnedMessagesOptions as z };
3798
+ export { GuildSticker as $, AnnouncementChannel as A, Base as B, CacheController as C, DEFAULT_CACHE_LIMITS as D, Events as E, type FetchMessagesOptions as F, type FetchedThreads as G, type FetchedUserWithProfile as H, ForumChannel as I, type ForumUnreadEntry as J, type ForumUnreadsPayload as K, Guild as L, GuildBan as M, GuildChannel as N, type GuildCountsUpdatePayload as O, GuildEmoji as P, type GuildEmojisUpdatePayload as Q, GuildManager as R, GuildMember as S, GuildMemberManager as T, GuildMemberRoleManager as U, type GuildMemberSearchHit as V, type GuildMemberSearchPayload as W, type GuildMembersChunkPayload as X, type GuildRoleDeletePayload as Y, GuildRoleManager as Z, type GuildRoleUpdatePayload as _, type AuditLogChange as a, ThreadMember as a$, type GuildStickersUpdatePayload as a0, INSTANCE_DISCOVERY_PATH as a1, Invite as a2, type InviteChannelSnapshot as a3, type InviteDeletePayload as a4, type InviteGuildSnapshot as a5, LinkChannel as a6, MediaChannel as a7, Message as a8, type MessageAttachment as a9, type PermissionOverwriteEditOptions as aA, PermissionOverwriteManager as aB, type PinnedMessagesPage as aC, type PresenceActivity as aD, type PresenceUpdateBulkPayload as aE, type PresenceUpdatePayload as aF, ReactionCollector as aG, type ReactionCollectorEndReason as aH, type ReactionCollectorOptions as aI, type ReactionEmojiPayload as aJ, type ReplyOptions as aK, type ResolvedCacheLimits as aL, type ResolvedInstance as aM, Role as aN, type RoleResolvable as aO, StageChannel as aP, type StageCounts as aQ, type StageCountsUpdatePayload as aR, StageInstance as aS, type StageInstanceCreateOptions as aT, type StageInstanceDeleteOptions as aU, type StageInstanceEditOptions as aV, type TextBasedChannel as aW, TextChannel as aX, ThreadChannel as aY, type ThreadListSyncPayload as aZ, ThreadManager as a_, type MessageCall as aa, MessageCollector as ab, type MessageCollectorEndReason as ac, type MessageCollectorOptions as ad, type MessageDeleteBulkPayload as ae, type MessageEditOptions as af, type MessageEmbed as ag, type MessageEmbedAuthor as ah, type MessageEmbedField as ai, type MessageEmbedFooter as aj, type MessageEmbedMedia as ak, MessageManager as al, MessageReaction as am, type MessageReactionAddManyEntry as an, type MessageReactionAddManyPayload as ao, MessageReactionManager as ap, type MessageReactionPayload as aq, type MessageReactionRemoveAllPayload as ar, type MessageReactionRemoveEmojiPayload as as, type MessageReference as at, type MessageSnapshot as au, MessageSticker as av, PartialGuildMember as aw, PartialMessage as ax, type PartialUserGuildPayload as ay, PermissionOverwrite as az, type AuditLogEntryPayload as b, type ThreadMemberListEntry as b0, type ThreadMemberListUpdatePayload as b1, ThreadMemberManager as b2, type ThreadMembersUpdatePayload as b3, type ThreadSearchPage as b4, type TypingStartPayload as b5, type UploadFileForSend as b6, User as b7, UserManager as b8, type VanityURLPayload as b9, VoiceChannel as ba, Webhook as bb, type WebhookEditOptions as bc, type WebhookMessageEditOptions as bd, type WebhookSendOptions as be, type WebhooksUpdatePayload as bf, fetchActiveThreads as bg, instanceDiscoveryUrl as bh, inviteUrl as bi, normalizeApiOrigin as bj, normalizeCacheLimit as bk, parseInstanceDiscovery as bl, resolveCacheLimits as bm, resolveInstanceEndpoints as bn, type AuditLogFetchPayload as c, type BulkFetchMessagesChannelResult as d, type BulkFetchMessagesOptions as e, type BulkFetchMessagesResult as f, type CacheSizeLimits as g, type CacheStats as h, CategoryChannel as i, Channel as j, ChannelManager as k, type ChannelMemberCountsUpdatePayload as l, type ChannelPinsUpdatePayload as m, type ChannelRecipientPayload as n, Client as o, type ClientEventListener as p, type ClientEventMethods as q, type ClientEventName as r, type ClientEvents as s, type ClientOptions as t, ClientUser as u, type CollectedReaction as v, DEFAULT_INSTANCE_ENDPOINTS as w, DMChannel as x, type DiscoveryOrigin as y, type FetchPinnedMessagesOptions as z };
package/dist/client.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- export { a as AuditLogChange, b as AuditLogEntryPayload, g as CacheSizeLimits, l as ChannelMemberCountsUpdatePayload, m as ChannelPinsUpdatePayload, n as ChannelRecipientPayload, o as Client, p as ClientEventListener, q as ClientEventMethods, r as ClientEventName, s as ClientEvents, t as ClientOptions, E as Events, O as GuildCountsUpdatePayload, Q as GuildEmojisUpdatePayload, X as GuildMembersChunkPayload, Y as GuildRoleDeletePayload, _ as GuildRoleUpdatePayload, a0 as GuildStickersUpdatePayload, a4 as InviteDeletePayload, ae as MessageDeleteBulkPayload, an as MessageReactionAddManyEntry, ao as MessageReactionAddManyPayload, aq as MessageReactionPayload, ar as MessageReactionRemoveAllPayload, as as MessageReactionRemoveEmojiPayload, aD as PresenceActivity, aE as PresenceUpdateBulkPayload, aF as PresenceUpdatePayload, aJ as ReactionEmojiPayload, a_ as TypingStartPayload, b8 as WebhooksUpdatePayload } from './SubpathMessage-CNJlnR6y.mjs';
1
+ export { a as AuditLogChange, b as AuditLogEntryPayload, g as CacheSizeLimits, l as ChannelMemberCountsUpdatePayload, m as ChannelPinsUpdatePayload, n as ChannelRecipientPayload, o as Client, p as ClientEventListener, q as ClientEventMethods, r as ClientEventName, s as ClientEvents, t as ClientOptions, E as Events, O as GuildCountsUpdatePayload, Q as GuildEmojisUpdatePayload, X as GuildMembersChunkPayload, Y as GuildRoleDeletePayload, _ as GuildRoleUpdatePayload, a0 as GuildStickersUpdatePayload, a4 as InviteDeletePayload, ae as MessageDeleteBulkPayload, an as MessageReactionAddManyEntry, ao as MessageReactionAddManyPayload, aq as MessageReactionPayload, ar as MessageReactionRemoveAllPayload, as as MessageReactionRemoveEmojiPayload, aD as PresenceActivity, aE as PresenceUpdateBulkPayload, aF as PresenceUpdatePayload, aJ as ReactionEmojiPayload, b5 as TypingStartPayload, bf as WebhooksUpdatePayload } from './SubpathMessage-3ykAJr_F.mjs';
2
2
  import '@fluxerjs/types';
3
3
  import '@fluxerjs/collection';
4
4
  import '@fluxerjs/util';
package/dist/client.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { a as AuditLogChange, b as AuditLogEntryPayload, g as CacheSizeLimits, l as ChannelMemberCountsUpdatePayload, m as ChannelPinsUpdatePayload, n as ChannelRecipientPayload, o as Client, p as ClientEventListener, q as ClientEventMethods, r as ClientEventName, s as ClientEvents, t as ClientOptions, E as Events, O as GuildCountsUpdatePayload, Q as GuildEmojisUpdatePayload, X as GuildMembersChunkPayload, Y as GuildRoleDeletePayload, _ as GuildRoleUpdatePayload, a0 as GuildStickersUpdatePayload, a4 as InviteDeletePayload, ae as MessageDeleteBulkPayload, an as MessageReactionAddManyEntry, ao as MessageReactionAddManyPayload, aq as MessageReactionPayload, ar as MessageReactionRemoveAllPayload, as as MessageReactionRemoveEmojiPayload, aD as PresenceActivity, aE as PresenceUpdateBulkPayload, aF as PresenceUpdatePayload, aJ as ReactionEmojiPayload, a_ as TypingStartPayload, b8 as WebhooksUpdatePayload } from './SubpathMessage-DjLo6il5.js';
1
+ export { a as AuditLogChange, b as AuditLogEntryPayload, g as CacheSizeLimits, l as ChannelMemberCountsUpdatePayload, m as ChannelPinsUpdatePayload, n as ChannelRecipientPayload, o as Client, p as ClientEventListener, q as ClientEventMethods, r as ClientEventName, s as ClientEvents, t as ClientOptions, E as Events, O as GuildCountsUpdatePayload, Q as GuildEmojisUpdatePayload, X as GuildMembersChunkPayload, Y as GuildRoleDeletePayload, _ as GuildRoleUpdatePayload, a0 as GuildStickersUpdatePayload, a4 as InviteDeletePayload, ae as MessageDeleteBulkPayload, an as MessageReactionAddManyEntry, ao as MessageReactionAddManyPayload, aq as MessageReactionPayload, ar as MessageReactionRemoveAllPayload, as as MessageReactionRemoveEmojiPayload, aD as PresenceActivity, aE as PresenceUpdateBulkPayload, aF as PresenceUpdatePayload, aJ as ReactionEmojiPayload, b5 as TypingStartPayload, bf as WebhooksUpdatePayload } from './SubpathMessage-nY2WQ8V1.js';
2
2
  import '@fluxerjs/types';
3
3
  import '@fluxerjs/collection';
4
4
  import '@fluxerjs/util';