mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-10-23 02:11:21 +00:00
mention everyone next to everything else
This commit is contained in:
1 parent
c81d3a7ce9
commit
70072a738c
1 file changed
+2
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user