diff --git a/src/webpage/message.ts b/src/webpage/message.ts index 4448f22..7939444 100644 --- a/src/webpage/message.ts +++ b/src/webpage/message.ts @@ -36,6 +36,7 @@ class Message extends SnowFlake { author!: User; mentions = new Set(); mention_roles = new Set(); + mention_everyone!: boolean; attachments: File[] = []; //probably should be its own class tbh, should be Attachments[] message_reference?: { guild_id: string; @@ -568,7 +569,7 @@ class Message extends SnowFlake { console.error(e); } } - mention_everyone!: boolean; + mentionsuser(userd: User | Member) { if (this.mention_everyone) return true; if (userd instanceof User) {