Skip to content

Commit

Permalink
remove PossiblyEphemeralMessage from ts docs
Browse files Browse the repository at this point in the history
  • Loading branch information
JustCat80 committed Aug 13, 2021
1 parent 98812e8 commit b664099
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ declare namespace Eris {
type MessageContent = string | AdvancedMessageContent;
type MFALevel = 0 | 1;
type PossiblyUncachedMessage = Message | { channel: TextableChannel | { id: string; guild?: Uncached }; guildID?: string; id: string };
type PossiblyEphemeralMessage = Message | { id: string; flags: 64 };

// Interaction
type InteractionDataOptions = {
Expand Down Expand Up @@ -2377,7 +2376,7 @@ declare namespace Eris {
};
guildID?: string;
member?: Member;
message: PossiblyEphemeralMessage;
message: Message;
user?: User;
acknowledge(): Promise<void>;
createFollowup(content: string | InteractionWebhookContent): Promise<Message>;
Expand All @@ -2397,7 +2396,7 @@ declare namespace Eris {
data?: unknown;
guildID?: string;
member?: Member;
message?: PossiblyEphemeralMessage;
message?: Message;
type: number;
user?: User;
createFollowup(content: string | InteractionWebhookContent): Promise<Message>;
Expand Down

0 comments on commit b664099

Please sign in to comment.