mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-18 01:07:22 +00:00
Merge branch 'more-thread-stuff' of https://github.com/discordeno/discordeno into more-thread-stuff
This commit is contained in:
@@ -9,12 +9,11 @@ export async function handleThreadMemberUpdate(data: DiscordGatewayPayload) {
|
||||
const thread = await cacheHandlers.get("threads", snowflakeToBigint(payload.id));
|
||||
if (!thread) return;
|
||||
|
||||
const member = {
|
||||
const member = {
|
||||
...payload,
|
||||
id: snowflakeToBigint(payload.id),
|
||||
userId: snowflakeToBigint(payload.userId),
|
||||
joinTimestamp: Date.parse(payload.joinTimestamp),
|
||||
|
||||
};
|
||||
|
||||
eventHandlers.threadMemberUpdate?.(member, thread);
|
||||
|
||||
Reference in New Issue
Block a user