Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/typings' into typings
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsshieh committed Aug 20, 2020
2 parents c7d979f + 711000e commit c412e35
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,8 @@ declare namespace Eris {
icon?: string;
name: string;
}
interface EmojiOptions extends EmojiBase {
interface EmojiOptions extends Exclude<EmojiBase, "icon"> {
image: string;
roles?: string[];
}
interface PartialEmoji {
Expand Down Expand Up @@ -558,6 +559,7 @@ declare namespace Eris {
expireGracePeriod: string;
}
interface PruneMemberOptions extends GetPruneOptions {
computePruneCount?: boolean;
reason?: string;
}
interface VoiceRegion {
Expand Down Expand Up @@ -1797,7 +1799,7 @@ declare namespace Eris {

export class Message<T extends Textable = TextableChannel> extends Base {
activity?: MessageActivity;
application: MessageApplication;
application?: MessageApplication;
attachments: Attachment[];
author: User;
channel: T;
Expand All @@ -1815,7 +1817,7 @@ declare namespace Eris {
member: Member | null;
mentionEveryone: boolean;
mentions: User[];
messageReference: MessageReference;
messageReference: MessageReference | null;
pinned: boolean;
prefix?: string;
reactions: { [s: string]: any; count: number; me: boolean };
Expand Down

0 comments on commit c412e35

Please sign in to comment.