Skip to content

Commit

Permalink
fix(typings): extra messageID param in Message#createThreadWithMessage (
Browse files Browse the repository at this point in the history
#1311)

Function should not have `messageID` parameter.
  • Loading branch information
frobinsonj authored Feb 10, 2022
1 parent 6ba5b05 commit 4c631f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3104,7 +3104,7 @@ declare namespace Eris {
addReaction(reaction: string): Promise<void>;
/** @deprecated */
addReaction(reaction: string, userID: string): Promise<void>;
createThreadWithMessage(messageID: string, options: CreateThreadOptions): Promise<NewsThreadChannel | PublicThreadChannel>;
createThreadWithMessage(options: CreateThreadOptions): Promise<NewsThreadChannel | PublicThreadChannel>;
crosspost(): Promise<T extends NewsChannel ? Message<NewsChannel> : never>;
delete(reason?: string): Promise<void>;
deleteWebhook(token: string): Promise<void>;
Expand Down

0 comments on commit 4c631f5

Please sign in to comment.