mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-04-27 08:35:41 +00:00
fix pin bug
This commit is contained in:
@@ -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