Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
IanMitchell committed Aug 3, 2023
1 parent 3121a8d commit 1b3e8e1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/discord-bitflag/src/wrappers/messages.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { BitField } from "bitflag-js";
import { MessageFlags } from "../flags/message.js";

export class MessageFlagsBitField extends BitField {
static ALL = Object.values(MessageFlags).reduce(
(total, flag) => total | BigInt(flag),
0n
);
}

0 comments on commit 1b3e8e1

Please sign in to comment.