mention everyone next to everything else

This commit is contained in:
MathMan05 committed 2026-07-12 17:26:33 -05:00
1 parent c81d3a7ce9
commit 70072a738c
1 file changed
+2 -1
+2 -1
View File
@@ -36,6 +36,7 @@ class Message extends SnowFlake {
author!: User;
mentions = new Set<string>();
mention_roles = new Set<string>();
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) {