Skip to content

Commit

Permalink
fix(typings): DMChannel.createMessage optional file (#1488)
Browse files Browse the repository at this point in the history
  • Loading branch information
flav-code authored Apr 7, 2024
1 parent 737e9f7 commit d026803
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 d026803

Please sign in to comment.