feat(thread): v13 add newlyCreated to threadCreate event (#7481)

This commit is contained in:
Jiralite
2022-02-20 12:42:23 +00:00
committed by GitHub
parent 0b54089c43
commit 2b3db734df
2 changed files with 3 additions and 2 deletions

2
typings/index.d.ts vendored
View File

@@ -3969,7 +3969,7 @@ export interface ClientEvents extends BaseClientEvents {
roleCreate: [role: Role];
roleDelete: [role: Role];
roleUpdate: [oldRole: Role, newRole: Role];
threadCreate: [thread: ThreadChannel];
threadCreate: [thread: ThreadChannel, newlyCreated: boolean];
threadDelete: [thread: ThreadChannel];
threadListSync: [threads: Collection<Snowflake, ThreadChannel>];
threadMemberUpdate: [oldMember: ThreadMember, newMember: ThreadMember];