Update 0BDFDB.plugin.js
This commit is contained in:
parent
ba51275189
commit
38ed0ac617
|
@ -7890,7 +7890,10 @@ module.exports = (_ => {
|
|||
if (!message) message = BDFDB.ObjectUtils.get(e.instance.props[key], "props.message");
|
||||
else break;
|
||||
}
|
||||
if (message) e.returnvalue.props.children.props[InternalData.userIdAttribute] = message.author.id;
|
||||
if (message) {
|
||||
e.returnvalue.props.children.props[InternalData.authorIdAttribute] = message.author.id;
|
||||
if (message.author.id == BDFDB.UserUtils.me.id) e.returnvalue.props.children.props[InternalData.authorSelfAttribute] = true;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue