Skip to content

Commit

Permalink
Merge pull request #19 from abalabahaha/dev
Browse files Browse the repository at this point in the history
fix(typings): DMChannel.createMessage optional file (abalabahaha#1488)
  • Loading branch information
flav-code authored Apr 7, 2024
2 parents 918b7ef + d026803 commit 62a2642
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 @@ -3176,7 +3176,7 @@ declare namespace Eris {
type: Constants["ChannelTypes"]["DM"];
constructor(data: BaseData, client: Client);
addMessageReaction(messageID: string, reaction: string, userID?: string): Promise<void>;
createMessage(content: MessageContent, file: FileContent | FileContent[]): Promise<Message<this>>;
createMessage(content: MessageContent, file?: FileContent | FileContent[]): Promise<Message<this>>;
delete(): Promise<DMChannel>;
deleteMessage(messageID: string): Promise<void>;
editMessage(messageID: string, content: MessageContentEdit): Promise<Message<this>>;
Expand Down

0 comments on commit 62a2642

Please sign in to comment.