docs(handlers): fix typo (#1046)

Thanks @itohatweb
This commit is contained in:
ayntee
2021-06-16 10:23:34 +04:00
committed by GitHub
parent e7414337f3
commit d5ea8904b9

View File

@@ -6,7 +6,7 @@ import { snowflakeToBigint } from "../../util/bigint.ts";
export async function handleThreadMemberUpdate(data: DiscordGatewayPayload) {
const payload = data.d as ThreadMember;
// The id field is omitted from the thread member dispoatched within the GUILD_CREATE gateway event.
// The id field is omitted from the thread member dispatched within the GUILD_CREATE gateway event.
const thread = await cacheHandlers.get("channels", snowflakeToBigint(payload.id!));
if (!thread) return;