mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-10-23 19:22:27 +00:00
fix pin bug
This commit is contained in:
1 parent
6becdf88a2
commit
d8882bc8cd
1 file changed
+1
-1
@@ -366,7 +366,7 @@ class Message extends SnowFlake {
|
||||
if (messagejson.author.id) {
|
||||
this.author = new User(messagejson.author, this.localuser, false);
|
||||
}
|
||||
this.mentions = messagejson.mentions;
|
||||
if (messagejson.mentions) this.mentions = messagejson.mentions;
|
||||
|
||||
this.mention_roles = (messagejson.mention_roles || [])
|
||||
.map((role: string | {id: string}) => {
|
||||
|
||||
Reference in new issue
Block a user