fix(ThreadChannel): Make ownerId always present

#10618 djs
This commit is contained in:
Elysia
2025-01-21 00:58:18 +07:00
parent 6170b3755b
commit 963d244d07
2 changed files with 7 additions and 11 deletions

2
typings/index.d.ts vendored
View File

@@ -3371,7 +3371,7 @@ export class ThreadChannel extends TextBasedChannelMixin(Channel, ['fetchWebhook
public messageCount: number | null;
public members: ThreadMemberManager;
public name: string;
public ownerId: Snowflake | null;
public ownerId: Snowflake;
public readonly parent: TextChannel | NewsChannel | ForumChannel | MediaChannel | null;
public parentId: Snowflake | null;
public rateLimitPerUser: number | null;