seyfert 3.1.3-dev-15207933648.0 → 3.1.3-dev-15217195551.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.
|
@@ -43,7 +43,7 @@ export declare class WorkerClient<Ready extends boolean = boolean> extends BaseC
|
|
|
43
43
|
private generateSendPromise;
|
|
44
44
|
tellWorker<R, V extends Record<string, unknown>>(workerId: number, func: (_: this, vars: V) => R, vars: V): Promise<R>;
|
|
45
45
|
tellWorkers<R, V extends Record<string, unknown>>(func: (_: this, vars: V) => R, vars: V): Promise<Awaited<R>[]>;
|
|
46
|
-
createShard(id: number, data: Pick<ManagerSpawnShards, 'info' | 'compress'>): Shard;
|
|
46
|
+
createShard(id: number, data: Pick<ManagerSpawnShards, 'info' | 'compress' | 'properties'>): Shard;
|
|
47
47
|
resumeShard(shardId: number, shardData: MakeRequired<ShardData>): Promise<unknown>;
|
|
48
48
|
protected onPacket(packet: GatewayDispatchPayload, shardId: number): Promise<void>;
|
|
49
49
|
}
|
|
@@ -709,9 +709,9 @@ export declare class ForumChannel extends BaseGuildChannel {
|
|
|
709
709
|
type: ChannelType.GuildForum;
|
|
710
710
|
}
|
|
711
711
|
export interface ThreadChannel extends ObjectToLower<Omit<APIThreadChannel, 'permission_overwrites' | 'guild_id'>>, Omit<TextBaseGuildChannel, 'edit' | 'parentId'> {
|
|
712
|
+
parentId: string;
|
|
712
713
|
}
|
|
713
714
|
export declare class ThreadChannel extends BaseChannel<ChannelType.PublicThread | ChannelType.AnnouncementThread | ChannelType.PrivateThread> {
|
|
714
|
-
parentId: string;
|
|
715
715
|
type: ChannelType.PublicThread | ChannelType.AnnouncementThread | ChannelType.PrivateThread;
|
|
716
716
|
webhooks: {
|
|
717
717
|
list: () => Promise<WebhookStructure[]>;
|
|
@@ -395,7 +395,6 @@ exports.ForumChannel = ForumChannel = __decorate([
|
|
|
395
395
|
(0, mixer_1.mix)(ThreadOnlyMethods, WebhookChannelMethods)
|
|
396
396
|
], ForumChannel);
|
|
397
397
|
let ThreadChannel = class ThreadChannel extends BaseChannel {
|
|
398
|
-
parentId;
|
|
399
398
|
webhooks = WebhookChannelMethods.channel({
|
|
400
399
|
client: this.client,
|
|
401
400
|
channelId: this.parentId,
|
|
@@ -276,8 +276,8 @@ class WorkerManager extends Map {
|
|
|
276
276
|
shards: this._info.shards,
|
|
277
277
|
},
|
|
278
278
|
properties: {
|
|
279
|
-
...this.options.properties,
|
|
280
279
|
...constants_1.properties,
|
|
280
|
+
...this.options.properties,
|
|
281
281
|
},
|
|
282
282
|
});
|
|
283
283
|
}
|
|
@@ -292,8 +292,8 @@ class WorkerManager extends Map {
|
|
|
292
292
|
shards: this.totalShards,
|
|
293
293
|
},
|
|
294
294
|
properties: {
|
|
295
|
-
...this.options.properties,
|
|
296
295
|
...constants_1.properties,
|
|
296
|
+
...this.options.properties,
|
|
297
297
|
},
|
|
298
298
|
});
|
|
299
299
|
}
|