Skip to content

Commit

Permalink
types: add MessageFlagsResolvable
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite committed Oct 24, 2024
1 parent a5136b9 commit 57b97f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/discord.js/typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2389,9 +2389,11 @@ export type MessageFlagsString = keyof typeof MessageFlags;

export class MessageFlagsBitField extends BitField<MessageFlagsString> {
public static Flags: typeof MessageFlags;
public static resolve(bit?: BitFieldResolvable<MessageFlagsString, number>): number;
public static resolve(bit?: MessageFlagsResolvable): number;
}

export type MessageFlagsResolvable = BitFieldResolvable<MessageFlagsString, number>;

export class MessageMentions<InGuild extends boolean = boolean> {
private constructor(
message: Message,
Expand Down

0 comments on commit 57b97f7

Please sign in to comment.